Support » Plugin: Map Multi Marker » Remove Map Type buttons?

  • zero20photos

    (@zero20photos)


    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 you

    The 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)
  • You must be logged in to reply to this topic.