Thank you Rossko, that is exactly what I needed... On 15 jun, 11:25, Rossko <[email protected]> wrote: > > Hi Rossko, I do not understand what you mean, let me give you an > > example: > > You can create a javascript object that acts like an associative > array, keyed by strings > http://www.pageresource.com/jscript/jarray2.htm > e.g > myArray [ 'mystring' ] = whatever ; > something = myArray [ 'myreference' ] ; > > So you could do something like > .... create markers ... > myArray [ myDatabaseID ] = marker ; > > If you want to access the marker later, given your reference ... > markerToBeEdited = myArray [ some reference ] ; > .. do things to markerToBeEdited ... > > You might need to code to deal with one of your 'updated' markers not > already being in the array. > This will only work if your ID strings are unique.
-- 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.
