• hi there, does load_kml work for *EXTERNAL* urls?
    i’ve got a local .kml file displaying points on my map ok via
    [geo_mashup_map load_kml=”/recent_uk_events.kml”]
    i.e. uploaded to my site domain.

    but when i try an external file:
    load_kml=”https://developers.google.com/kml/documentation/KML_Samples.kml”
    i get a blank.

    i need to try and integrate an external KML file as we want to pull in a dynamic feed from a Garmin account (the above was just an example)

Viewing 1 replies (of 1 total)
  • Plugin Author Dylan Kuhn

    (@cyberhobo)

    It can work, but often requires that you have control of the server that hosts the KML. If you look for errors in the browser console when you try this you’ll see that the browser refuses to load the KML file without CORS headers that allow it. Google gets around this by caching KML on their own servers before loading it, so sometimes it will work with Google maps but not the other providers.

Viewing 1 replies (of 1 total)
  • The topic ‘External KML file’ is closed to new replies.