Forum Replies Created

Viewing 12 replies - 1 through 12 (of 12 total)
  • Thread Starter ellocosolo

    (@ellocosolo)

    Hello,

    I removed and reinstalled the plugin following your instructions above. Unfortunately to no avail. I installed Firefox too to make sure it was not Chromium related, but have the same behaviour.

    As it seems I’m the only one with the problem, and that it is related to my WP installation (demo editor works), I think the best is to let go…

    Sorry for the inconvenience

    Thread Starter ellocosolo

    (@ellocosolo)

    Hello,

    I edited my .htaccess file to allow unload (Header set Permissions-Policy: unload=(self)). I do not have the errors in the console anymore, but the problem persists

    Can I then safely uninstall and reinstall the plugin, without data loss ?

    Thanks for your reply and sorry for all the messages

    Thread Starter ellocosolo

    (@ellocosolo)

    Hello again,

    I went a bit too fast on my reply, sorry for that. It seems it is my .htaccess Permissions-Policy that is the cause here. I will try ro correct it and will inform you when it’s done. So don’t lose any time on this.

    Sorry, my bad

    Thread Starter ellocosolo

    (@ellocosolo)

    Hello Joe,

    Thanks for your quick reply. Clearing cache did not help. I got no errors when I use the demo editor, but have thre following error in the console (multiple times):

    wp-tinymce.js?ver=49110-20201110:3 [Violation] Permissions policy violation: unload is not allowed in this document.

    Those errors do not appear in the console when I work on the demo editor, FYI.

    Can I safely remove and re-add the plugin without losing any content. If you recommended it, I imagine it is the case, but I prefer to be 100% sue ??

    Thanks for your reply and kind regards

    • This reply was modified 9 months, 1 week ago by ellocosolo.
    • This reply was modified 9 months, 1 week ago by ellocosolo.
    Thread Starter ellocosolo

    (@ellocosolo)

    Dear Joe,

    Glad to be part of making a wonderful product even better.

    Thanks for your time and for the fix !

    Thread Starter ellocosolo

    (@ellocosolo)

    Hello again,

    As the only difference between your page and mine is the elevation graph, I tested a Case E on the same page as above, and added show_elevation=”0″. And… Bingo ! It works if I do no show the elevation graph. Can you reproduce it on your end ?

    If this is the problem, then I still do not understand why the behaviour is different when the gpx’s are different (see my tests from 2 weeks ago).

    Thread Starter ellocosolo

    (@ellocosolo)

    Dear Joe,

    Please do not apologize, your plugin is great and you’ve been very helpful with all my questions/problems.

    Unfortunately, the problem remains on my site. As requested, I created a page that you’ll find here : Map Centre/Zoom Test – Loco Solo (loco-solo.ch).

    Thanks for your support !

    Thread Starter ellocosolo

    (@ellocosolo)

    Hello Joe,

    It’s exactly what I needed, and I apologize for being so bad at reading your documentation ??

    Many thanks for the support !

    Thread Starter ellocosolo

    (@ellocosolo)

    Hello Joe,

    Many thanks for your reply and trying to reproduce the problem. The actual global map is indeed centered on Rome because the shortcode map_centre is used but not the shortcode map_zoom. As soon as I add map_zoom, it is not centered anymore and just shows the standard behaviour by adapting to show all data.

    I did some further tests that will probably help pinpoint the problem. Actually for the Global Map and that gpx that extends from Switzerland to Italy (~1600km), I tried different zoom settings. Here are the results :

    map_zoom set from 15 to 11 -> OK map is centered on Rome and has the right zoom level
    map_zoom set from 10 to 2 -> NOK both map_centre and map_zoom are not respected and standard behaviour is set (show all data)
    map_zoom set to 1 -> OK map is centered on Rome (hard to check but presumably) and has the right zoom level

    I created a second map with the much smaller stretch I cycled yesterday from Rome (~130km) and did the same tests. Here are the results :

    map_zoom set from 15 to 14 -> OK map is centered on Rome and has the right zoom level
    map_zoom set from 13 to 10 -> NOK both map_centre and map_zoom are not respected and standard behaviour is set (show all data)
    map_zoom set to 9 -> OK map is centered on Rome and has the right zoom level
    map_zoom set from 8 to 5 -> NOK both map_centre and map_zoom are not respected and standard behaviour is set (show all data)
    map_zoom set from 4 to 1 -> OK map is centered on Rome (hard to check but presumably) and has the right zoom level

    I created a third map with a gpx I created for a train stretch I took across the Alps (~30km), containing only 2 trackpoints. Here are the results :

    map_zoom set to 15 -> NOK both map_centre and map_zoom are not respected and standard behaviour is set (show all data)
    map_zoom set to 14 -> OK map is centered on Domodossola and has the right zoom level
    map_zoom set from 13 to 12 -> NOK both map_centre and map_zoom are not respected and standard behaviour is set (show all data)
    map_zoom set from 11 to 10 -> OK map is centered on Domodossola and has the right zoom level
    map_zoom set from 9 to 7 -> NOK both map_centre and map_zoom are not respected and standard behaviour is set (show all data)
    map_zoom set from 6 to 1 -> OK map is centered on Domodossola (hard to check but presumably) and has the right zoom level

    Strange, no ? From the results of the Global Map, I would have thought that there is something happening based on the level required to show all and the level set manually through the shortcode. But the tests with the smaller stretches make me doubt it. The only relation I see is between the size of the stretch and the number of variations in the correct setting of the map_zoom shortcode.

    I would gladly send you those gpx if you want to reproduce any of those tests.

    I did one further test, for info, but I don’t think it will help in any way, but who am I to know ? Still, here is the result :

    I created a map centered on Rome and with map_zoom=”8″. It was shown correctly. I then added the gpx with my full track to the map. Refreshed the page and then the standard behaviour was shown (show all data).

    Tell me if you need further tests, and any thanks in advance for your precious help.

    Best regards

    Thread Starter ellocosolo

    (@ellocosolo)

    Dear Joe !

    That’s perfect and fits my needs completely. Many thanks for the quick and efficient reply ??

    Thread Starter ellocosolo

    (@ellocosolo)

    Ohhh my bad. Sorry I bothered you with that question, as it was already documented. I went through all the shortcode documentation but didn’t gunderstand that “shortcode_header” had that effect…

    Sorry again !

    Thread Starter ellocosolo

    (@ellocosolo)

    Hello Joe,

    I just noticed after posting that the site Carnethy Hill Running Club for which you just solved the ticket Warning: Attempt to read property “post_type” on null…?actualy has a Waymark map that does not contain the “Details” upper cell… Seems to be doable then… But how ?

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