Hi,
I am adding a kml file using:
mapstraction.addOverlay(''http://www.mysite.de/my.kml'');
All Elements are shown as expected.
How do I remove all Elements of that KML again? As
mapstraction.removeOverlay(''http://www.mysite.de/my.kml'');
seems not to do the trick :-)
regards
Henrik
Hi!
The method removeOverlay is not implemented in the mapstraction official
release yet.
We are working about include this method and others in mapstraction. You can
test a previous version at
http://mvn.idelab.uva.es/idelabmapstraction/interactive_examples/demoKML.html
--
Saludos,
Pablo L?pez Escob?s
[image:
http://idelab.uva.es/sites/all/themes/stopdesign_idelab/img/world_logo.png]<http://www.idelab.uva.es/>
Pablo L?pez Escob?s
Desarrollador
Laboratorio de Infraestructuras de Datos Espaciales
Escuela T?cnica Superior de Ingenieros de Telecomunicaci?n
Universidad de Valladolid
**
[image: logo.jpg] <http://www.uva.es/>
2010/5/18 Henrik Genssen <henrik.genssen at miadi.net>
> Hi,
>
> I am adding a kml file using:
>
mapstraction.addOverlay(''http://www.mysite.de/my.kml''<http://www.mysite.de/my.kml%27>
> );
>
> All Elements are shown as expected.
> How do I remove all Elements of that KML again? As
>
mapstraction.removeOverlay(''http://www.mysite.de/my.kml''<http://www.mysite.de/my.kml%27>
> );
>
> seems not to do the trick :-)
>
> regards
>
> Henrik
> _______________________________________________
> Mapstraction mailing list
> Mapstraction at lists.mapstraction.com
> http://lists.mapstraction.com/listinfo.cgi/mapstraction-mapstraction.com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.mapstraction.com/pipermail/mapstraction-mapstraction.com/attachments/20100518/c4820648/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 1514 bytes
Desc: not available
URL:
<http://lists.mapstraction.com/pipermail/mapstraction-mapstraction.com/attachments/20100518/c4820648/attachment.jpeg>
Hi, I found a workaround: in mxn.google.core.js i returned in addOverlay the geoXML object (GGeoXml) On this I can do a show() or hide() for now... regards Henrik>reply to message: >date: 18.05.2010 10:29:16 >from: "Henrik Genssen" <henrik.genssen at miadi.net> >to: mapstraction at lists.mapstraction.com >subject: [Mapstraction] remove a kml added by addOverlay > >Hi, > >I am adding a kml file using: >mapstraction.addOverlay(''http://www.mysite.de/my.kml''); > >All Elements are shown as expected. >How do I remove all Elements of that KML again? As >mapstraction.removeOverlay(''http://www.mysite.de/my.kml''); > >seems not to do the trick :-) > >regards > >Henrik >_______________________________________________ >Mapstraction mailing list >Mapstraction at lists.mapstraction.com >http://lists.mapstraction.com/listinfo.cgi/mapstraction-mapstraction.com >
Great. Based on previous threads and recent experience, submitting a patch along with a ticket would be the way to get this committed. On May 19, 2010, at 9:02 AM, Henrik Genssen wrote:> I found a workaround: > > in mxn.google.core.js > i returned in addOverlay the geoXML object (GGeoXml) > On this I can do a show() or hide() for now...Lev Tsypin _____________________ Level Online Strategy, LLC 503.342.8044 levelos.com | twitter.com/levelos