Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author bozdoz

    (@bozdoz)

    Hey! Thanks for the heads up about this. I made some changes to the plugin. You should be able to update it to version 2.22.1 to access these new shortcode attributes. To simulate the top answer’s javascript (in a shortcode), you can use this:

    [leaflet-map tileurl=https://api.mapbox.com/styles/v1/{id}/tiles/{z}/{x}/{y}?access_token={accessToken} attribution=”© OpenStreetMap contributors” mapid=”mapbox/streets-v11″ accessToken=your.mapbox.access.token tilesize=512 zoomoffset=-1]

    Thread Starter Andreas 2013

    (@andreas-2013)

    Hi bozdoz,
    that works great !!!
    Thank you so much ??

    Plugin Author bozdoz

    (@bozdoz)

    Glad to hear!

    Thread Starter Andreas 2013

    (@andreas-2013)

    Hi bozdoz,
    the map is in english language. Is there a way, to switch it into german language?

    Thanks again ??

    Plugin Author bozdoz

    (@bozdoz)

    looks like there’s a german version of openstreetmap: https://wiki.openstreetmap.org/wiki/Tile_servers

    So in settings you can change the default url to be:
    https://{s}.tile.openstreetmap.de/{z}/{x}/{y}.png

    instead of:
    https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png

    Thread Starter Andreas 2013

    (@andreas-2013)

    Unfortunately that doesn’t work ??

    Plugin Contributor hupe13

    (@hupe13)

    What doesn’t work?

    Kartenkachel-URL: https://{s}.tile.openstreetmap.de/{z}/{x}/{y}.png
    Kartenkachel-URL-Subdomains: abcd
    Standard Namensnennung: Daten von <a href="https://www.openstreetmap.org/">OpenStreetMap</a> - Ver?ffentlicht unter <a href="https://opendatacommons.org/licenses/odbl/">ODbL</a>

    Thread Starter Andreas 2013

    (@andreas-2013)

    When I replace it with https://{s}.tile.openstreetmap.de/{z}/{x}/{y}.png, the labels are still in english. Example: Nuremberg instead of Nürnberg, Argentina instead of Argentinien.

    Plugin Contributor hupe13

    (@hupe13)

    Did you empty the cache? On my cards the names are in german.

    Thread Starter Andreas 2013

    (@andreas-2013)

    Yes, and I don’t use a cache-plugin.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Increase font size’ is closed to new replies.