hyperleaflet icon indicating copy to clipboard operation
hyperleaflet copied to clipboard

Feature image overlay

Open andrewgryan opened this issue 10 months ago • 3 comments

Early design to add imageOverlay with the intention to easily extend this technique to all other L.* constructors.

Work in progress at the moment.

Summary by CodeRabbit

  • New Features

    • Updated createLeafletObject function to include image overlay creation based on provided datasets.
    • Added new functions createL and changeL for handling Leaflet object creation and modification using HTML data attributes.
    • Added support for ImageOverlay attributes in Hyperleaflet, enabling easy creation with specific data attributes.
  • Documentation

    • Detailed specifications for data-l, data-image-url, and data-image-bounds attributes provided in the usage documentation.
    • Event handling system in Hyperleaflet now supports map and geometries interaction with custom events sent to the window object.

andrewgryan avatar Apr 13 '24 14:04 andrewgryan