No metadata!
You may assign any id you'd like to your marker objects.
Markers are objects and id's may be properties of them, so it's
possible to assign any property you may have in mind, for example

var marker = new google.maps.Marker();
marker.id = "myid";


On Dec 8, 5:41 am, Mike <[email protected]> wrote:
> Hi, I have more of an approach question, than a code question.
>
> Let's say I have 2 webpages (page a & page b) on the same domain.
>
> User is on page a. They click a link. I'd like to take the user to page b,
> and open an info window.
>
> My thought was to add some sort of id, or data attribute to a marker, and
> then, when the user gets to page B, an event fires opening the correct
> point/infowindow.
>
> I read something about marker metadata:   marker.metadata = {type: "point",
> id: 1};
>
> But I am confused at to what this actually does. In the resulting html/map,
> is the marker an element with this id?
>
> Thanks in advance for any shedding of the light!
>
> -Mike

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