Hi Alberto:
Thanks you very much;
I find the overlayname defined in the file VectorGPEDriver.java, in the
function initialize ():
if (ov.getName() == null || ov.getName().length() == 0) {
ov.setName(getFilePath() + i);
}
So the real name of overlay is define in the kml files,for example ,the
kml file as follow:
<?xml version='1.0' encoding='UTF-8'?>
<kml xmlns='http://earth.google.com/kml/2.2'>
<Document><name>20111027_0845xxx-xxx.kml</name>
So the name will be "20111027_0845xxx-xxx.kml".and the way we should call
the function is as follow:(both of them works):
ActivityBundlesManager.getInstance().getMapView().getOverlay("20111027_0845xxx-xxx.kml").setVisible(false);
//this.getMapView().getOverlay("20111027_0845xxx-xxx.kml").setVisible(false);
There is another question here,when click on the position the gvsig show the
dialog "show details".How can I jump to a acvitity which show the details of
the position when I click this dialog.
thank you
yours:lori
_______________________________________________
gvSIG-desktop-devel mailing list
http://joinup.ec.europa.eu/mailman/listinfo/gvsig-desktop-devel