Hi,

I am not adding a link as I do not have an uploaded working example,
so please excuse me pasting a few lines of code.

I have a lat and long value saved in a database that was geocoded from
an address (using the API). I am now adding this lat long value to a
map as a marker, and adding a tabbed window containing a street view.

The strange thing is that this geocoded value does not return the
exact address and is usually slightly off. For example, the address
that was geocoded as "12 xxx street" now shows on the Street View
Panorama as "14 xxx street" when I pass it the marker lat long values.

So what I would like to do is turn off the address overlay (and user
photos while I am at it) when I display the Street view panorama.

Can anyone please help me to modify the code below as to do this? By
address overlay I mean the address displayed in the top right corner.

I thought there is maybe a css display hack option if it's not
possible to do it via the API.

Thanks in advance.

-----Code Start-----

GEvent.addListener(marker, "click", function() {

 panoramaOptions = { addressControl: false,navigationControl: false };
  panorama = new GStreetviewPanorama(smallNode,panoramaOptions);
 GEvent.addListener(panorama, 'error', function(errorCode) {
         if (errorCode == 600) {
           smallNode.innerHTML = 'No Streetview data was found.';
         }
       });
  panorama.setLocationAndPOV(marker.getLatLng());
marker.openInfoWindowTabs(tabs);

 });

-----Code End-----

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps API V2" 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