Is it possible to load a raster file (e.g. geotiff or erdas img) directly into a Leaflet map? If so, can you guide me to the correct documentation or method to do this? I am trying to do this with the imageOverlay() function in Leaflet currently.
var imageUrl = 'http://localhost/test/my_raster.tif',
imageBounds = [[30.430224, -87.193133], [30.435867, -87.185944]];
L.imageOverlay(imageUrl, imageBounds).addTo(map);
I am new to Leaflet.
No comments:
Post a Comment