Skip to content

Prevent default zoom if map is set to fitbounds #236

@bozdoz

Description

@bozdoz

RE: https://wordpress.org/support/topic/prevent-default-map-tiles/#post-17065108

if a map is set via [leaflet-map] it defaults to whatever the default lat/lng is. That same map may be instantiated with [leaflet-map fitbounds], and it doesn't need to start at the default lat/lng.

Investigate whether we can wait to create the map, after the shapes have been created.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions