IDEA
|
ArcGIS Online Web AppBuilder provides Near Me and Screening widgets that are very similar. Both search for target features within a buffer distance around a location, and provide the result back as a list as well as show on the map. We like Screening better because it provides some nice features that Near Me does not have, like download the result in various formats, and print as a report. However, Near Me is more user friendly than Screening, where we hope ESRI can help improve. Here are the list of enhancements we propose to implement for Screening widget. In order for a user to search features around a location, with Screening widget, the user will need to Search a location Click on Zoom to location button at the top left corner to zoom to that location Click Report to get the list of features that fall inside the buffer around the location Expand the feature list to view the result Instead with Near Me, the user will only need to search for a location, and it will perform the rest automatically. One step vs four steps. This will be huge to our end users if we can implement the same in Screening. On the report generated by Screening, In addition to displaying the buffer area, the location address and buffer distance will be more useful info to show. In the result data grid, the last column is Count. I believe there will be some business use cases to display it. Can it be configured to not show it? The space of the report page is limited, and when Count is 1 for all rows, it makes a lot sense to not display it and leave the space for other more useful info. Actually Screening and Near Me can be consolidated into one since their core function is the same, search features near a location.
... View more
10-20-2020
02:09 PM
|
6
|
0
|
1107
|
POST
|
Ok. The cache property is newly introduced for all geometry objects except points in v3.13. I just played a little bit with it. Its value will be undefined by default, and will keep as is if no change is made to the geometry. When the geometry changes, its cache property will be calculated. It has only two private properties: _extent and _partwise. Not sure exactly why it is introduced. Here is my guess. While the user editing a geometry, the cache object will save the intermediate result so to enable drawing them on the map, and it will enable the application to cancel the edit by clearing the cache. Otherwise, when the edit is done, the new geometry will be the last geometry hosted in the cache object. Just a wildly guess. Can anyone from ESRI clarify? How can the developers use this new cache property?
... View more
04-02-2015
11:37 AM
|
2
|
0
|
538
|
POST
|
Here is the problem. You add the find result to map.graphics, but the query result is in featureLayer. Inside onRowClickHandler, you only go through map.graphics.graphics trying to find the matching graphic for the selected row in the query result, which won't find the match, So selectedObjectf will always be null, which triggers the error when it hits selectedObjectf.geometry. To resolve the issue, you can go through featureLayer.graphics to find the matching graphic if the query result row is clicked. Good luck.
... View more
09-11-2014
10:46 AM
|
2
|
2
|
566
|
POST
|
The issue will happen when you add point graphics and text to the same graphics layer. Try to create two graphics layers, one for the points, and one for the text. It should resolve the issue. Good luck.
... View more
09-11-2014
10:29 AM
|
0
|
0
|
590
|
POST
|
We have experienced the same issue for one of our apps. Here is what we did to resolve the issue. Register the app with ArcGIS Online. Once registered, click on the app link to go to the app info page. Under App Registration, you will see the App ID and App Secret. Download the ESRI proxy page via Releases · Esri/resource-proxy · GitHub. If you are using .NET, that will work. The java version has a bug. Let me know if you happen using Java version. Add two serverUrl entries in proxy.config as below: <serverUrl url="http://route.arcgis.com" clientId="the_app_id" clientSecret="the_app_secret" matchAll="true"/> <serverUrl url="http://traffic.arcgis.com" clientId="the_app_id" clientSecret="the_app_secret" matchAll="true"/> Whenever the app hits route.arcgis.com or traffic.arcgis.com which the Directions dijit does, the app will use the proxy page with the client id and secret to request for the token. Once the token is expired after maybe 2 hours, the proxy page will request for a refresh token. But all these happens behind the scene. The app id will be charged for any credits for using the routing service. Hope it helps. Good luck. Jason Zou
... View more
09-11-2014
10:23 AM
|
0
|
1
|
296
|
POST
|
Thanks for the response, John. Hopefully ESRI can come up with some better option for arrows in the near future.
... View more
01-14-2014
10:46 AM
|
0
|
0
|
1283
|
POST
|
Hi John, I noticed that the draw toolbar provides the arrow options. But the arrow width seems to be fixed no matter how I draw the arrow. Is it possible to control the width of the arrow polygon? The default is pretty wide. Thanks, Jason
... View more
01-14-2014
09:09 AM
|
0
|
0
|
1283
|
POST
|
I am confused with the info provided. Are you trying to count the number of feature layers loaded or the number of features of one specific feature layer?
... View more
01-14-2014
04:40 AM
|
0
|
0
|
1029
|
POST
|
First of all, I have to correct what I said in my previous post. You will need to set the infoTemplate for the feature layer, and define map.onClick event handler to make it work correctly. Here is an ESRI sample for accomplishing the similar thing. I am kind of confused about your issue. When you click right on a graphic, a single feature is supposed to be shown in the popup. Can you make it clear what your issue is?
... View more
12-09-2013
05:03 PM
|
0
|
0
|
1152
|
POST
|
When you click on a feature, the following events will be fired based on your code. map.onClick featureLayer.onClick featureLayer.onMouseUp infoWindow popup defined by infoTemplate All the above events are for one thing: display the attributes for the clicked feature(s). Defining any one of them should accomplish what you need. I'd suggest to remove the event handlers for map.onClick and featureLayer.onMouseUp. Keep either infoTemplate or featureLayer.onClick but not both.
... View more
12-07-2013
11:45 AM
|
0
|
0
|
1152
|
POST
|
For a map with a cached map service as the basemap, its extent is determined by the size of the map container, the map center and the zoom level the map is set to. So when you try to set the map's extent like map.setExtent(aExtent), the map will not be zoomed in/out to an extent that exactly equals aExtent. What setExtent actually does, as I understand, is to get the center of aExtent, and calculate which zoom level aExtent is within, then kind of apply map.centerAndZoom. So what you can expect is that the map will center at the aExtent center, and cover aExtent. If the above description makes sense to you, then you may understand why the zoomfactor does not do its work all the time. Zoomfactor is not the zoom level for the map, but to change the given extent to be larger or smaller. Its result will still be an extent.
... View more
12-07-2013
11:18 AM
|
0
|
0
|
759
|
POST
|
Assuming djtPopup holds the reference to the popup, then try below code. on(djtPopup.domNode, "mouseout", function() {
djtPopup.hide();
});
... View more
12-04-2013
06:00 PM
|
0
|
0
|
605
|
Title | Kudos | Posted |
---|---|---|
1 | 09-17-2013 05:16 AM | |
1 | 08-29-2013 10:58 AM | |
1 | 11-06-2013 04:34 AM | |
6 | 10-20-2020 02:09 PM | |
1 | 11-20-2013 06:09 AM |
Online Status |
Offline
|
Date Last Visited |
12-13-2021
02:09 PM
|