On Jan 8, 5:13 pm, "[email protected]" <[email protected]> wrote: > Hi gmappers > > Thanks in advance to anyone who tries to help me. I truly appreciate > having such an amazing resource such as this group! > > http://www.climateatlas.org/highlands.html > > I've basically ripped a bunch of code from examples, but I'm simply > trying to get the streetview panorama to work. What am I doing wrong?
http://code.google.com/apis/maps/documentation/reference.html#GMap2.click click(overlay:GOverlay, latlng:GLatLng, overlaylatlng:GLatLng) you are pretending the first argument is a GLatLng, it is an overlay (if you clicked on one) or null (if you didn't). The second argument is a GLatLng (if you didn't click on an overlay) or null (if you did). The third argument should always be a GLatLng (but that doesn't seem to always be true). -- Larry > > What I'd really like to do is have a simple infowindow open any time a > user clicks on the blue part of the map, and have the streetview > inside the infowindow. Is that possible? > > Thanks, > > Peter
-- 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.
