Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter gh2k

    (@gh2k)

    I tried a number of things with the official 2.1.3 release but still wasn’t able to render anything with the elevation or elevation-track shortcodes (even with wp-gpx maps and other plugins being completely deactivated, and a different theme applied), so I haven’t spend time on testing the new release. The CSP warnings are coming from the contact form solution which I’ll be replacing soon. If you have specific items you want me to test, send me a note through the contact form on the site.
    Thanks!

    Thread Starter gh2k

    (@gh2k)

    Thanks – I tried deactivating wp-gpx-maps completely temporarily but still the map with elevation is not loading so there must be another issue.

    Thread Starter gh2k

    (@gh2k)

    leaflet-map is installed, and was proven to work (using the leaflet-gpx shortcode). wp-gpx maps and leaflet-maps do not need to run on the same page, I just included the shortcodes for reference. plugins/leaflet is not an actual plugin, but just a local deployment of the leaflet scripts (to avoid the CDN reference)

    Thread Starter gh2k

    (@gh2k)

    Thanks for the quick reply. Here are the shortcodes that have been used so far:
    [sgpx gpx=”/wp-content/uploads/gpx/2021-08-29-1155 Stollenwanderweg.gpx”] (wp-gpx format)
    [leaflet-map] [leaflet-gpx src=”/wp-content/uploads/gpx/2021-08-29-1155 Stollenwanderweg.gpx”] (leaflet without elevation information, fitbounds is configured as a default)
    [leaflet-map] [elevation gpx=”/wp-content/uploads/gpx/2021-08-29-1155 Stollenwanderweg.gpx”] (leaflet with elevation information – this is the one that isn’t rendering).

    test location: https://hannes.gfrerer.name/2020/12/test/

    The datacloneerror doesn’t seem to be related to the map integration. In a different browser (Edge Chromium), I noticed the following error though: Error: <polygon> attribute points: Unexpected end of attribute. Expected number, “… 341.459,306.011”.

    I understand that an experienced user would always be able to fetch the track, but the way leaflet works makes it really super easy, so ideally a similar pattern as wp-gpx maps should be considered in the future. The upload interface would also be a really helpful feature for the community.

    Thanks a lot!

    Thread Starter gh2k

    (@gh2k)

    I see, thank you. Yes, I was hiding both the social icons (as well as the included navigate up) elements, which is why I wasn’t noticing any impact. Maybe the custom style is included in a future update. The theme is really amazing – a remarkable job!

    • This reply was modified 7 years, 2 months ago by gh2k.
    Thread Starter gh2k

    (@gh2k)

    Thanks for the follow-up, but I do not even see an svg icon anywhere, and trying to remove the svg style tag manually made no apparent difference for me (other than mapping plugins showing properly again). Can’t objects that require the svg icon be wrapped into a custom style? Thanks!

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