setOptions

that was it!

SOLVED!!!!

Thanks Marc!

On Nov 5, 8:14 pm, "Marc (Google)" <mri...@google.com> wrote:
> 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 <projectje...@gmail.com> wrote:
>
>
>
> > i'm usinggetStreetView() i'm trying to change someoptions(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();
>
> > });- Hide quoted text -
>
> - Show quoted text -

-- 
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 google-maps-js-api...@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.

Reply via email to