|
POST
|
Hello Shaikh, The information provided by you is insufficient. You are just sharing a code where you are calling applyEdits. We are not sure how your edit-complete event is setup. Also are you listening for error event? Is there any error there or in the console. It would be really helpful if you could setup as jsfiddler, where we can see the behaviour. Thanks, Thejus
... View more
09-09-2016
06:31 AM
|
0
|
0
|
2873
|
|
POST
|
Since GraphicLayers are drawn on the client side using SVG, the STYLE_PATH is supported. whereas, DynamicLayers are returned from the server, you would also need to check the REST API supported options Symbol Objects. In short no you cannot use setPath for setLayerDrawingOptions.
... View more
09-07-2016
02:10 PM
|
1
|
0
|
1843
|
|
POST
|
Please share more code so that we can take a look at the implementation. The screen shot of error is not helping much. just by looking at the second image, it feel like the init function is within the require and you are trying to access it outside the require.
... View more
08-31-2016
01:01 PM
|
1
|
1
|
1153
|
|
POST
|
Its my fault. the FindTask returns FindResults[] so you would need to loop through that. function showResults(results) {
var outResult = dojo.filter(results, function (res) {
var feat = res.feature;
return feat.attributes.LA == 'EDDC';
});
.
.
.
... View more
08-31-2016
09:20 AM
|
1
|
1
|
509
|
|
POST
|
If you are using legacy method, then you need to use dojo.filter instead of array.filter
... View more
08-31-2016
07:17 AM
|
0
|
4
|
2318
|
|
POST
|
By default the map initializes with a height and width of 400px, it then get the page/container size and resizes itself. In case the map div container is not displayed (has no width & height), the size is not reset. In your case the contentpane for watermap is not displayed at first so the map is initialized at default extent. And for unknown reason, the label layer is not updated when the map autoresizes, when the tab is visible. Since, your service are secured I am not able to use them in jsbin, to debug. I would suggest you to try to resize the map when the tab changes. If that does not work, then you would have to initialize you watermap the first time the tab is clicked.
... View more
08-30-2016
01:00 PM
|
1
|
7
|
2923
|
|
POST
|
If you know, which area to query, can't you just filter the result of the find task? var features = findTaskResult.features;
var outFeature = array.filter(features, function(feat){
return feat.attributes.AREA === <area defined by which body the user is from>;
});
... View more
08-30-2016
09:22 AM
|
1
|
7
|
2318
|
|
POST
|
What do you mean by "server is collapse"? Do you get any error message? Did you check the server logs to determine what the issue is?
... View more
08-29-2016
06:11 AM
|
0
|
6
|
2242
|
|
POST
|
According to this documentation, 1006 mean invalid html content. ArcGIS REST API. Then I noticed your ajax request contains dataType:'html' , shouldn't it be "json"?
... View more
08-24-2016
10:50 AM
|
0
|
1
|
1793
|
|
POST
|
If you open the service url ( http://myserver/arcgis/rest/services/FACTIBILIDAD/FACTIGIS/FeatureServer ) in browser id should display all the properties and SpatialReference is one among them.
... View more
08-24-2016
08:55 AM
|
1
|
0
|
1793
|
|
POST
|
The geometry seems to be missing the spatial reference information. Does the FeatureServer service spatial reference matches the coordinates?
... View more
08-24-2016
08:22 AM
|
0
|
2
|
1793
|
|
POST
|
Unfortunately, the framework does not support that.You would have to modify the widget for that. Another option would be to create a service with both the table and Featurelayer joined.
... View more
08-22-2016
09:02 AM
|
0
|
0
|
2553
|
|
POST
|
You can use the esri/geometry/webMercatorUtils | API Reference | ArcGIS API for JavaScript 3.17 to convert the geometry to WebMercator projections system.
... View more
08-18-2016
08:23 AM
|
1
|
0
|
3641
|
|
POST
|
What kind of layers are we taking about? FeatureLayer, GraphicsLayer or DynamicMapServiceLayer. If it is a FeatureLayer, it is possible, checkout this sample. Renderer using a function | ArcGIS API for JavaScript 3.17
... View more
08-18-2016
07:59 AM
|
0
|
2
|
1623
|
|
POST
|
May be the documentation is not updated. According to the sample, the query does work with geometry and outStatistics. However, they are not using a MapServer to create a FeatureLayer, the sample uses FeatureServer. What kind of service are you using?
... View more
08-18-2016
06:51 AM
|
0
|
0
|
3641
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 03-24-2017 07:15 AM | |
| 1 | 09-13-2016 06:27 AM | |
| 1 | 05-21-2015 08:06 AM | |
| 1 | 12-16-2015 05:43 AM | |
| 1 | 07-20-2015 09:33 AM |
| Online Status |
Offline
|
| Date Last Visited |
Wednesday
|