Hi
I am sorry i am quite new at this
I have a list of buttons on a web page which when clicked add a place
mark
var placemark = ge.createPlacemark('');
placemark.setName(title);
ge.getFeatures().appendChild(placemark);
I don't know how to delete this placemark, so that is the buttone
is clicked again, a second placemak is created.
ideally i would like to run a function which deletes all placemark
on the page as i have a reset buton.
I know it has something to do with
ge.getFeatures().removeChild(placemark);
but I have no idea how to find the object placemark to delete it
I have a url at
http://moacollection.tgsi.net:8080/explore/places?startletter=E
thanks
jc
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Maps API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/google-maps-api?hl=en
-~----------~----~----~----~------~----~------~--~---