On Dec 6, 5:53 am, Blanaru Irina <[email protected]> wrote:
> Yes, but I have to deletet from mysql too so...I have to memorize
> somehow the marker which i deletet from the map in order to deletet
> from database.

That is a database question and really doesn't have anything to do
with the Google Maps Javascript API v3 (the topic of this group).

> So...i wan't to take the id of the  marker or  the latitude or
> longitude when i clik on a marker.

You will need to send some identifying information to your script on
your server that deletes the entry from the database.


> So, I tried with this code, but it doesn't works:

Bummer.  Maybe you could post a link to your map (or an example map)
that shows the problem.  But it doesn't sound like a map API problem.

One of these articles may help you:
http://code.google.com/apis/maps/documentation/javascript/articles.html

  -- Larry

>
>     thnks!!
>
>
>
>
>
>
>
> On Mon, Dec 6, 2010 at 4:16 AM, Luke Mahé <[email protected]> wrote:
> > Hey,
>
> > You need to call setMap(null) on the marker to remove it from a map,
> > ie: marker.setMap(null);
>
> > Hope this helps
>
> > - Luke
>
> > On Mon, Dec 6, 2010 at 12:34 PM, Blanaru Irina <[email protected]>wrote:
>
> >> Hey everybody,
>
> >> How can I remove a marker from the map?
> >> Thank you!!
>
> >>  --
> >> 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]<google-maps-js-api-v3%2B
> >>  [email protected]>
> >> .
> >> For more options, visit this group at
> >>http://groups.google.com/group/google-maps-js-api-v3?hl=en.
>
> >  --
> > 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]<google-maps-js-api-v3%2B 
> > [email protected]>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/google-maps-js-api-v3?hl=en.

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