1

ESRI mapservice layer features not loaded entirely when it loaded with L.esri.featureLayer. Features which are visible at a particular zoom level gets loaded and rest all not available for further processing. Only when zoomed out, the map extent expands and all features are loaded.

1
  • I think you will need to add a bit more information for anyone to be able to help. Screen shots, code, etc. Jan 12 '16 at 6:25
1

it is by design that esri leaflet's L.esri.featureLayer only fetches features from a service that are located within the current extent of the map.

check out the sample below for an alternative example which uses L.esri.query to make a request for whatever features you want.

http://esri.github.io/esri-leaflet/examples/feature-layer-snapshot.html

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.