> well I wrote an array of names -  var cities = new
> Array(kiev,kharkov,lvov,odessa);

That's an array of javascript variables.  One called 'kiev' , one
called 'kharkov', etc.
At the time you do that, they haven't been defined at all.

Think about what you would expect this code to do :
   var x = "banana";
   var myArray = new Array(x);
   alert( myArray[0] );

If you want have an array of stringsyou might do
     var cities = new Array("kiev","kharkov",....

None of this has anything to do with the maps API.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" 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-js-api-v3?hl=en.

Reply via email to