stuartmatthews / leaflet-geotiff

Leaflet plugin for displaying geoTIFF raster data
MIT License
174 stars 76 forks source link

Set clip polygon but not work? #30

Open liulangGG opened 4 years ago

liulangGG commented 4 years ago

I set the clip option just like '[ [lat, lon], [lat, lon], [lat, lon] ]', when i use this latlngs to L.polygon(latlngs, {color: 'red'}).addTo(map), it is work, but when i set L.leafletGeotiff(url, { clip: latlngs, renderer: render }) , the map has no geotiff display, but if i don't set clip, it will work.

everestkid commented 4 years ago

Same issue for me