On Nov 12, 8:33 am, "Waqas A." <[EMAIL PROTECTED]> wrote:
> Can you please tell me changes that I have to make to the code?

If you post a link to your map, someone may do that, I won't with code
posted to the web interface unless the problem is obvious...  If you
start from Mike Williams' working examples, you will stand a better
chance of success.

Also beware of extending Google classes with lower case properties,
Mike Williams has suggested using upper case to avoid conflicts with
new properties.

  -- Larry


> On Nov 12, 8:52 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
> wrote:
>
>
>
> > 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 windowshttp://econym.org.uk/gmap/basic1.htm
> > Pittfall #3
> > If you have function closure it can be available.
>
> >   -- Larry- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
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