Remove Map Type buttons?
-
Thank you for providing this very useful plugin.
One question;
Is it possible to remove the two top right buttons ‘Map’ and ‘Satellite’?
As I only use a small sized map these take up too much space.
I already looked in the API:
https://developers.google.com/maps/documentation/javascript/controls
And try to edit this line into your ‘utility.php’:
mapTypeControl: false
into
$options[‘center’] = [‘lat’ => $options[‘latitude_initial’], ‘lng’ => $options[‘longitude_initial’]];
unset($options[‘latitude_initial’], $options[‘longitude_initial’]);But can’t get it to work. Any tips?
Thank youThe page I need help with: [log in to see the link]
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Remove Map Type buttons?’ is closed to new replies.