|
POST
|
Well, you need some source that can take a lat/long input and find that location. Couple options to consider: 1) Little hacky, but include Esri World Geocoding Service as a source, but turn suggestions off. It can still search for POIs etc., but will at least not show them as suggestions. Example: https://codepen.io/noash/pen/dyogyLq?editors=1000 2) Build a separate search box using the Locator task and/or the reverseGeocode endpoint. This means there would be 2 search boxes, one for the Search widget and the layer sources, and one for lat/long input. Locator task: Locator | ArcGIS API for JavaScript 4.14 reverseGeocode: reverseGeocode—ArcGIS REST API: World Geocoding Service | ArcGIS for Developers
... View more
03-23-2020
02:19 PM
|
0
|
0
|
1841
|
|
POST
|
So you want users to be able to search for place names in the two layers you defined in the search widget constructor, and be able to do reverse geocoding (e.g. user can supply lat/longs)? The Esri World Geocoding Service (the default source) allows for reverse geocoding. So if you want the user to be able to do reverse geocoding, then I think you either have to allow default sources, or consume a different LocatorSearchSource (e.g. a service that does not have POI information). You might be able to publish this kind of service from ArcGIS Pro, or configure the properties in an ArcGIS Portal locator.
... View more
03-23-2020
12:00 PM
|
0
|
0
|
1841
|
|
POST
|
Hi Fabien, sorry to hear about the trouble with HTML2Canvas.js. I think the takeScreenshot() method targets an off-screen surface from which you can read the image back. Perhaps this helps with VectorTileLayers. Is there a reason why you can't use the takeScreenshot() method for the custom widget? Ryan Libed wrote a great blog about using HTML2Canvas and the takeScreenshot() method, which might be helpful:https://community.esri.com/people/RLibed-esristaff/blog/2018/12/20/screenshots-with-the-arcgis-api-for-javascript-html2canvas
... View more
03-23-2020
11:22 AM
|
0
|
2
|
3521
|
|
POST
|
You might want to consider something like a DictionaryRenderer with CIMSymbol, here is an example: Visualize data with dictionary renderer | ArcGIS API for JavaScript 4.14
... View more
03-20-2020
03:20 PM
|
1
|
0
|
944
|
|
POST
|
Here are some useful samples: GeometryEngine - geodesic buffers | ArcGIS API for JavaScript 4.14 FeatureLayerView - query statistics by geometry | ArcGIS API for JavaScript 4.14
... View more
03-16-2020
12:12 PM
|
0
|
0
|
4289
|
|
POST
|
There is also a lot of good information inside the GeometryEngine class: geometryEngine | ArcGIS API for JavaScript 4.14
... View more
03-16-2020
12:11 PM
|
1
|
13
|
5443
|
|
POST
|
Hi Jack, at this time we do not have plans to add support for ellipses in the 4x API. The thread you referenced is probably your best bet for now, unless someone else in the community has a better method.
... View more
03-11-2020
02:14 PM
|
1
|
1
|
6867
|
|
POST
|
You could also use a RequestInterceptor if you want to be fancy with the response: API Reference: AfterInterceptorCallback
... View more
03-10-2020
02:51 PM
|
0
|
2
|
1505
|
|
POST
|
Can you share a working codepen that shows the issue? It would be helpful to see the layer for the popup as well. Also, here are some useful resources: Popup Template sample ArcGIS API for JavaScript Sandbox Popup Template tutorial Configure pop-ups | ArcGIS API for JavaScript 4.14
... View more
03-10-2020
11:25 AM
|
0
|
0
|
1292
|
|
POST
|
Currently, we do not offer the ability to download the fonts from static.arcigs.com. We are investigating the ability to package fonts for offline usage. If you have ArcGIS Enterprise, at 10.7, there are a few fonts packaged with Enterprise in .pbf: C:\Program Files\ArcGIS\Portal\apps\fonts Alternatively, with ArcGIS Pro, you can create a map with label classes having the fonts you want, then create a vtpk (even if there is no data). Then unzip the vtpk and extract the fonts.
... View more
03-10-2020
10:59 AM
|
0
|
0
|
6562
|
|
POST
|
Other options include: Download data and upload to ArcGIS Online and consume stats.govt.nz - Geographic boundary files Download data and upload to ArcGIS Online and consume land information new zealand - Data | GIS Data Map Mapping | LINZ Data Service Search through Living Atlas (what Robert recommended) ArcGIS StoryMaps
... View more
03-09-2020
03:29 PM
|
1
|
0
|
2235
|
|
POST
|
Hello, sorry to hear about the trouble you are facing. In general, we do not recommend using multiple layer list widgets. You will get better performance and a better user experience with 1-2 layer list widget(s). Here are a couple other threads on the subject: Multiple LayerLists In Web App Cause Slowness Multiple LayerLists In Web App Google translate to Spanish (if that helps?) Hola, lamento escuchar sobre los problemas que enfrenta. En general, no recomendamos usar widgets de lista de capas múltiples. Obtendrá un mejor rendimiento y una mejor experiencia de usuario con los widgets de lista de 1-2 capas. Arriba hay un par de otros hilos sobre el tema.
... View more
03-09-2020
03:24 PM
|
0
|
1
|
1482
|
|
POST
|
Thank you for the sample. I see that removing a few of the characters from the definition expression does indeed work. It's still quite long. Do you need it to be longer than this? https://codepen.io/noash/pen/eYNyGbP However, I notice that in both the original sample you provided (which does not work for me), and in the modified sample from the link above, the MapServer export request uses a POST, and not a GET. Are you sure you are seeing this request as a GET? You should be able to filter the requests by "export" in the network traffic. Also, it sounds like even POST requests can have server defined restrictions: forms - Can HTTP POST be limitless? - Stack Overflow I am still investigating to see if there is a restriction or setting on ArcGIS Server for POST requests, but I also want to make sure that you are in fact seeing POST requests, and that you need definition expressions to be extremely long (over 25,000 characters not including spaces). Edit: follow-up to this is that we do have a restriction. The maximum post Size configured on Server is 10MB. We are considering making this a configurable property for a later release of Enterprise.
... View more
03-09-2020
03:01 PM
|
2
|
1
|
2302
|
|
POST
|
Hi, do you have a sample app that you could share that shows a long definition expression getting sent as a GET and not automatically converted to a POST?
... View more
03-06-2020
02:27 PM
|
0
|
3
|
2302
|
|
POST
|
I think you're on the right track with the multiple LabelClass and where clauses. This is the approach we use in this sample: Add multiple label classes to a layer The tricky part will be the date conversions and comparisons. I think you could make use of some native JavaScript date/time functions, e.g. JavaScript getTime() Method
... View more
03-04-2020
03:22 PM
|
0
|
0
|
1262
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | Wednesday | |
| 1 | 04-14-2026 11:59 AM | |
| 1 | 05-13-2026 10:29 AM | |
| 1 | 04-10-2026 09:11 AM | |
| 1 | 03-24-2026 11:39 AM |
| Online Status |
Online
|
| Date Last Visited |
2 hours ago
|