|
POST
|
Hello Raj, can you please provide a simplified version of the specific portion of your code as a working codepen, jsbin, or similar, so we can see what you're trying?
... View more
08-06-2018
11:18 AM
|
0
|
0
|
3867
|
|
POST
|
Category filtering—ArcGIS REST API: World Geocoding Service | ArcGIS for Developers "food" is a Category Level 2 search term which means results of all sub-categories types will be returned. On the other hand "dentist" is a Category Level 3 term; when using the Level 3 terms I normally also include the Level 2 term. Try specifying "Professional and Other Places" in addition to "dentist": http://geocode.arcgis.com/arcgis/rest/services/World/GeocodeServer/findAddressCandidates?category=Professional%20and%20Other%20Places,dentist&outFields=city,country,placename&maxLocations=2&location=-79.35641669109725,43.903606006706035&forStorage=false&f=pjson
... View more
08-06-2018
10:44 AM
|
1
|
0
|
4914
|
|
POST
|
You can try using the 'start' and 'num' parameters to break up the queries into manageable numbers (Query | API Reference | ArcGIS API for JavaScript 4.8) Providing a decent UX for >100,000 features can be tricky so might think about filtering the data as part or your query, or providing a some type of 'paging' UI.
... View more
08-06-2018
10:20 AM
|
2
|
2
|
3867
|
|
POST
|
Maybe this will help: Feature | API Reference | ArcGIS API for JavaScript 4.8
... View more
08-03-2018
08:19 AM
|
1
|
3
|
2769
|
|
POST
|
JS API 4.8 added a Bookmark Widget - Bookmarks | API Reference | ArcGIS API for JavaScript 4.8 - Bookmarks widget | ArcGIS API for JavaScript 4.8
... View more
08-01-2018
04:30 PM
|
2
|
0
|
2107
|
|
POST
|
Do you have a codepen (or something similar) so we can actually see what might be going on?
... View more
07-26-2018
10:46 AM
|
0
|
0
|
2579
|
|
POST
|
I wonder if this sample might help: Query features from a FeatureLayer | ArcGIS API for JavaScript 4.8
... View more
07-25-2018
05:40 PM
|
0
|
2
|
2579
|
|
POST
|
If ar2D[0] represents a point, then it wouldn't make sense to use ar2D as the 'rings' of a polygon. Considering that the extent coordinates are NaN, my guess is that ar2D needs to be wrapped up in an array like so: var polygon_ = new esri.geometry.Polygon({ "rings": [ar2D], "spatialReference": { "wkid": 102100 } }); ...but just guessing as we have no idea what ar2D is...
... View more
03-09-2018
02:30 PM
|
2
|
0
|
2496
|
|
POST
|
...check the spelling of the geometryEngine method... geometryEngine.geodesicBuffer
... View more
03-01-2018
10:41 AM
|
1
|
9
|
3287
|
|
POST
|
Make sure to check out the versions used in 4.x, for example: Additional packages. It could be something simple like setting the 'collection' property instead of 'store', or it could be something more complicated depending on what dgrid/dstore functionality you'd like to use. Check out the migration guide here: dgrid/0.4 Migration
... View more
01-31-2018
11:47 AM
|
1
|
2
|
1749
|
|
POST
|
I can't recall the exact details, but I think I've used this in the past: view.extent = view.extent;
... View more
01-29-2018
02:47 PM
|
0
|
0
|
1042
|
|
POST
|
Dalton, I don't know for sure if this will work, but have you tried adding the required azure api authentication info via a local proxy on your web server hosting your app? You can add a proxy rule to your code so all communication for your service goes via the local proxy which would augment the call by adding the necessary information: see Esri/resource-proxy. Also, it seems like the esri/request method has a 'headers' property, but I haven't used it so I don't know if it'll help. In the past I would have used 'setRequestPreCallback' but I'm not sure if it made it into 4.x, and not sure if you'd want to use it as you'd be exposing your key in the js code. I think using a local proxy is a possible good option for what you need.
... View more
01-26-2018
10:33 AM
|
1
|
0
|
4501
|
|
POST
|
Dalton, Thank you for the clarification. Trying to load 30k elements into a browser is never an ideal use case, regardless of the type of information; it won't matter if they're just images or GIS features (especially if they're more than just points). Ideally this amount of information would be best served up as a tiled service, or even a dynamic map service, and as a last resort maybe a feature service. Each one of these options presents increasing client-side challenges and performance normally degrades at each level. When working with your data via a service we can optimize the process on both the server and client so performance with large datasets becomes less of an issue. Over the years we've seen many performance improvements for all of these types of services and the webgl rendering that works in conjunction with hosted services functionality is just one of the latest. Authentication of the information provided by the service can be handled in many different ways; all the way from when someone accesses the web page, to the use of a proxy, or using online/enterprise/server authentication, or one of many other options. If necessary, I believe even a SOI on your server could handle custom authentication scenarios. If client-side performance and better use of available functionality in the API are necessary, then please first consider tackling the authentication issues before trying to loading 30k features directly client-side. Yes, it can be done, but it's not ideal as performance will not be good and you will have many other challenges.
... View more
01-25-2018
02:10 PM
|
2
|
3
|
4501
|
|
POST
|
Also, the webgl rendering you mention above does not apply to 'source' based Feature Layers. Please see the "Known Limitations" section here FeatureLayer webgl-rendering
... View more
01-25-2018
12:13 PM
|
0
|
5
|
4501
|
|
POST
|
Is the data not coming from a Feature Service as is implied above? Also, loading the data via 'source' has many limitations when it comes to using using queries, and definitionExpression won't help as you don't have a service. It always helps to have a jsbin, codepen, or similar so we can all better see the issues.
... View more
01-25-2018
12:07 PM
|
0
|
6
|
4501
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 03-07-2024 04:14 PM | |
| 1 | 02-23-2024 12:40 PM | |
| 1 | 03-01-2024 10:48 AM | |
| 2 | 08-03-2023 02:34 PM | |
| 2 | 07-19-2023 12:05 PM |
| Online Status |
Offline
|
| Date Last Visited |
10-24-2024
06:01 PM
|