not
panorama.setStreetView(addressControlOptions: { position:
google.maps.ControlPosition.BOTTOM });
it should be
panorama.setOptions(addressControlOptions: { position:
google.maps.ControlPosition.BOTTOM });
or
panorama.setValues(addressControlOptions: { position:
google.maps.ControlPosition.BOTTOM });
On Sat, Nov 6, 2010 at 6:54 AM, projectjerel <[email protected]> wrote:
> I may have a related issue so i'm going to post here rather than start a
> new thread...
>
> for now....
>
> 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]<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.