• Resolved akoelsch

    (@akoelsch)


    I just stumbled across two problems with layerswitch.

    1. Attribution is not shown for layers defined in tileswitch
    2. Options for layers defined in tileswitch such as “maxZoom: 17” for OpenTopoMap are not considered

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author hupe13

    (@hupe13)

    That used to work, but it doesn’t anymore. I think I have fixed the problem. Can you please give me for testing the options how you define OpenTopoMap?

    Thread Starter akoelsch

    (@akoelsch)

    Sure!

    mapid: OpenTopoMap
    
    Attribution: Map data: ? <a >OpenStreetMap</a> contributors, <a >SRTM</a> | Map style: ? <a >OpenTopoMap</a> (<a >CC-BY-SA</a>)
    
    Tile Server: https://{s}.tile.opentopomap.org/{z}/{x}/{y}.png
    
    Extra Options: (optional): maxZoom: 17

    For the record, I also tested attribution without HTML code, but that did not make a difference

    Plugin Author hupe13

    (@hupe13)

    Thank you very much, this works on my test page. You can test it, but there is bug in Leaflet Map, I made a PR.

    And I found another bug in layerswitch.

    Plugin Author hupe13

    (@hupe13)

    maxZoom doesn’t work yet. Please wait for the next push to Github.

    Plugin Author hupe13

    (@hupe13)

    Now you can test the Github version.

    Und nochmal danke für’s Melden.

    Thread Starter akoelsch

    (@akoelsch)

    Just got around to testing it. Looks good. Thank you!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘layerswitch options not considered’ is closed to new replies.