|
POST
|
tracy, its hard to speak intelligently about what's happening in your application without seeing the request. please consider using either fiddler or the network tab in your browser developer tools to isolate the request to the geocoding service and forward it along.
... View more
05-13-2014
08:00 AM
|
0
|
0
|
2417
|
|
POST
|
perhaps you could just share the request here and what you expect to be returned? http://geocode.arcgis.com/arcgis/rest/services/World/GeocodeServer/find?text=Washington&f=pjson
... View more
05-12-2014
01:51 PM
|
0
|
0
|
2417
|
|
POST
|
i still dont see the problem in a version of that app thats adapted to use an ArcGISDynamicMapServiceLayer and FeatureLayer in selection mode. http://jsfiddle.net/jagravois/HUKX2/
... View more
05-12-2014
11:47 AM
|
1
|
0
|
906
|
|
POST
|
jeff, thanks for the clarification. maybe i'm missing something, but i'd argue that this makes the behavior of the select tool in the editor toolbar the same for points as other geometry types, not different. (ie: when you 'select' a polygon you can't drag the entire feature around or automatically edit individual verticies either)
... View more
05-12-2014
10:02 AM
|
0
|
0
|
2427
|
|
POST
|
@jeff, after modifying the sample Suba provided to use a SimpleMarkerSymbol instead of a TextSymbol, i am able to select the existing point, see the cursor arrow become a hand, then drag the point to a new location. http://jsfiddle.net/jagravois/TQgJG/
... View more
05-12-2014
09:26 AM
|
0
|
0
|
2427
|
|
POST
|
hi helen, if you are passing the results of your query to a generic graphics layer, you can make the symbology anything you want. new SimpleLineSymbol(style,color,width) https://developers.arcgis.com/javascript/jsapi/simplelinesymbol-amd.html when working with featureLayers, by default we inherit the symbology from the service itself, but you are able to override and set your own symbology on the clientside in that situation too. FeatureLayer.setRenderer() https://developers.arcgis.com/javascript/jsapi/featurelayer-amd.html#setrenderer
... View more
05-12-2014
09:15 AM
|
0
|
0
|
2255
|
|
POST
|
hi naveen, what is the error message? what status code is returned by ArcGIS Server? can you share a simplified application which demonstrates the problem? can you share the problematic request itself?
... View more
05-12-2014
09:11 AM
|
0
|
0
|
3414
|
|
POST
|
no worries. 1. make sure to take advantage of either the selectFeatures() callback or the corresponding event listener ("selection-complete") when you'd like to get a reference to a specific feature to update. 2. don't bother instantiating a new Graphic object. just use the mapClick to set graphic.geometry on what's already been selected. (because you don't want to overwrite or blow away the existing attributes.) map.on("click", function(evt) { featureLayer.selectFeatures(query, FeatureLayer.SELECTION_NEW, function(results) { //use the method callback to dig into the results and update its geometry results[0].geometry = evt.mapPoint; //pass the entire array (in this case one feature) back to the server featureLayer.applyEdits(null, results, null); //refresh the layer to make sure the edit was successful featureLayer.refresh(); }); }); here's a working fiddle http://jsfiddle.net/jagravois/Cp9yz/
... View more
05-12-2014
08:31 AM
|
0
|
0
|
1323
|
|
POST
|
hi Aaron, i think the reason you're having a hard time finding documentation on this topic is because its a convention thats related to the REST spec for geocoding services, but also kind of peculiar to local government templates. CandidateFields refers to the fields returned for individual results. You set this to get control over what attributes are present in your results. LocatorFieldValues refers to the name of the individual locator a candidate was located by (since the service is a composite). I believe that setting this property allows you to restrict individual locators that you want to consider results from. here's a sample JSON request that uses 'outFields=*' to show all the available attributes: http://geocode.arcgis.com/arcgis/rest/services/World/GeocodeServer/find?text=Washington&outFields=*&f=pjson hope that helps!
... View more
05-09-2014
01:37 PM
|
0
|
0
|
1118
|
|
POST
|
Dawen, because we have no concept of readonly properties in JavaScript, maxRecordCount is a property of a FeatureLayer that is technically writable, but is really only intended to learn what value has been set by ArcGIS Server when interacting with a particular service. in general, the same concepts for all other graphicsLayers is relevant to a CSV layer. its usually not an optimal user experience to have people interacting with more than 1,000 individual features. Determining Limits for Map Graphics https://developers.arcgis.com/javascript/jshelp/limits_for_graphics.html
... View more
05-09-2014
01:20 PM
|
0
|
0
|
2255
|
|
POST
|
updates to the measurement widget are definitely in the works (in part to leverage the latest geometry service operation toGeoCoordinateString)
... View more
05-09-2014
01:14 PM
|
0
|
0
|
529
|
|
POST
|
should work fine. feel free to post a sample if you're having trouble.
... View more
05-09-2014
01:11 PM
|
0
|
0
|
463
|
|
POST
|
i definitely agree with Rene here. if you only think of street-level matches as appropriate for display in your application, you should be disregarding the candidates returned by more coarse grained locators entirely.
... View more
05-07-2014
01:48 PM
|
0
|
0
|
2417
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 04-16-2014 02:35 PM | |
| 1 | 03-15-2013 04:25 PM | |
| 1 | 06-01-2016 10:51 AM | |
| 1 | 12-28-2015 04:46 PM | |
| 1 | 12-28-2015 05:26 PM |
| Online Status |
Offline
|
| Date Last Visited |
11-11-2020
02:22 AM
|