Using this as an example: http://code.google.com/apis/maps/documentation/javascript/examples/icon-complex.html
I was trying to format my site to move from API v2 to v3 using this format: var beaches = [ ['Bondi Beach', -33.890542, 151.274856, 4], ['Coogee Beach', -33.923036, 151.259052, 5], ['Cronulla Beach', -34.028249, 151.157507, 3], ['Manly Beach', -33.80010128657071, 151.28747820854187, 2], ['Maroubra Beach', -33.950198, 151.259302, 1] ]; As you can see from this one: http://www.eatdrinkthis.com/map.php?cc=San+Francisco,+USA the print out on the bottom, the first string is the php variable, the second string is the javascript variable, which matches the proper format... but the map does not pick up the marks. But if I copy paste that string into a variable in Javascript (without passing a php variable to javascript) it works just fine: http://www.eatdrinkthis.com/map2.php?cc=San+Francisco,+USA So yeah, I'm guessing that passing the php variable into javascript makes the variable pick up some invisible quotes, which are tricky since I'm in php and have to be careful about those double and single quotes? Any help would be most appreciated. -- 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.
