|
|
|
@ -269,7 +269,7 @@ public class GisLayerPane extends JPanel implements UIObserver {
|
|
|
|
|
layer.setLayerName(GISLayerType.getLocString(GISLayerType.AUTO)); |
|
|
|
|
//dealWithTemplateTheme(layer);
|
|
|
|
|
break; |
|
|
|
|
case STANDARD: |
|
|
|
|
case GAO_DE_API: |
|
|
|
|
populateStandardGis(layer); |
|
|
|
|
case LAYER_NULL: |
|
|
|
|
populateStandardGis(layer); |
|
|
|
@ -330,7 +330,7 @@ public class GisLayerPane extends JPanel implements UIObserver {
|
|
|
|
|
if (standardLayers.getSelectedIndex() == standardLayers.getItemCount() - 1) { |
|
|
|
|
layer.setGisLayerType(MapLayerConfigManager.getGisLayerType(layerName)); |
|
|
|
|
} else { |
|
|
|
|
layer.setGisLayerType(GISLayerType.STANDARD); |
|
|
|
|
layer.setGisLayerType(GISLayerType.GAO_DE_API); |
|
|
|
|
layer.setGaoDeGisType(GaoDeGisType.parseByLocaleName(layerName)); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|