AmericanWhitewater / wh2o-vue

Interactive map and guide for whitewater rivers in North America
https://wh2o-vue.netlify.app/
9 stars 1 forks source link

use refs to initialize all mapbox maps instead of ids #133

Closed ngottlieb closed 4 years ago

ngottlieb commented 4 years ago

this uses refs to initialize all mapbox maps so that they work in the shadow DOM. It's something @drewalth did in the laravel deploy branch for one of the maps, but not all of them, so I applied that across the board for the development branch here. Can be cherry-picked into laravel-deploy until I get that branch fully compatible and able to be merged to development