Fix mapbox-gl maps
This commit is contained in:
parent
24e7b2fec4
commit
c339f7d275
4 changed files with 20 additions and 19 deletions
4
resources/assets/es6/maps.js
vendored
4
resources/assets/es6/maps.js
vendored
|
@ -1,8 +1,8 @@
|
|||
//maps.js
|
||||
import addMapTo from './mapbox-utils';
|
||||
import addMap from './mapbox-utils';
|
||||
|
||||
let mapDivs = document.querySelectorAll('.map');
|
||||
|
||||
for (var div of mapDivs) {
|
||||
addMapTo(div);
|
||||
addMap(div);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue