Esri / esri-leaflet

A lightweight set of tools for working with ArcGIS services in Leaflet. :rocket:
https://developers.arcgis.com/esri-leaflet/
Apache License 2.0
1.61k stars 799 forks source link

Can I update symbology of a dynamicMapLayer? #1059

Closed ahalota closed 6 years ago

ahalota commented 6 years ago

Hi,

I'm trying to edit the symbology for a polygon that is being shown as part of a dynamicMapLayer. The services is a MapService with a photomosaic db, and footprint and boundary polygon layers.

Is there any way to use esri-leaflet to change the symbology for the boundary layer interactively? (I want to set a thicker line width and possibly color change one mouseover so that my users know what they are looking at)

ahalota commented 6 years ago

Ah, I see now it can act as a FeatureLayer if I just reference that specific layer by its suburl ( ./...Mapserver/1)

Non-issue then. I'll leave this here in case any other curious person checks in.

jgravois commented 6 years ago

:+1: see also https://github.com/Esri/esri-leaflet/issues/566