Animated Rainfall Radar custom widget for Experience Builder , worldwide (+src)

1141
4
11-28-2023 02:39 PM
Labels (2)
FredericPoliart_EsriAU
Frequent Contributor

Not sure if this was posted before: 

https://esriaustraliatechblog.wordpress.com/2023/02/15/rain-radar/

One of the most highly requested features for Web Maps has been to overlay the the Rain Radar and animate it

Live demo: Preview Demo here
Video : https://www.youtube.com/watch?v=qSRovErKutw
Source Code: https://github.com/bgtdevhub/rainfall-radar-exb 

 

FredericPoliart_EsriAU_1-1701210978798.png

 

FredericPoliart_EsriAU_4-1701211020981.png


more info : https://esriaustraliatechblog.wordpress.com/2023/02/15/rain-radar/ 



 

 

4 Replies
JeffreyThompson2
MVP Frequent Contributor

This widget does not clean up properly and the radar may come back after you close it. The animation works by quickly adding and removing layers to the map which looks awful in the Map Layers Widget. I think it has other issues as well. I have this widget in one Experience as something of a novelty, so I have never taken the time to try and de-bug it. The code contains numerous useEffect, useCallback and setTimeout functions so it may be tricky to fix it without breaking something else.

On the same site, there is also a great widget for viewing NearMap data. These two widgets do not work well together and will likely throw errors if activated in the same session.

https://esriaustraliatechblog.wordpress.com/2023/01/23/nearmap-arcgis-experience-builder-widget/

GIS Developer
City of Arlington, Texas
José_LuisMartínez_Barba
Emerging Contributor

Does this process consume ArcGIS online credits?

0 Kudos
JeffreyThompson2
MVP Frequent Contributor

The data comes from a free API that is not associated with ESRI, so it won't cost any credits. Generally speaking, it's a pretty good widget, but it does have some bugs.

You may want to poke around ArcGIS Online for a bit to see if you can find radar posted by your country's weather service as many countries have this available as a free service. In the USA, you can find such a layer here.

https://mapservices.weather.noaa.gov/eventdriven/rest/services/radar/radar_base_reflectivity_time/Im...

It updates more frequently than the service this widget uses and contains time enabled data, so it should be possible to use with the Timeline Widget. So it would be a good alternative, if you don't want to deal with this widget's issues.

GIS Developer
City of Arlington, Texas
José_LuisMartínez_Barba
Emerging Contributor

Thank you this well have to do for now because I was using live radar data from the National Weather Service Data as OGC Web Services on the Public Cloud, connecting it thought WMS but it doesn’t cover my area of interest.

0 Kudos