hyperleaflet
hyperleaflet copied to clipboard
Feature image overlay
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
andchangeL
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.
- Updated
-
Documentation
- Detailed specifications for
data-l
,data-image-url
, anddata-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.
- Detailed specifications for