forked from publiclab/Leaflet.DistortableImage
-
Notifications
You must be signed in to change notification settings - Fork 0
awikile_h
Bankn8II©$A edited this page Dec 4, 2024
·
9 revisions
https://github.com/aibolem/Leaflet.DistortableImage/wiki/
This wiki is still growing, feel free to participate!
Existing pages so far:
- awikile_h Adding a Custom Action to the Toolbar
- awikile_h Additional Components
- awikile_h singleclick event
- awikile_h SVG Icon System
- awikile_h Testing
- awikile_h Toolbar Actions and Keybindings
var imageBounds=[
https://www.wrld3d.com/wrld.js/v0.1.1335/docs/leaflet/L.ImageOverlay/
useEffect(() => {
if (map && layer) {
layer.addTo(map);
layer.setOpacity(0.7);
}
}, [layer]);
https://github.com/publiclab/Leaflet.DistortableImage/issues/1391
function imageStyle(){
return{ opacity:0.5,}
}
var imageBounds=[
[-22.0,22.5],
[-26.18,25.452]
]
var imageLayer=L.imageOverlay(imageUrl,imageBounds).addTo(map);
//imageLayer.setOpacity( 0.5);
L.imageOverlay(imageUrl, imageBounds, {opacity: 0.5}).addTo(map);
