Hi Shiva,

google.maps.mapOptions object has a disableDefaultUI property, which has a
boolean value. You can use this to check whether the controls are present or
absent.

-Shreerang

On Tue, Jul 19, 2011 at 12:36 PM, jufemaiz:Joel Courtney <
[email protected]> wrote:

> As per reference material @
> http://code.google.com/apis/maps/documentation/javascript/reference.html
>
> I'd advise using the google.maps.MapOptions object in a more global
> sense and updating that before pushing it onto the map as a convention
> based approach to maintaining state.
>
> There may be a better direct have from the google.maps.Map object
>
> On Jul 19, 2:29 am, shiva <[email protected]> wrote:
> > Hello Everybody,
> >
> > I am new to Google Maps API but I am familiar with Google Earth Plugin
> API.
> > I wanted know how to toggle (hide/show) the Zoom, Pan, Scale, MapType,
> > Street View, Overview Map controls in Maps API V3, which can be easily
> > achieved in Google Earth Plugin API - like in the following example<
> http://earth-api-samples.googlecode.com/svn/trunk/demos/options/index...>.
> >
> > Regards,
> > Shiva
>
> --
> 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.
>
>

-- 
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.

Reply via email to