[gvSIG-devel] Fw:How could hidden the route in gvsig mini project
aromeu at prodevelop.es
Wed Mar 7 09:29:46 CET 2012
try calling mapView.getOverlay(layerName), then you can do whatever you
want with the layer. If you need to access the MapView from an Activity
different from the Map Activity, you have a singleton
ActivityBundlesManager that contains the current instance of MapView.
To avoid the "black screen" issue, use a thread to load the KML, in fact
this is something we should do by default, I'll open a ticket about that.
Prodevelop SL, Valencia (España)
Tlf.: 96.351.06.12 -- Fax: 96.351.09.68
El 07/03/12 05:47, ??? escribió:
> Hi Alberto:
> I try to make the loding kml files run in backgroud instead of
> opertion in manually,So I use the VectorGPEDriver loading several kml
> files.and it's work.
> The qusetion is how could I hide one of them in backgroud instead
> of opertion manually.I tried the function
> "driver.getOverlay().setVisible(false);" , But it's not work
> And loading the kml file cost so much time that the screen show
> black more then ten second. So ,how can we improve it.
> gvSIG-desktop-devel mailing list
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the gvSIG-desktop-devel