• Resolved matteonardone

    (@matteonardone)


    Hi,
    we have a problem with default zoom. Maps is always on max zoom, either if I set on settings or on shortcode.

    Shortcode is:

    [leaflet-map address="###address###" zoom="10" min_zoom="1" max_zoom="20"]
    [leaflet-marker svg background="#777" color="white"]###title###[/leaflet-marker]

    thanks!

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

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

    (@hupe13)

    The page is password protected.
    Your code seems to be valid, but does the Geocoder (see Leaflet Maps settings) work right?

    Thread Starter matteonardone

    (@matteonardone)

    yes, geocoder finds all addresses.
    It seems that, if I set “max_zoom”, it is set like “zoom” option, either if I set on settings or on shortcode.

    To see the page:
    user: aurea
    pass: gavina

    thanks

    Plugin Contributor hupe13

    (@hupe13)

    Try [leaflet-map !fitbounds ...]

    Thread Starter matteonardone

    (@matteonardone)

    hi,

    it works!

    Thank you

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Default zoom doesn’t work’ is closed to new replies.