Hello All, I have a dynamic list of markers, this means, the markers are created based on a query to a database and then displayed on map using an array and a GMarkerManager variable.
What I am trying to do next is, find a specific marker in the array and then change its position, I need a better way than walking the array one by one to find the marker I need to move... Like having a function with the name or Id of the marker and its new position as parameters...I believe I can not use the index of array to identify the marker, because the array is not always the same lenght... The movement of markers I need to accomplish is random, this means I need to move markers based on random input, the input information only have marker id (from database), new lat & new lon. For example: Move Id RT0001 to x,y Move Id TC-015 to x,y Move Id JF-85B to x,y etc. RT0001, TC-015 and JF-85B are the Ids on the database and x,y are the new coordinates.. Would you please give me some advice? Note: I am still using v2 of the API Thank you in advance -- 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.
