hyperleaflet
hyperleaflet copied to clipboard
Wire up polyline options for polygon and linestring using data-options
Add support for second positional argument to L.polygon
via the data-options
attribute.
Summary by CodeRabbit
-
New Features
- Enhanced handling of geometry data attributes and options in mapping functionalities.
-
Bug Fixes
- Fixed data attribute access in geometry handling functions.
-
Tests
- Added tests for creating and modifying Leaflet polygon and polyline objects with options.
-
Documentation
- Updated
usage.md
with information on adding icons for Point geometries.
- Updated