On Sep 21, 5:47 am, Flipper01 <[EMAIL PROTECTED]> wrote:
> I have created a system where users can add their location to a map.
> After they save it, I store the location in a database. This works
> fine if the position isn't known yet. But what I want is that the
> marker is displayed when the map load.
> I use this code for the map where the user can edit his location:
>


>
> The problem is that there is no marker on the map until you click it.

That is because the only call on the page to addOverlay is in the map
click handler...

> How can I add a standard marker which users can drag around?

Where do you want it to be?  Find those coordinates and add one there
(just like you do in the "click" listener).

> Online example:
http://www.60graden.nl/klanten/waarslaapje/public_advertentie_mapsedit.php?advertentie_id=10

  -- Larry
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to