Support » Plugin: WP Google Maps » How to disable infowindow

  • Resolved psytanium

    (@psytanium)


    Hi,

    When a marker is clicked the info window popup is showing the location parameters, I cannot change it using the free version, but is there a way to disable it ?

    thanks 🙂

Viewing 3 replies - 1 through 3 (of 3 total)
  • Jarryd

    (@jarryd-long)

    Hi there

    Thank you for getting in touch with us.

    The address can be hidden by going to ‘Maps’ -> ‘Settings’ -> ‘General’ and scrolling down to the bottom of the page. You will be able to click a checkbox to disable this.

    I hope this helps?

    Hi,

    I found in Maps > Settings > General Map Settings, the following:

    Disable Full Screen Control
    Disable StreetView
    Disable Zoom Controls
    Disable Pan Controls
    Disable Map Type Controls
    Disable Mouse Wheel Zoom
    Disable Mouse Dragging
    Disable Mouse Double Click Zooming

    I don’t think one of these.

    Thanks

    Jarryd

    (@jarryd-long)

    Hi there

    Sorry for the confusion on my part.

    Unfortunately the basic version doesn’t have an option for this. You can however make the changes in the plugin’s code by going to wp-google-maps/js/wp-google-maps.js and scroll down to line 255 and 398 where you’ll find a line of code that looks like this:

    var html='<p style=\'min-width:100px; display:block;\'>'+wpmgza_address+'</p>'+d_string;

    You can replace this line with this:

    var html= '';

    I hope this helps?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to disable infowindow’ is closed to new replies.