leaflet.esri icon indicating copy to clipboard operation
leaflet.esri copied to clipboard

addEsriImageMapLayer not working for some image services

Open dewalex opened this issue 4 years ago • 0 comments

I am trying to add Sentinel-2 image layer to my leaflet map and nothing renders. I do the same thing as the Landsat example (which works for me), but just change the URL and the rendering rule to one that is written on the service. Is there a bug or am I doing something wrong?

leaflet() %>%

leaflet.esri::addEsriImageMapLayer( "https://sentinel.arcgis.com/arcgis/rest/services/Sentinel2/ImageServer", imageMapLayerOptions( renderingRule = "Natural Color with DRA" ), group = "test", layerId = "test")

dewalex avatar Jul 31 '20 19:07 dewalex