HI.
 I have many markers in my map and when page refresh every maker
change its position , so I have made a function using the
GEvent.addListener(marker, 'click',...
while click it i want to retrive the position of the maker , and every
time the marker position changes it wil  be updated. so I have an
GEvent.trigger(....
 but I have faced a problem .. the logic is like that :

GEvent.addListener(marker, 'click' , do{
  get position() .... then
GEvent.trigger(position()).. }
);

 by that logic i get the position while clicking and if i click on
other maker I get it position also.. but while page refreshing the new
position is not updated..

so I try to do that

GEvent.addListener(marker, 'click' , do{
  get position (); });
GEvent.trigger(position());

 and now I get the updated new position on page refresh but if i click
on new marker I still getting the first marker I click it..
can u help?





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