On Apr 9, 10:38 pm, behrouz hoseini <[email protected]> wrote: > I used this javascript to add a marker on my map.But I have to add 8 more > marker with diffrent long /lat at the same time.could you please tell how I > can use array at this code?!
The easy way to do what you want is to write a createMarker function like Mike uses at http://econym.org.uk/gmap/basic1.htm and then just call that eight times. The rest of his tutorial site is well worth reading, as is the documentation... > vanmap.addMarker(tik); What does addMarker() do? It's not part of the API and should produce an error. Andrew --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
