force POST for featureLayer as GET is too long and fails
See original GitHub issue- Version of Leaflet (
L.version
): 1.0.2 - Version of esri Leaflet (
L.esri.VERSION
): 2.0.6
Steps to reproduce the error: Create large query like: TREEID in (‘12313’, ‘3213’…)
What happens is that services are returning 404 not found. It works fine if i use POST in ArcGIS web query builder but fails if i try to use GET.
Issue Analytics
- State:
- Created 6 years ago
- Comments:10 (5 by maintainers)
Top Results From Across the Web
ArcGIS API 4.17 client side feature layer rendering issues
Solved: I am using a feature layer with client side features. I am using applyEdits to modify the client side features.
Read more >FeatureLayer | API Reference - ArcGIS Developers
A FeatureLayer is a single layer that can be created from a Map Service or Feature ... Very large datasets may require potentially...
Read more >ArcGIS Server Featurelayer: Error on adding features via ...
I tried logging all SQL-statements by PostgreSQL to find out what the problem is. Unfortunately PostgreSQL did only log the INSERT-statement ...
Read more >Working with Your Data Using the ArcGIS API for ... - YouTube
Explore the capabilities of the feature layer that directly connects to your data. In this session you will learn how to create, display, ......
Read more >get feature layer on button click - arcgis js api - Stack Overflow
As I understood, you want to add a layer on button click. Below is the code for this: <!DOCTYPE html> <html> <head> <meta ......
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
Ok, so i concluded that error is in fact somewhere on my ArcGIS server, as it shouldn’t fail for those GET queries (< 2000 chars). Demo ArcGIS services in that jsfiddle helped me figure that out. So now i use POST requests and CORS and it works fine. Thanks.
I was having that issue with ArcGIS verison: 10.22 but i think the problem is in server max url length.