POST
|
Yes this is possible! Just update the leadingLayers or trailingLayers properties on Swipe with the layers you want to be included on each side after you click the radio button.
... View more
08-05-2022
08:44 AM
|
0
|
0
|
508
|
POST
|
Hi @YunbeiOu - check out the Swipe Widget with Scroll sample in our documentation. In this sample, we programmatically update the layers used in the Swipe widget as the user scrolls in the app.
... View more
08-04-2022
03:18 PM
|
0
|
2
|
715
|
POST
|
Hi, yes this is possible. Here is an example: https://codepen.io/annefitz/pen/YzaQQwL Just make sure the WMTSLayer is available in the same spatial reference of your SceneView - this is most likely why you are getting the tiling scheme error.
... View more
07-22-2022
09:26 AM
|
1
|
0
|
762
|
POST
|
You can watch the "timeExtent" property on TimeSlider, like this: timeSlider.watch("timeExtent", (newVal, oldVal) =>{
// do something with the old and new values
console.log("Old timeExtent: ", oldVal);
console.log("New timeExtent: ", newVal);
});
... View more
07-20-2022
03:44 PM
|
0
|
0
|
202
|
POST
|
Hi - This GitHub repo shows an example for how to use React with the ArcGIS API for Javascript: https://github.com/Esri/jsapi-resources/tree/master/esm-samples/jsapi-create-react-app
... View more
07-20-2022
11:08 AM
|
0
|
0
|
174
|
POST
|
Hi, view.ui.add should be used to add something (i.e. a widget/HTML element) to a certain position in the view (i.e. "top-right" or "bottom-left"). It is not used to add elements into other HTML elements. This might be what is causing your issue. https://developers.arcgis.com/javascript/latest/api-reference/esri-views-ui-DefaultUI.html#add
... View more
07-20-2022
11:05 AM
|
0
|
0
|
245
|
POST
|
Hi @AvixiSeb - you can download the documentation for the ArcGIS API for JavaScript at https://developers.arcgis.com/downloads/#javascript Hope this helps!
... View more
07-20-2022
11:00 AM
|
0
|
0
|
318
|
POST
|
This blog might be some help - https://www.esri.com/arcgis-blog/products/js-api-arcgis/mapping/how-to-create-a-sparkline-map-with-the-arcgis-api-for-javascript/ In this app, the developers updated the underlying geometry of the vector marker symbol to create a sparkline based on the provided data. I think a similar concept could probably be applied in order to fill the teacup. Keep me updated on your progress! Would love to see the finished product.
... View more
07-07-2022
01:45 PM
|
0
|
0
|
559
|
BLOG
|
Hi @JoelBennett - sorry for the delay! They should be available by the end of the day today.
... View more
07-07-2022
11:36 AM
|
2
|
0
|
614
|
POST
|
You can use a CIMSymbol to do this - here's an example: https://codepen.io/annefitz/pen/BaYpqKd
... View more
05-16-2022
12:36 PM
|
1
|
1
|
507
|
BLOG
|
Hi @StephanieLong1 - sorry for my delayed response! This blog provides a sample dataset and walks you through all the steps needed to publish and prepare your data: https://www.esri.com/arcgis-blog/products/arcgis-online/mapping/preparing-your-data-for-use-with-the-flowrenderer/ Hope this helps! Feel free to reach out if you have any questions.
... View more
05-09-2022
08:10 AM
|
0
|
0
|
151
|
POST
|
Hi @RichardSon - you can just reference the div containing your text as the `content` of the Expand widget. Here's an example: https://codepen.io/annefitz/pen/oNpmWLR Hope this helps!
... View more
04-19-2022
11:10 AM
|
0
|
0
|
179
|
POST
|
That seems to be a bug as well - we've fixed both of these issues for version 4.24. You can try these fixes out ahead of the release with the https://js.arcgis.com/next version of the API. Let us know if you are still running into any issues. Thanks!
... View more
04-19-2022
09:46 AM
|
0
|
0
|
2579
|
POST
|
Hi - what version of the ArcGIS API for JavaScript are you using? Could you share a repro case with me?
... View more
04-18-2022
08:26 AM
|
0
|
1
|
1324
|
POST
|
Hi @MichaelSnook - thanks for reporting this! We're working on a fix for this bug. In the meantime, you can set the basemap directly on the map, and the activeBasemap in the BasemapGallery will update: view.map.basemap = "hybrid";
... View more
04-05-2022
02:16 PM
|
0
|
2
|
2639
|
Title | Kudos | Posted |
---|---|---|
1 | 02-27-2024 01:05 PM | |
2 | 01-04-2024 08:10 AM | |
1 | 12-12-2023 08:55 AM | |
1 | 11-28-2023 01:13 PM | |
1 | 11-09-2023 11:33 AM |
Online Status |
Offline
|
Date Last Visited |
13 hours ago
|