Leaflet Single Polyline Interaction

Implements a Leaflet.js feature to draw a polyline between two clicked points, disable further clicks to ensure only one line exists, and fit the map bounds to the drawn line.

ECNU-ICALK Updated 559 repo stars

File contents

ECNU-ICALK/AutoSkill/tree/main/SkillBank/ConvSkill/english_gpt3.5_8_GLM4.7/leaflet-single-polyline-interaction commit 8fdd00d1c6

Frequently asked questions

npx skillmds@latest add ecnu-icalk/leaflet-single-polyline-interaction