Tip for Leaflet + ESRI ArcGIS plug-in + dynamic layers

14 vues
Accéder directement au premier message non lu

Joseph Elfelt

non lue,
23 nov. 2022, 12:36:5823/11/2022
à Leaflet
ESRI has a plug-in that will help you display data hosted on ArcGIS servers.  Some (but not all) ArcGIS MapServer data supports a feature called “Dynamic Layers”.  If the MapServer data you want to display on your map supports this feature then your Leaflet code can tell the ArcGIS server to restyle the data before it appears on the map.  You can change line color, line width, turn polygon fill on/off, mess with labels and more.

Here is ESRI’s documentation for this plug-in:
https://developers.arcgis.com/esri-leaflet/
However, if you try using ESRI’s documentation to learn exactly how to write syntax for “Dynamic Layers” then it is easy to get lost and frustrated.

Here is a PDF I produced that shows you the syntax for using “Dynamic Layers”.  The examples use GISsurfer (https://gissurfer.com) which is a Leaflet map I developed.
https://mappingsupport.com/p2/help/GISsurfer-advanced-arcgis-tips.pdf

Finally, if you are looking for ArcGIS data then here is a list that I curate with addresses for 3,000+ ArcGIS servers at all levels of government from federal to local.  An updated list is usually posted each Wednesday and any bad links are either fixed or flagged.
https://mappingsupport.com/p/surf_gis/list-federal-state-county-city-GIS-servers.pdf
Répondre à tous
Répondre à l'auteur
Transférer
0 nouveau message