You might find this page useful: https://developers.google.com/maps/documentation/javascript/v2/v2tov3
To remove all markers, you can put all your markers in an array when you are generating them, and then remove the entire array when you need it. Olha On Mon, Jan 13, 2014 at 7:12 PM, Barry Hunter <barrybhun...@gmail.com>wrote: > > > > On 13 January 2014 18:16, melanie bund <bund.mela...@gmail.com> wrote: > >> Hi i have 1 question and a problem - PLEASE HELP >> >> the load code below - should the 2 not be a 3? >> > > Yes, will need to change to 3. > > >> >> *my big problem* - unable to add and delete markers on map with the old >> code though i have replaced the G with google.maps. >> > > That is a start but not enough. > > Many other things are different. In fact the use of centerAndZoom() > suggests you actully using syntax from v1. > > The method names, and the exact methodolgy is very different in v3, > compared to v1. > > > v2 was able to run some v1 syntax. Just as v3 can run some v2 stuff. But > there is no nope now for being able to run v1 code, so need to upgrade to > v3 code. > > > You might even find it easier to forget about your current code, and start > again with v3 code. A clean slate, will make it easier to not get confused > over all the different syntaxes > > Implement what ever you doing fresh with v3. Approach it like the first > time you've ever used Google Maps API. > > > > https://developers.google.com/maps/documentation/javascript/examples/marker-simple > > https://developers.google.com/maps/documentation/javascript/events > > > > -- > You received this message because you are subscribed to the Google Groups > "Google Maps JavaScript API v2" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to google-maps-api+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/groups/opt_out. > -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v2" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-maps-api+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.