We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I have layers like this http://imagery.arcgisonline.com/arcgis/rest/services/LandsatGLS/NDVI_Colorized/ImageServer that I need to filter by start and end dates. Thank you for posting this excellent sample https://esri.github.io/esri-leaflet/examples/visualizing-time-on-dynamic-map-layer.html. My question is there a method by which I can get metadata if the layer is time enabled and what's the range to preset useful defaults?
Thanks for your help
The text was updated successfully, but these errors were encountered:
@somsub You can use the exact same setTimeRange method on ImageMapLayer that you can on DynamicMapLayer. It is documented in the API reference https://esri.github.io/esri-leaflet/api-reference/layers/image-map-layer.html.
setTimeRange
ImageMapLayer
DynamicMapLayer
You can also use the layer.metadata(callback) method https://esri.github.io/esri-leaflet/examples/getting-service-metadata.html to get layer metadata for your service http://imagery.arcgisonline.com/arcgis/rest/services/LandsatGLS/NDVI_Colorized/ImageServer?f=pjson.
layer.metadata(callback)
It would be nice to have an example of time enabled ImageMapLayer so I'm leaving this open.
Sorry, something went wrong.
Thanks a lot...I'll try to come up with an example for time-enabled ImageMapLayer.
No branches or pull requests
I have layers like this http://imagery.arcgisonline.com/arcgis/rest/services/LandsatGLS/NDVI_Colorized/ImageServer that I need to filter by start and end dates. Thank you for posting this excellent sample https://esri.github.io/esri-leaflet/examples/visualizing-time-on-dynamic-map-layer.html. My question is there a method by which I can get metadata if the layer is time enabled and what's the range to preset useful defaults?
Thanks for your help
The text was updated successfully, but these errors were encountered: