Look at the error :)
missing ) after argument list
}
Did this correction in your code, remember to close your functions properly
:) Using the right indenting really helps.
google.maps.event.addListener(mgr, "loaded", function() {
downloadUrl("http://www.shift.jp.org/ja/map/tokyodata.xml", function(data)
{
var markersForManager = [];
var markers = data.documentElement.getElementsByTagName("marker");
for (var i = 0; i < markers.length; i++) {
var latlng = new
google.maps.LatLng(parseFloat(markers[i].getAttribute("lat")),
parseFloat(markers[i].getAttribute("lng")));
var marker = createMarker(markers[i].getAttribute("name"), latlng);
markersForManager.push(marker);
}
mgr.addMarkers(markersForManager, 1, 22);
});
});
2010/4/21 TK <[email protected]>
>
> Hi,
>
> You are very kind! I try it but dosen't work. I'm sure I make mistake.
> I know I should try and try but I don't know why.
> Would be great if could help a few.
>
> The reverse code is here.
> http://www.shift.jp.org/ja/map/
>
>
> --
> 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]<google-maps-js-api-v3%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-maps-js-api-v3?hl=en.
>
>
--
Bjorn Brala
----------------
www.GeoStart.nl/english/ - Google maps - Swis Webdesign
www.twitter.com/bbrala
--
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.