A beginner take on integrating Leaflet and OpenLayers with Stimulus in Rails 7.
Demo app and the code. I may be updating these as I go. I still have a few things to try out.