hi; thank you man ,acctually when I write that code I was just guessing if it will work like that but I am gettng a bit confused what is the different between the GMarker.prototype.id=id; and mymarker.id ?
Rossko <[email protected]> wrote: > > > Hello I want to add more atributes to my markers such as: > > MARKER.x = x; > > MARKER.y = y; > > MARKER.speed = speed; > > MARKER.deviceid=deviceid; > > MARKER.setCarNo = carnumber; > > how can I do that? > > You just did, it's as simple as that. > CAUTION take care that any custom attributes that you set don't clash > with anything the API uses internally. For example I wouldn't use x & > y , but perhaps something like > MARKER.carx = x; > > > > Tamer Hatoum; Web Developer and Programmer; Qatar Navigator Est; Tel: +974 6026267; [email protected] --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
