• Resolved eugenegrant

    (@eugenegrant)


    Using “Extensions for Leaflet” v4.4.3 and “Leaflet Map” v3.4.1 on WordPress v6.7.2

    In this source page https://steppingstoneforests.org/maptestsource/
    The “Internal Link” at the bottom uses a [targetlink] pointing to the map in this same page.
    The zoom option works fine.

    The “External Link” uses a [targetlink] to point to a target map in another page(https://steppingstoneforests.org/maptestext/), the zoom option does not work.

    If a zoom option is specified in the [targetmarker] shortcode in the target map then that zoom value is used.
    However it would be preferable if the zoom option in the [targetlink] worked as this would allow a different zoom option value for each marker.

    I can’t figure out what I am doing wrong.

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

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

    (@hupe13)

    However it would be preferable if the zoom option in the [targetlink] worked as this would allow a different zoom option value for each marker.

    This option is not implemented. I will take a look.

    Maybe Leaflet.Permalink is an option for you.

    Plugin Author hupe13

    (@hupe13)

    Wait for the next version.

    Thread Starter eugenegrant

    (@eugenegrant)

    Thanks for looking into that.
    I will wait for the next version and in the meantime use the zoom value in the [targetmarker] shortcode.

    P.S. I tried the leaflet.Permalink. Again it works just great for a map on the same page but i could not get it to work for a map on a different page!

    Plugin Author hupe13

    (@hupe13)

    You can test the Github version, please download it from tags.

    Thread Starter eugenegrant

    (@eugenegrant)

    Excellent – thank you – that works fine.

    Thread Starter eugenegrant

    (@eugenegrant)

    Thanks for your quick turnaround to add this new option.

    I have marked this topic as resolved.

    • This reply was modified 8 months, 2 weeks ago by eugenegrant.
    Plugin Author hupe13

    (@hupe13)

    It’s good that I looked at it again. I found some bugs and revised the documentation.

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

The topic ‘Zoom not working when map is in a different page’ is closed to new replies.