|
POST
|
Hi there, This feature is not supported at 4x at the moment. But we are planning to support for it in a near future. I will be sure to update you once it is supported. Thanks, -Undral
... View more
02-25-2021
08:29 AM
|
0
|
1
|
2748
|
|
POST
|
Hi there, John's suggestion is spot on. You have to replace the entire symbol or clone it when you are updating the Graphic's symbol. It was working at 4.17 by "accident". In any case, I will update the Graphic.symbol document to indicate that needs to be cloned and reassigned to the graphic. -Undral
... View more
02-23-2021
11:14 AM
|
1
|
0
|
2483
|
|
POST
|
Hi there, I updated your app and added SketchViewModel and geometryEngine to create a circle with 5km radius with a transparent style. This should get you started. This sample shows how to use SketchViewModel and geometryEngine to resize circle on the fly. Hope this helps, -Undral
... View more
02-17-2021
10:17 AM
|
1
|
0
|
3131
|
|
POST
|
Hi there, I can reproduce the issue and created an issue for it. I will update you here as soon as we get it fixed. -Undral
... View more
02-16-2021
09:58 AM
|
0
|
0
|
2058
|
|
POST
|
Hi there, Yes it seems to be picking up a graphic added to view.graphics. View handles the popup for the graphics added to the view. Please add the graphic to GraphicsLayer instead. This will ensure that the second graphic is not displayed in the the popup. Hope this helps, -Undral
... View more
02-12-2021
04:24 PM
|
0
|
0
|
1238
|
|
POST
|
Hi there, You should not have to use the sketch widget to create new features in a GeoJSONLayer. You can use the Editor widget to create, update or delete features from a GeoJSONLayer. To use GeoJSONLayer with Editor widget, you must set templates property on the layer. This simple test app shows how to set up GeoJSONLayer with Editor widget. You'll have to change to code to work with polygons. Another thing I should point out is that, at 4.18, you have enter values for all attributes fields or have to hit enter (without entering values) to get the Add button enabled after creating a new feature. We have an issue for that. Hope this helps, -Undral
... View more
02-12-2021
03:59 PM
|
0
|
1
|
2491
|
|
POST
|
Hi there, WCSLayer for that matter other layers do not support queryparameters in the url property. The API takes the service end point only from the url and strips out all query parameters just like other layers. You do not need to set service=wcs (the api takes care of it for the WCSLayer). You can use the WCSLayer.coverageId property for the identifier. Please try the following code and see if it works for you. var layer = new WCSLayer({
url: "http://localhost:8083/geoserver/ows",
version: "1.1.1",
opacity: 0.5,
coverageId: "datastore:example"
}); Hope this helps, -Undral
... View more
02-12-2021
01:17 PM
|
0
|
1
|
2876
|
|
POST
|
Hi there, Unfortunately, it cannot be done. We have an enhancement request to change this behavior so that the assigned objectIds are kept between edits. I will be sure to update you once we install this change. -Undral
... View more
02-05-2021
12:02 PM
|
0
|
0
|
1178
|
|
POST
|
Hi there, Can you please provide a reproducible case? Visibility is a layout property (https://docs.mapbox.com/mapbox-gl-js/style-spec/layers/#layout-property) so using setPaintProperties to change style layer visibility wont work. In any case, I am not able to reproduce the issue with this sample. https://developers.arcgis.com/javascript/latest/sample-code/layers-vectortilelayer-json/ Please check out this sample as showcases new methods that will allow you update the vector tile styles. https://developers.arcgis.com/javascript/latest/sample-code/layers-vectortilelayer-style/ -Undral
... View more
01-29-2021
08:51 AM
|
0
|
0
|
1114
|
|
POST
|
Hi there, This simple test app show how to query features of a sublayer that intersect a rectangle. You'd have to modify it so that that you are querying all sublayers you need to query. Hope this helps.
... View more
01-27-2021
08:57 AM
|
1
|
1
|
3330
|
|
POST
|
I updated the app to showcase what are you asking. You will need to tweak it meet your needs. With this said, the application performance will be bad if you are dealing with hundreds of sublayers, lots of fields for each layer, and large geometries... as the application needs to make bunch of server side calls whenever user clicks on the map.
... View more
01-20-2021
04:08 PM
|
1
|
0
|
3999
|
|
POST
|
It will look different because you are setting the visibility of all sublayers. With your code, all layers will be visible. You should set the visible=true to only for the sublayers you want. In this test app, I added a LayerList and as you can see the behavior is same as the 3.x MapViewer.
... View more
01-20-2021
12:23 PM
|
0
|
1
|
2393
|
|
POST
|
Hi there, You can enable popupTemplate on sublayers by calling FeatureLayer.createPopupTemplate and setting the view.popup.defaultPopupTemplatedEnabled property to true. This simple test app shows you how to show the default popup for all sublayers in a MapImageLayer. Hope this helps, -Undral
... View more
01-20-2021
09:19 AM
|
0
|
0
|
4009
|
|
POST
|
Hi there, At 4.x you can watch the View.stationary property to check when the view is done animating, being navigated or resizing. Once the view is stationary then check the view.scale and at the desired scale, change your layer's renderer. Check out this super simple test app for how it can be done. Since you mentioned you are new to 4.x, you may find the following guide docs useful. 1. Visualization overview 2. Watching for property changes 3. Visualization samples Hope this helps, -Undral
... View more
01-15-2021
03:26 PM
|
0
|
1
|
1855
|
|
POST
|
Hi there, Not sure what problem you are running into. I am able to add and view the basemap in 4269. Looks like the sublayer visibilities are set to false. So I slightly changed your code to display the fourth sublayer in the MapImageLayer as shown below. Hope this helps, -Undral var map = new Map({
basemap: new Basemap({
baseLayers: [
new MapImageLayer({
url: "https://imagery.pasda.psu.edu/arcgis/rest/services/pasda/NAIP2019/MapServer",
sublayers: [{
id: 4,
visible: true
}],
title: "Basemap",
visible: true
})
],
spatialReference: {
wkid: 4269
}
});
});
... View more
01-15-2021
02:45 PM
|
0
|
3
|
2416
|
| 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
|