> I want to set the value of the marker to be:
>  id = {locations['reg_id']
>
> where: 'locations' is the mysql table from which the original marker
> was derived. This isn't a google api related query now but in case you
> have any ideas please reply...

Don't understand.
In most GM API pages, people use a javascript object called 'marker'
to hold a GMarker object.
Javascript cannot access MySQL tables, let alone set a variable equal
to one.
If it could it wouldn't be a GMarker object anymore.
Can't tell what you're trying to do, out of its context.

Perhaps you mean, can I set a custom property on my GMarker object?
Yup you sure can,
   mymarker.reg_id = something;
Thats used often as it allows to get something you can use as a marker
index on a marker click.

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