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
284 stars 57 forks source link

Easily ID Layer Type #65

Open DanielJDufour opened 2 years ago

DanielJDufour commented 2 years ago

Would like an easy way to easily determine if something is a GeoRaster Layer

Maybe edit the lyr.name or lyr.constructor.name to be GeoRasterLayer? Or add a type like lyr.type === GeoRasterLayer?