On May 21, 6:36 pm, Michael Harris <[email protected]>
wrote:
> Thanks all, have managed to get much closed to the solution. It's now
> more of a JS issue, as for some reason the array I've put together
> with some more help is crapping out due to one of the fields having a
> space in it.
>
there needs to be quotes around string constants in JSON, like

title: 'Albany', infoWindowContent: 'Albany'},

and

title: 'Harvey Mill', infoWindowContent: 'Harvey Mill'},

(the error would occur on the space on Harvey Mill because javascript
would think the words were identifier names)

...

-- 
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