Support » Plugins and Hacks » [Resolved] Add url to marker popup

[Resolved] Add url to marker popup

  • I am playing around with this plugin and it is looking good so far. I have got a map on my site with the markers loaded from a kml file. How do I edit what appears in the pop-up when the marker is clicked? I would like my own image in there and also a link to the appropriate page on my site.


Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author webaware


    G’day colinsp,

    You can put HTML in the <description> element in your KML file, and it will be displayed in the info window. e.g.

    [flexiblemap src="http://snippets.webaware.com.au/maps/test.kml?v=4" width="100%" height="400px" zoom="14"]

    <?xml version="1.0" encoding="UTF-8"?>
    <kml xmlns="http://www.opengis.net/kml/2.2" xmlns:atom="http://www.w3.org/2005/Atom">
        <Style id="markerStyle">
            <name>Blackalls Park</name>
                <img style="float:right" src="http://www.webaware.com.au/wp-content/themes/webaware-responsive/images/webaware_logo.gif"/>
                <p>A lovely spot for watching the mullet jump</p>
                <p><a href="http://www.example.com/">click</a></p>

    Thanks for the answer I will give it a go but it will be a bit tedious to do this for all the entries.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] Add url to marker popup’ is closed to new replies.