Welcome! Log In Create A New Profile

Advanced

[WB26] MAP control default buttons disabled

Posted by Gus 
Gus
[WB26] MAP control default buttons disabled
January 15, 2022 07:59PM
Hello:

I'm using the MAP control (Google maps) in a WebDev page and I would like to hide the default options that Google Maps shows (zoom in/out buttons, Satellite button, etc). According to Google API, it's possible to turn those off by disabling the Default UI, using disableDefaultUI : true in the Map Options.
I have been trying this using MapConfigureGglAPI("disableDefaultUI=true") in the initialization code of the page, but so far, I don't see it working...Did someone try this?

Any help would be appreciated.

Thanks
Gus
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: