I'm working on some GIS based application and i need to know How many layers
are in one Map and what is the path for currently selected layer. my code
for this is:
String
path=ApplicationGIS.getActiveMap().getMapLayers().get(0).getID().getPath();
System.out.println("path of the given map is :: "+path);
but it is just for '0' indexed layer. i need to know path for selected
layer. i.e: currently displaying layer.
please help..
--
View this message in context:
http://gis.19327.n5.nabble.com/How-to-know-number-of-layers-in-a-map-tp5648910p5648910.html
Sent from the uDig Developer mailing list archive at Nabble.com.
_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel