On 1 December 2010 18:43, Carl Wood <[email protected]> wrote:
> It is clear that the connection to last.fm API is fine, due to always
> getting gig details, and the JS is correctly outputting the co-ordinates but
> for some reason, certain cities will not display.
> Does anyone have any ideas? Here is a
> link: http://carlwood.net/dmp/search.php?city=bristol&distance=5
> Thanks in advance, really appreciate it!
Did your browser not flag an error for Exeter? Exeter contains this data:
var marker = new google.maps.Marker({
position: new google.maps.LatLng(50.724809,-3.531252),
map: map,
icon:image,
title: ''The Ghost Between Us' EP Release Show at Exeter Phoenix'
});
var contentString = ''The Ghost Between Us' EP Release Show at Exeter Phoenix'
and Javascript is objecting to how the apostrophes are arranged in the
property list, but the next line declaring a variable would also go
wrong if it got that far.
I suggest that when you get the event details, you escape any
apostrophes when outputting the text in the page.
--
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.