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