Open dumax315 opened 1 month ago
Resources
`TypeScript const imageUrl = 'https://maps.lib.utexas.edu/maps/historical/newark_nj_1922.jpg'; const errorOverlayUrl = 'https://cdn-icons-png.flaticon.com/512/110/110686.png'; const altText = 'Image of Newark, N.J. in 1922. Source: The University of Texas at Austin, UT Libraries Map Collection.'; const latLngBounds = L.latLngBounds([[37.48521992705674, -122.14801346365132], [37.484779291185326, -122.14652292735413]]);
const imageOverlay = L.imageOverlay(imageUrl, latLngBounds, { opacity: 0.8, errorOverlayUrl: errorOverlayUrl, alt: altText, interactive: true }).addTo(map);`
https://geoman.io/docs/modes/rotation-mode
Resources
`TypeScript const imageUrl = 'https://maps.lib.utexas.edu/maps/historical/newark_nj_1922.jpg'; const errorOverlayUrl = 'https://cdn-icons-png.flaticon.com/512/110/110686.png'; const altText = 'Image of Newark, N.J. in 1922. Source: The University of Texas at Austin, UT Libraries Map Collection.'; const latLngBounds = L.latLngBounds([[37.48521992705674, -122.14801346365132], [37.484779291185326, -122.14652292735413]]);