KML not showing

This topic contains 3 replies, has 2 voices, and was last updated by  admin01 1 week, 6 days ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #65256 Reply

    Hans

    Hi, I have a KML that won’t show up on my map, could you help?
    The page is here:
    http://monochrome.me.uk/news/road-trip-an-onsen-tour-of-northern-tohoku/
    KML is here (just a few points):
    http://monochrome.me.uk/news/wp-content/uploads/osm_map/onsen2018.kml

    This is the place holder I use in my post:
    [osm_map_v3 map_center="40.7226,141.3336" zoom="7" width="100%" height="450" file_list="../../../../wp-content/uploads/osm_map/onsen2018.kml" file_color_list="#ff0000" control="fullscreen,scaleline,mouseposition"]

    Thanks for your help,

    Hans

    #65260 Reply

    admin01
    Keymaster

    Hello Hans,

    your shortcode is fine and your kml is fine, you can see it here:
    http://wp-osm-plugin.hanblog.net/forum-test-page

    Looks like that the address to the kml file is wrong. Can you try:

    file_list=”../../../../../wp-content/uploads/osm_map/onsen2018.kml”
    and:
    file_list=”../../../wp-content/uploads/osm_map/onsen2018.kml”

    If that does not work, then als absolut path.
    Br, MiKa

    #65264 Reply

    Hans

    Thanks, the absolute path-name did the trick!

    #65273 Reply

    admin01
    Keymaster

    Hello Hans,

    if you modify Placemarks in the KML from:

    #icon-1899-0288D1-nodesc

    to

    #icon-1899-0288D1-nodesc-normal

    you will get your onsen icon instead of the yellow pin. Make sure your own icon is transparent to look good in the map.

    BTW: If you like the OSM plugin we are looking forward your rating:

    https://wordpress.org/plugins/osm/#reviews

    Thanks, MiKa

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: KML not showing
Your information:




36 − = 27