GeoTIFF / georaster-layer-for-leaflet

Display GeoTIFFs and soon other types of raster on your Leaflet Map
https://geotiff.github.io/georaster-layer-for-leaflet-example/
Apache License 2.0
286 stars 57 forks source link

Fixed problem of displaced painting, too far to north or south, #6

Closed marcon2 closed 5 years ago

marcon2 commented 5 years ago

Fixed problem of displaced painting, too far to north or south, due to inaccurate lat/lng computation. Now taking projection in consideration by letting map convert pixel to lat/lng.

Also slight speed improvement by skipping the for loop across if latitude is out of range.