how to remove google maps control

i am implementing google maps on my website, but i want to remove satellite and map options from my maps which is shown on right top, also pan controls.this is my code,

map = new google.maps.Map(document.getElementById("map"), {
            center: center,
            zoom: 8,
            maptypecontrol :false,
            mapTypeId: google.maps.MapTypeId.ROADMAP 


Can we do this???


have a look at the documentation

the option should be

disableDefaultUI: true

Need Your Help

error with javascript globals and jquery call back functions

javascript jquery arrays

i'm trying to make an array of value's to be checked to see if that value has been added before.

Exchange Web Services attachments collection is empty

c# exchange-server ews exchangewebservices

Has anyone had an issue with EWS (Exchange 2010 SP1) where the email attachments collection is empty?

django model inherit custom manager

django django-models

I cannot make a django model inherit a custom manager from its parent class. I have done something like the following: