Warning: Undefined variable $usermarkersfilter in…

  • Valroc
  • Topic Author
  • Offline
  • New Member
  • New Member
More
1 year 6 months ago - 1 year 6 months ago #15013 by Valroc
KML display problem was created by Valroc
Good morning,
Since the migration from Joomla 3.10.11 to 4.3.1, maps no longer display KML tracks or elevations.
Error message :
Code:
Warning: Undefined variable $usermarkersfilter in xxxxxx\components\com_zhgooglemap\tmpl\map\display_map_data.php on line 3412
Any idea what is causing the problem?
Thanks for the help
Last edit: 1 year 6 months ago by Valroc.

Please Log in or Create an account to join the conversation.

More
1 year 6 months ago #15017 by Dima
Hi
It is warning and don't cause not displaying map

Can you give direct link to your page with map.
For track with elevation you need to set KML (Internal parser) or GPX (Internal parser).
I can't tell more without map page. Check browser console for errors.

Don't forget support my developments: post review in JED , donate , help with translation ;)

Please Log in or Create an account to join the conversation.

  • Valroc
  • Topic Author
  • Offline
  • New Member
  • New Member
More
1 year 6 months ago - 1 year 6 months ago #15020 by Valroc
Hello,
Curiously, the error message only appears in local development

File Attachment:

File Name: Erreur.txt
File Size:10 KB

Online, there is no such error message.
On the other hand, the KML route and the contour lines are not displayed, neither locally nor online.
Here is a link
  • Last edit: 1 year 6 months ago by Valroc.

    Please Log in or Create an account to join the conversation.

    More
    1 year 6 months ago #15021 by Dima
    I checked page

    Here console output
     

    As you can see by security policy Google Maps API blocked, therefore you can see google not found error.

    Check your server/site/apache settings why it is blocked

    Don't forget support my developments: post review in JED , donate , help with translation ;)
  • Please Log in or Create an account to join the conversation.

    • Valroc
    • Topic Author
    • Offline
    • New Member
    • New Member
    More
    1 year 6 months ago #15024 by Valroc
    Indeed, there was a bad setting of the key on the Google Map site.
    I just corrected that.
    However, this key setting error did not prevent the display of paths in KML format with the old version 3.10.11 JOOMLA.
    It is since the migration to version 4.3.1 of JOOMLA that there is this display defect, and the anomaly persists despite the patches concerning the Google Map key.

    Please Log in or Create an account to join the conversation.

    • Valroc
    • Topic Author
    • Offline
    • New Member
    • New Member
    More
    1 year 6 months ago - 1 year 6 months ago #15026 by Valroc
    Hello,
     
    Confirmation, after a multitude of tests: the ZhGoogleMap j4-13.23.5.3-final version no longer recognizes KML files in the "Path" tab.
     
    Elevation curves are not processed either.
     
    A solution please,
     
     
  • Last edit: 1 year 6 months ago by Valroc.

    Please Log in or Create an account to join the conversation.

    Time to create page: 0.356 seconds
    Powered by Kunena Forum