Skip to content

[bug] Overlaying Indoor Map with L.CRS.Simple Overrides Geo Map Interaction and CRS Settings #397

@dee077

Description

@dee077

Describe the bug
When opening the indoor map overlay, which is rendered using L.CRS.Simple, on top of the main geographical map (which uses the default CRS L.CRS.EPSG3857), the interaction behavior of the base map unexpectedly changes. The coordinate reference system (CRS) settings and zoom behavior of the main map start to behave according to L.CRS.Simple.

Even after closing the indoor map overlay, the main map does not revert to its original CRS, and any interaction with the geo map becomes broken.

Steps To Reproduce
Steps to reproduce the behavior:

  1. Open example Indoor map as Overlay of Geographic map.
  2. Click on any node, and it will open an indoor map as an overlay.
  3. Close the overlay.
  4. Interact with the geo map by zooming or moving the map in any way that requires new tile rendering.
    See the api failure in the console.

Expected behavior
The indoor map should not override the interaction functionalities, or even if it overrides should revert back on closing the overlay

Screenrecodding

Screencast.from.2025-07-14.23-31-47.webm

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    To do (general)

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions