|
POST
|
Nothing changes. Basically update the codepen. Update the app so that the spatialReference of the StreamLayer matches the spatialReference of the view and pass the points in the spatial reference of the view. For example, this sample https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/client-side-stream-layer-is-not-working-with-point/m-p/1353942#M82941 passes the coordinates in Web Mercator.
... View more
11-28-2023
08:15 AM
|
0
|
0
|
2163
|
|
POST
|
Hi there, Please take a look at the Add an array for client-side features topic to see the requirements for creating a client side stream layer. In this section, the following is pointed out: Geometries of features added to the StreamLayer must be in the spatial reference of the view, because the layer's spatialReference is always set to the spatial reference of the view. To avoid overhead, the stream layer does not do any additional processing or reprojecting on features as they arrive. Based on this statement, you either need to change the basemap of the map to be in WGS 84 or the StreamLayer projection to match the view's spatialReference. In any case, I updated your app to make couple of changes: https://codepen.io/U_B_U/pen/oNmMoyy?editors=1000 1. First I updated the baseman to be WGS84 basemap 2. Then I updated the geometry of the feature you are adding to use x and y coordinates instead of latitude and longitude. You can see these updates in the codepen I provided above.
... View more
11-27-2023
10:23 AM
|
0
|
2
|
2173
|
|
POST
|
Hi there, I think you are asking if a GeoJSONLayer can be persisted in a webmap. It can and this support was added at version 4.22 - https://developers.arcgis.com/javascript/latest/4.22/#better-support-for-csvlayer-and-geojsonlayer
... View more
11-16-2023
12:59 PM
|
0
|
0
|
1128
|
|
POST
|
Hi there, The error is a benign error. This error will be removed and the fix will be available on production (4.28) on Nov 1st.
... View more
10-30-2023
05:21 PM
|
1
|
0
|
1795
|
|
POST
|
Thank you for reporting this issue. We are looking into it.
... View more
10-30-2023
08:30 AM
|
0
|
0
|
1824
|
|
POST
|
Hi there, Can you please provide me with a reproducible case? Without one it is hard to recreate the behavior. Thanks
... View more
10-30-2023
08:20 AM
|
0
|
0
|
1112
|
|
POST
|
Hi there, This bug will be fixed in JS API version 4.28 which will be released late Oct 2023. You can test the fix in our next release after Sept 19th. Please check the changelog for the fix: https://github.com/Esri/feedback-js-api-next/blob/main/CHANGELOG.md
... View more
09-15-2023
07:52 AM
|
0
|
0
|
5041
|
|
POST
|
Hi there, Hopefully I understand your question right. To save a webmap to your portal you must specify the portal url on your portal item before calling webmap.saveAs as shown below: const item = {
title: title.value,
portal: {
url: "url-to-your-portal"
}
};
... View more
08-28-2023
08:31 AM
|
0
|
1
|
1771
|
|
POST
|
Yes you can set the geometry constraint on the MapView. You can see the behavior in this app: https://codepen.io/U_B_U/pen/zYyvWZQ?editors=100
... View more
08-25-2023
09:46 AM
|
0
|
0
|
851
|
|
POST
|
Hi there, That is because the API fetches all of point features at once from the server. Once loaded, the features won't need to be re-requested from the server, which will make future redraws after panning and zooming much faster. This is the release note: https://developers.arcgis.com/javascript/latest/4.19/#performance-improvements If you need to disable this behavior for some reason then you can read how from this post: https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-4-2x-now-much-slower-to-fetch-and-draw/m-p/1136698/highlight/true#M76067
... View more
08-22-2023
02:53 PM
|
1
|
0
|
794
|
|
POST
|
Hi there, You cannot change a symbol of a feature participating in a FeatureLayer. That needs to happen through layer's renderer. If you want to change the color of features that intersect your mouse location you can use the FeatureLayerView.hightlightOptions. This codepen shows how it can be done: https://codepen.io/U_B_U/pen/JjezNYZ?editors=100
... View more
08-04-2023
07:25 AM
|
1
|
0
|
1057
|
|
POST
|
Hi there, The first approach won't work. KMLLayer has sublayers and we don't know about the sublayers. So we can't define popupTemplate on the layer directly. The second approach should work. You can disable the popupEnabled on the MapView. However, you can set the popupTemplate by accessing the graphics which can be accessed via allVisiblePoints, allVisiblePolylines or allVisiblePolygons. The document is wrong these properties return collection of graphics not geometries. We will get the document correct. You can watch the changes on these collections and change the popupTemplate on the graphics. Here is a simple codepen that shows the worflow: https://codepen.io/U_B_U/pen/rNQqgxR?editors=0010
... View more
07-27-2023
12:35 PM
|
0
|
1
|
1391
|
|
POST
|
Hi there, Can you please provide a reproducible case? Without a repro case, it is impossible to say why.
... View more
07-26-2023
01:29 PM
|
0
|
0
|
1160
|
|
POST
|
Hi there, This issue is fixed at version 4.28 which will be released late October 2023. In meantime, you can test the fix using our next version. The issue fix note is added here. Here is a codepen that shows the fix at our next version: https://codepen.io/U_B_U/pen/poQKzxR?editors=1000
... View more
07-19-2023
09:17 AM
|
0
|
1
|
5473
|
|
POST
|
Hi there, Please contact support services to get additional help on this. Perhaps screensharing will help to narrow down the issue.
... View more
07-19-2023
08:06 AM
|
0
|
0
|
2468
|
| 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
|