|
POST
|
Hi there, It can be done by listening to `create` event on SketchViewModel. SketchViewModel | ArcGIS API for JavaScript 4.13 -Undral
... View more
12-16-2019
08:39 AM
|
0
|
0
|
863
|
|
POST
|
Hi there, It cannot be done at this release. We will adding capabilities to customize the TimeSlider labels in coming releases. -Undral
... View more
12-13-2019
07:41 AM
|
2
|
0
|
1148
|
|
POST
|
Hi there, It is not working because TextSymbol can only be used to symbolize point geometries. Looks like your graphic has polyline geometry and textsymbol. It wont work. Instead you can get one of the vertices from your polyline and assign this vertex as a point geometry to your graphic. This app here shows the area of a polygon. The area is displayed at the center of the polygon. Hope this helps, -Undral
... View more
12-12-2019
10:48 AM
|
1
|
1
|
1746
|
|
POST
|
Hi there, That is because, the sample is calling sketchViewModel.update method if user clicks outside of the graphic. You can just return when this happens that way you will not use your undo/redo stack. Calling sketchViewMode.update resets the undo/redo stack. else if (event.state === "cancel" || event.state === "complete") {
if (!contains || intersects) {
return;
// sketchViewModel.update([graphic], { tool: "reshape" });
}
}
... View more
12-09-2019
08:48 AM
|
1
|
3
|
3916
|
|
POST
|
Hi there, Please do not use applyEdits. FeatureLayer.applyEdits() method is used to created, update or delete features in a FeatureLayer. You are physically changing features in your service. You can, query your features as you are doing, once the query results are returned you can simply zoom to the query result features by calling MapView.goTo passing the array of features, then display the popupTemplate by calling popup.open. I also updated your app to use FeatureLayerView.queryFeatures method as this method queries the features on the client side without having to make a network trip to the server like FeatureLayer.queryFeatures does. However, this method will query features that are available on the client at the time of query. If you need to make sure that you are querying all features available in the service then use FeatureLayer.queryFeatures. Here is the updated test app. Hope this helps, -Undral
... View more
12-05-2019
09:39 AM
|
0
|
0
|
2148
|
|
POST
|
Hi there, Client side clipping is not possible for ImageryLayer. Most likely you know that the clipping can be done on the server side. But just in case, I am including this info. You can clip the images on the server side by setting ImageryLayer's renderingRule. As you can see from this image service REST doc, the clip is one of the supported raster functions on image services. Hope this helps, -Undral
... View more
12-03-2019
09:39 AM
|
1
|
1
|
1738
|
|
POST
|
Hi there, QueryTask is returning an error because ImageService REST end point does not support `returnExtentOnly` option with Query operation. The SDK document for executeForExtent explains this method only works for feature services and map service layers. Hope this helps, -Undral
... View more
12-03-2019
09:33 AM
|
0
|
1
|
1411
|
|
POST
|
Hi there, Clustering will be available in beta at 4.14. You can test out the clustering in our "next" version. Please use this test app to see clustering in action. You can provide your feedback pertaining to clustering in our "next" version here. Thanks, -Undral
... View more
12-03-2019
09:03 AM
|
1
|
0
|
736
|
|
POST
|
Hi there, I just saw your question. I am sorry for not replying sooner. Tagging our 3D expert here. Raluca Nicola. Thanks, -Undral
... View more
12-03-2019
08:25 AM
|
0
|
0
|
3000
|
|
POST
|
Hi there, You should not be able to select a graphic that is not visible. I am not completely clear on your workflow. Can you please create a simple test app? Thanks, -Undral
... View more
11-22-2019
02:35 PM
|
0
|
0
|
3000
|
|
POST
|
Hi there, I have looked at your codepen. I updated a few things in your codepen to make your current workflow work. Mainly, you should not set outFields instead you have to set the fields property for the new FeatureLayer. See below: layer = new FeatureLayer({
objectIdField: "OBJECTID",
source: featureSet.features,
fields: featureSet.fields,
popupTemplate: {
content: "{name1} in {city} has {OBJECTID}"
},
renderer: newRend
}); Here is the updated codepen. However, I am not sure why you are creating a new FeatureLayer every time users enter a new input. This can lead to sluggish and slow performing app. You should be able to set all of what you are setting on a new featurelayer on your pointservice featurelayer. When user enters an input, call queryFeatures, zoom to that feature all without have to create a new featurelayer everytime!
... View more
11-21-2019
10:25 AM
|
3
|
2
|
2148
|
|
POST
|
Hi there, My guess would be that your changes are not being applied to the feature on the server. You should check if the server is returning an error for your applyEdits operation. Check if the FeatureEditResult contains any errors. You can also check your network request for applyEdits and see if the server is returning any messages.
... View more
11-21-2019
09:00 AM
|
0
|
1
|
1438
|
|
POST
|
Hi there, Unfortunately, I cannot do that. You should log an incident with Esri support services and work with a support analyst. You can create a codepen using a public geojson data. -Undral
... View more
11-21-2019
07:40 AM
|
0
|
1
|
3254
|
|
POST
|
Hi there, I am able to reproduce the issue you described. It appears that `view.updating` value changes several time during basemap swapping. So the `view.takeScreenshot()` is called several times and the images sometimes get returned out of order. I created an issue for this. In meantime, please add a setTimeout before you call takeScreenshot and this will ensure you get the right image. view.watch("updating", async (val) => {
if (!val) {
setTimeout(function(){
view.takeScreenshot().then(function(screenshot){
screenshotDiv.src = screenshot.dataUrl;
});
}, 500);
}
}); -Undral
... View more
11-20-2019
02:28 PM
|
1
|
0
|
3065
|
|
POST
|
Hi there, I cannot really help you without a test case at this point. From what you are describing, seems like you are creating new timeslider from select options on change event. Please create a codepen app if you need more assistance. Thanks, -Undral
... View more
11-20-2019
07:50 AM
|
0
|
3
|
3254
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 11-17-2025 03:29 PM | |
| 1 | 07-09-2025 08:48 AM | |
| 2 | 07-08-2025 08:09 AM | |
| 2 | 07-07-2025 03:57 PM | |
| 1 | 06-11-2025 03:25 PM |
| Online Status |
Offline
|
| Date Last Visited |
12-01-2025
08:03 AM
|