• Resolved gregos99

    (@gregos99)


    Hello Mika,
    
    I'm super sorry because it's the 3rd times I contact you. I made searchs and I"m fully stuck and cannot solve the problem.
    
    On the page https://gravelvicentina.com/index.php/the-route/, there are 3 maps :
    
    1/ the first one is a spot I pin pointes with your plugin
    -> everything ok
    
    2/ the second one is your gpx example
    -> everything ok
    
    3/the third one is my gpx file for which I have the error [OSM-Plugin-Error]:Array hast got wrong file extension (gpx, kml)!
    
    The short code is :
    
    Short code for this page is [osm_map_v3 map_center="autolat,autolon" zoom="autozoom" width="100%" height="450" file_list="https://gravelvicentina.com/wp-content/uploads/gpx/general/test3.gpx " file_color_list="none" control="fullscreen,scaleline,mouseposition" bckgrndimg="GDPR_bckgrnd.png" ]
    
    According to me, the gpx file is correct as I can see it in osm_map_v3
    https://www.openstreetmap.org/user/gregilili/traces/3818564
    
    Many thks in advance for your help.
    
    Grégoire

    The page I need help with: [log in to see the link]

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

    (@photoweblog)

    Hi @gregos99,

    did you try to remove the space at the end of the file name:

    file_list="https://gravelvicentina.com/wp-content/uploads/gpx/general/test3.gpx"

    instead of:

    file_list="https://gravelvicentina.com/wp-content/uploads/gpx/general/test3.gpx "

    Let me know the result.

    Br, Michael

    Thread Starter gregos99

    (@gregos99)

    Fully right Michael.
    The space needed to be after and not before the ”
    Thanks again for helping a beginner like me.
    It’s super nice.
    Have a nice continuation 🙂
    Many thks again

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘[OSM-Plugin-Error]:Array hast got wrong file extension (gpx, kml)!’ is closed to new replies.