Support » Plugin: WP Google Maps » custom infowindow layout

  • Resolved nathan8196


    Hi, I was wondering if it was possible to code and create a layout for all infowindows ? If possible, where can I find the right file and lines ?
    I’m creating a website where when someone signs up it is then listed on the map with all of its information (name, schedule, contact…) in the infowindow.

    Thanks for reading this

Viewing 1 replies (of 1 total)
  • Jarryd


    Hi Nathan

    Thank you for getting in touch with us.

    You’d be able to change the content of the HTML structure within the marker by going to wp-google-maps/js/wpgmaps.js and scrolling down to line 401 where you’ll find the following code:

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

    The above is added into the info window once clicked on.

    I hope this helps?

Viewing 1 replies (of 1 total)
  • The topic ‘custom infowindow layout’ is closed to new replies.