Just do
map.getStreetView().setOptions({
addressControlOptions: {
position: google.maps.ControlPosition.BOTTOM
}
});
or it could be setValues() instead of setOptions.
On Nov 5, 11:11 pm, projectjerel <[email protected]> wrote:
> i'm using getStreetView() i'm trying to change some options (like
> removing the address text box completely) etc...
>
> From what i gathered teh setStreetView would do this? (the toggle
> function makes it visible) this all works less the line in question.
> I'm not sure if i'm just doing this wrong or if it's a syntax issue?
>
> google.maps.event.addListener(marker1, 'click', function() {
> panorama = map.getStreetView();
>
> // trying to customize the controls
> panorama.setStreetView(addressControlOptions: { position:
> google.maps.ControlPosition.BOTTOM });
> // end attempt
>
> panorama.setPosition(results[0].geometry.location);
> panorama.setPov({
> heading: 45,
> zoom:1,
> pitch:5}
> );
> toggleStreetView();
>
>
>
>
>
>
>
> });
--
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.