use these in your map options instead:
mapTypeControl: false,
navigationControl: false,
If you want to re-enable the controls later, you can probably just
make a button or event and get it to call a function like;
function enableUI(){
map.setOptions({
navigationControl: true,
mapTypeControl: true
})
}
That help?
On Jul 24, 10:28 pm, Shawalli <[email protected]> wrote:
> Im writing an app for webos, and i have "disableDefaultUI" set to
> true. When the map loads, both the maptype and zoom controls are
> hidden, as I want. as soon as I pan around, however, the zoom buttons
> appear and I cannot make them go away.
--
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.