You could just use the same marker. Just call setPosition() on the
marker to move it. You can also use the same infoWindow and just use
setContent to change the address information.

Either way, you'll need to keep track of both the marker and
infoWindow. Global variables are the easiest method.

Chad Killingsworth.

On Jan 23, 8:58 am, geoffcox <[email protected]> wrote:
> A little progress!
>
> http://www.micro-active.com/maps/map7-v3-api-3.htm
>
> I now get the address data with each marker but how do remove each
> marker before the next one is displayed?
>
> I guess I use setMap(null) but not clear where to use this?
>
> Cheers
>
> Geoff

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" 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-js-api-v3?hl=en.

Reply via email to