On Dec 9, 12:24 am, Eric <haithiantay2...@gmail.com> wrote:
> I think topic may have been discussed before but I'm totally new to
> here and this API too. As I follow the guide on how to create a map to
> let user putting mark on the map. I notice the tutorial showing the
> listener event which allow us to put multiple marker. I would like to
> change it to only single behalf of the following codes. How can I do
> so?

Make a global marker variable.  On click, delete the existing marker,
then create a new one at the new location.

>

-- 
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 google-maps-js-api...@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.

Reply via email to