Skip to content

[bug] Leaflet plugins: measure distance and area is broken #499

@nemesifier

Description

@nemesifier

Describe the bug
The "measure distance and area" is broken, clicking on points moves the map, looks very quirky.

Related to #492.

Screencast

Screencast.from.2026-01-27.13-06-14.mp4

Steps To Reproduce
Steps to reproduce the behavior:

  1. open http://localhost:8080/examples/netjsonmap-plugins.html
  2. try using the measure area plugin

Expected behavior
Measuring should work without quirks.

We should write a basic browser test for ensuring leaflet plugins are working fine.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    Status

    Backlog

    Status

    To do (general)

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions