On Nov 12, 7:17 am, "Waqas A." <[EMAIL PROTECTED]> wrote:
> I'm new to Google Maps API. What I am trying to do with following code
> is that I am fetching markers from server. And they have three
> properties: lat, lng and id.
> Now I want to display 'id' of marker I click in the bubble. How do I
> do that?
> I am storing marker.id in 'mid'. But that 'mid' cant be accessed in
> the bubble.
> Something to putt at ??? in GEvent.
>
> Thanks a lot.
See Mike Williams' tutorial:
Part 1 Markers with info windows
http://econym.org.uk/gmap/basic1.htm
Pittfall #3
If you have function closure it can be available.

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