Hi --- I posted this a few days ago, but I cannot find it when I
search for it, or look for it under my "Profile" - so I don't think it
got posted.  Sorry if this is a repeat post, though.

-------------------------------------------

The documentation on this page: 
http://code.google.com/apis/maps/documentation/services.html
.....shows the following code for Street View:

+++++++++++++++++++++++++++++++++++++++++
  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("
");

+++++++++++++++++++++++++++++++++++++++++

That code doesn't appear to work, due to the double-brackets on Line1
& Line2 of above.   I looked at the example link (http://
code.google.com/apis/maps/documentation/examples/streetview-data.html)
and the example uses different code, which does work.

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


Reply via email to