|
POST
|
Try something like this for the goToOverride: goToOverride: (view, goToParams) => {
const options = {
duration: 2000
};
return view.goTo(goToParams.target, options);
}, The original target will be stored in that 2nd parameter of the goToOverride function.
... View more
05-03-2023
10:29 AM
|
0
|
1
|
1365
|
|
POST
|
Hi Bryan -- we've installed a fix for the upcoming release (4.27). You can test it out using the development version of the API by updating the CDN to https://js.arcgis.com/next. Let me know if you are still running into any issues!
... View more
05-01-2023
04:30 PM
|
0
|
1
|
6794
|
|
POST
|
Hi @KeremDenizmen - have you considered using UniqueValueRenderer? This will allow you to symbolize your features based on categorical attributes. You could use a different CIMSymbol for each category, for example. It also sounds like you might want to create a FeatureLayer from client-side features - I'd recommend checking out the documentation on creating a FeatureLayer here (specifically look at the section called "Add an array of client-side features"): https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#creating-a-featurelayer
... View more
04-28-2023
02:39 PM
|
0
|
0
|
838
|
|
POST
|
Hi @LeoDeng - Thanks for providing the code snippet and for reporting this issue! This is a bug in the API - we'll work on a fix for an upcoming release.
... View more
04-26-2023
08:46 AM
|
0
|
2
|
7453
|
|
POST
|
Hi @CharlesGeiger - the map.basemap property can either autocast from a string or the Basemap class. Using the Basemap class instead of the string, you can bring that National Geographic webmap into your basemap through the portal item id: const map = new Map({
basemap: { // autocasts as new Basemap()
portalItem: {
// id of the National Geographic WebMap
id: "f33a34de3a294590ab48f246e99958c9"
}
}
});
... View more
04-26-2023
08:38 AM
|
0
|
1
|
1484
|
|
POST
|
We have a fix for this issue in the upcoming (4.27) release. You can test it out on our development /next version of the API. Here's an example using FontAwesome in a CIMSymbol in a SceneView: https://codepen.io/annefitz/pen/eYPpxpj?editors=1000 Notice how the font is defined within the CSS @font-face , then is used within the CIMSymbol.
... View more
04-19-2023
04:57 PM
|
1
|
0
|
5515
|
|
POST
|
Hi @ADITYAKUMAR1 - You should be able to call clone() on your symbol after it's been initialized - here's an example: https://codepen.io/annefitz/pen/XWxdJvV (the clone method is called on line 278). Hope this helps!
... View more
04-14-2023
08:53 AM
|
0
|
0
|
1139
|
|
POST
|
Hi @LukaB - unfortunately, this is a known issue and something we are working on improving! As a workaround, you could add the label to your CIMSymbol as a CIMTextSymbol in the markerGraphics of the CIMVectorMarker symbol layer, and use primitive overrides to (1) update the textString based on your feature attribute, and (2) adjust the offsetY of your symbol based on the $view.scale. Here's a quick example I just put together to demonstrate this: https://codepen.io/annefitz/pen/ZEqQzgZ?editors=100
... View more
04-12-2023
04:24 PM
|
0
|
1
|
1554
|
|
POST
|
Hi @michaelpoa - the fonts are a bit different between MapView and SceneView. To bring in custom fonts in a 2D MapView, you would use the esriConfig.fontsUrl property, but in a 3D SceneView, you would use CSS @font-face instead, and bring in the font data from web font (woff or ttf). Check out the labeling guide page for more information. With that being said, I think there is a bug with our CIMSymbol implementation in 3D with icon fonts. We are investigating it further and hope to have a fix in an upcoming release. Thanks!
... View more
04-12-2023
03:18 PM
|
0
|
0
|
5526
|
|
POST
|
@michaelpoa thanks for providing a repro case! We'll take a look.
... View more
04-06-2023
10:13 AM
|
1
|
1
|
2325
|
|
POST
|
Hi @GeoJason - I would love to hear if you've noticed any improvements in your app after updating to version 4.26 of the JavaScript SDK. We made some significant improvements to geometric effects (specifically buffer and offset) this past release. Let me know - thanks!
... View more
04-04-2023
03:55 PM
|
0
|
0
|
1256
|
|
POST
|
Hi @Dirk_Vandervoort - we're adding support for calcite icons in the Expand widget in the upcoming release of the API (version 4.27) through two new properties on the Expand widget, expandIcon and collapseIcon, that accept strings referencing Calcite UI icons. If you want to test out this fix before it heads to production, check out the development version of the API, https://js.arcgis.com/next. Let us know if you have any feedback - thanks!
... View more
04-04-2023
03:33 PM
|
0
|
1
|
2476
|
|
POST
|
Hi @JamesIng , we've installed a fix for this for the June (4.27) release. It is available for testing now on the development version of the API, https://js.arcgis.com/next. Let us know if you are still running into any issues, and you can expect this fix in the upcoming release of the API in June!
... View more
04-04-2023
03:23 PM
|
1
|
0
|
6157
|
|
POST
|
Everything @KenBuja said is 100% right, thanks Ken! I also wanted to point out that Date.now() will not work in Arcade, instead use the built in Arcade function Now() . Also instead of subtracting the dates, I would use the built in DateDiff() function. Hope this helps!
... View more
04-04-2023
12:58 PM
|
1
|
0
|
3148
|
|
BLOG
|
On Tuesday, April 11th, at 9am PDT, a few members of the ArcGIS Maps SDK for JavaScript team will be getting together to discuss some of the exciting new features in the 4.26 release. Come learn about client-side raster functions, 3D enhancements, and more! This will be an informal setting for the JavaScript SDK product team to demo new features and answer questions from the audience. We hope to see you there! Livestream link: https://esriurl.com/WhatsNewJSSDK426
... View more
04-04-2023
09:24 AM
|
5
|
1
|
847
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 3 weeks ago | |
| 1 | 3 weeks ago | |
| 1 | 03-04-2026 08:01 AM | |
| 2 | 03-03-2026 05:23 AM | |
| 2 | 03-03-2026 05:53 AM |
| Online Status |
Offline
|
| Date Last Visited |
2 weeks ago
|