KML not showing

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

    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
    – MiKa –
    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
    Guest

    Thanks, the absolute path-name did the trick!

    #65273 Reply
    – MiKa –
    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:




+ 56 = 65



By continuing to use the site, you agree to the use of cookies and load data from third parties. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.

Close