• I have a similar “Map breaking into tiles” error like others, and only solution was to rolling back to WP 6.8.3.

    Probably that is why: (ChatGPT answer)

    WordPress 6.9 introduced some changes in how shortcodes and do_shortcode() handle attributes, especially URLs with query strings.

    • Your ?api_key=… in tile URLs may have been partially mangled or treated differently in JS initialization.
    • This caused some tiles to fail or “undefined” requests to appear.

    1., I use a custom build website, no page builder used with shortcode in PHP file

    2., Leaflet Map (Version 3.4.2) and Extensions for Leaflet Map (Version 4.9)

    3. I got a lots of error: “GET /tiles/stamen_watercolor/8/121/94.jpg?api_key=… undefined” .The undefined comes from Leaflet or the plugin: it’s trying to append something to the URL, but the variable is undefined.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor hupe13

    (@hupe13)

    I think, your problem is an other one.

    stamen_watercolor

    I tested it, it works:

    [leaflet-map tileurl=https://tiles.stadiamaps.com/tiles/stamen_watercolor/{z}/{x}/{y}.jpg min_zoom=1 max_zoom=16 attribution='© <a href="https://www.stadiamaps.com/" target="_blank">Stadia Maps</a> © <a href="https://www.stamen.com/" target="_blank">Stamen Design</a> © <a href="https://openmaptiles.org/" target="_blank">OpenMapTiles</a> © <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors']

    Does this work for you?

    Plugin Contributor hupe13

    (@hupe13)

    There is an issue on Github now.

    Plugin Contributor hupe13

    (@hupe13)

    The issue is closed now. If the problem still persists, we need more information.

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

You must be logged in to reply to this topic.