Trigger custom Javascript

If the plugin doesn’t include a particular feature, but you’re confortable with javascript, you can always add some custom code to your map that can be triggered when a region or marker is clicked. You could use this to open your own lightbox or change something on a form.

Consider the example below:




    For the above example we used custom javascript code to automatically change a field in the form next to it.

    You could use this feature to extend your map further and make it interact with other elements on your page. Read more about this feature.


    Explore other features

    Map with a form on the right
    Add custom javascript code to trigger when a region or marker is clicked.
    Trigger custom Javascript
    Use post categories or tags to automatically populate the map.
    Trigger custom Javascript
    Render shortcodes in tooltips and content to display on click

    Free Trial

    Try the Pro version of the plugin for 7 days.
    You’re not sure this is the right plugin for you? Try it out first!