I was trying to implement GStreetViewClient for the first time, and I
copied the code from
http://code.google.com/apis/maps/documentation/services.html
After a few attempts of not working, I went to the example on above
page and looked at the source code. The source code is different and
when I applied that code, it worked. You can see the double brackets
on multiple lines don't look correct.
Who do we contact for updates to the documentation?
DOCUMENTATION:
----------------------------------------------------------------------
function showPanoData(panoData) {
nextPanoId = panoData.links[[0[].panoId;
var displayString = [[
"Panorama ID: " + panoData.location.panoId,
"LatLng: " + panoData.location.latlng,
"Copyright: " + panoData.copyright,
"Description: " + panoData.location.description,
"Next Pano ID: " + panoData.links[[0[].panoId
[].join("
");
----------------------------------------------------------------------
SOURCE CODE at
http://code.google.com/apis/maps/documentation/examples/streetview-data.html
----------------------------------------------------------------------
function showPanoData(panoData) {
nextPanoId = panoData.links[0].panoId;
var displayString = [
"Panorama ID: " + panoData.location.panoId,
"LatLng: " + panoData.location.latlng,
"Copyright: " + panoData.copyright,
"Description: " + panoData.location.description,
"Next Pano ID: " + panoData.links[0].panoId
].join("<br/>");
----------------------------------------------------------------------
--
You received this message because you are subscribed to the Google Groups
"Google Maps API" 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-api?hl=en.