Quick question regarding L.esri.FeatureLayer vs L.esri.DynamicMapLayer
See original GitHub issue@jgravois quick question here for dynamic layers, I use the “layers” option to reference the layer in the URL however is there something similar for https://esri.github.io/esri-leaflet/api-reference/layers/feature-layer.html ?
the URL is https://www.webapps.nwfsc.noaa.gov/server7/rest/services/Hosted/SoCalHookandLineSurvey/FeatureServer/0 can I do
L.esri.featureLayer({
url: 'https://www.webapps.nwfsc.noaa.gov/server7/rest/services/Hosted/SoCalHookandLineSurvey/FeatureServer',
layers: [0]
}).addTo(map);
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
arcgis server - L.esri.featureLayer shows up and sometimes not
The geoportal1's AGS seems to work properly. FF understands the script. But what's not working? If I use L.esri.dynamicMapLayer instead of L.
Read more >L.esri.DynamicMapLayer | Esri Leaflet - ArcGIS Developers
Map Services are used when its preferable to ask the server to draw layers and pass back the image which was generated on...
Read more >how to bind tooltip to L.esri.DynamicMapLayer - Stack Overflow
I can bind a popup to esri leaflet's L.esri.DynamicMapLayer layer but how would I bind a tooltip to below DynamicMapLayer ? var featureLayer...
Read more >Urgent ArcServer mapservice issue - Page 2 - Esri Community
Solved: Hi, We have an app that is having issues, and it looks like it's ArcServer but it could be a network issue....
Read more >esri-leaflet - npm
Leaflet plugins for consuming ArcGIS Online and ArcGIS Server services.. Latest version: 3.0.8, last published: 4 months ago.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
If you’re referring to the symbology–how those points are rendered and are styled on the map–then I think you can look at also using the
esri-leaflet-renderers
plugin. That’ll help youresri-leaflet
featurelayer instance inherit symbology defined by the service at your url at FeatureServer/0 (which I noticed is defined as the red triangle symbol for all points).You could also set your own symbology client-side with the
pointToLayer
orstyle
constructor function options of the feature layer.Thank you @jwasilgeo that plugin solved the symbology problem.