Yes, you can create the StreetViewPanorama yourself and set addressControl
to false in its properties:
...
var panoramaOptions = {
position: fenway,
pov: {
heading: 34,
pitch: 10,
zoom: 1
},
addressControl: false
};
var panorama = new
google.maps.StreetViewPanorama(document.getElementById("pano"),panoramaOptions);
map.setStreetView(panorama);
...
This is a one-line change of
http://code.google.com/apis/maps/documentation/javascript/examples/streetview-simple.html
StreetViewPanoramaOptions object specification
http://code.google.com/apis/maps/documentation/javascript/reference.html#StreetViewPanoramaOptions
On Tue, Jun 8, 2010 at 17:13, volksman <[email protected]> wrote:
> I'm trying to remove the label that appears in a basic Street View in
> the top left next to the nav component. By default it is grey with
> black letters and says something along the lines of:
>
> <Address>
> Address is approximate.
>
> I wouldn't mind if it disappears on its on but to have it there
> persistently detracts from the map.
>
> Anyone know how to remove it in v3?
>
> Thanks!
>
> --
> 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.
>
>
--
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.