• ccmp

    (@ccmp)


    The map stays blank when the locations nearby each other. When I press the ‘-‘ the maps shows OR when I add a location that have a bigger distance.

    Code:

    [leaflet-map fitbounds scrollwheel=”0″ dragging=true height=”800″ zoomcontrol zoom=”5″]

    Next code : dynamic markers based on :

    [leaflet-marker iconClass=”dashicons dashicons-star-filled” color=”gold” lat=”{{ post.loc_map.latitude }}” lng=”{{ post.loc_map.longitude }}” title=”{{ post.title }}”]

    What is wrong?

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter ccmp

    (@ccmp)

    I found the default ZOOM in the leaflet plugin is 19. When I change this to 18 it works. But ZOOM=”5″ doesn’t overwrite the default zoom. What is wrong?

    Plugin Contributor hupe13

    (@hupe13)

    The initial state of the map is determined either by lat, lng and zoom or by elements on the map with the option fitbounds.

    [leaflet-map lat=... lng=... zoom=.. ]
    or
    [leaflet-map fitbounds]

    Why the tiles for zoom 19 are not loaded, I don’t know. @bozdoz, is this a bug again?

    Plugin Author bozdoz

    (@bozdoz)

    @ccmp Can you give me a shortcode to use to reproduce this issue?

    Plugin Contributor hupe13

    (@hupe13)

    I tested it with my Extensions leaflet-provider: https://leafext.de/extra/zoom
    Zoom in pressing + and out with -.

    openstreetmap.org seems to have (a new?) max_zoom 18. openstreetmap.de has max_zoom 18 and openstreetmap.fr has 20. But I don’t find any documentation about the new max_zoom.

    I have noticed that at openstreetmap.org the subdomain does not need to be specified anymore.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Map is empty when markers nearby each other’ is closed to new replies.