hyperleaflet icon indicating copy to clipboard operation
hyperleaflet copied to clipboard

Wire up polyline options for polygon and linestring using data-options

Open andrewgryan opened this issue 11 months ago • 9 comments

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.

andrewgryan avatar Mar 02 '24 12:03 andrewgryan