You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 1, 2022. It is now read-only.
I forked this module to see if an update to mapbox-gl version 0.51.0 might be feasible (it's currently 0.44.1 in package.json).
This would be good because 0.51.0 fixes a problem between mapbox-gl and jsdom which also crops up when testing with mapbox-gl-js-mock.
Two issues emerged with my attempted update to 0.51.0 and I didn't go further so there may be more.
For example:
TypeError: Evented is not a constructor
at new Map (node_modules/mapbox-gl-js-mock/classes/map.js:53:19)
This is because /src/util/evented.js from mapbox-gl originally exported just one object with: module.exports = Evented;
now it exports three separate classes, one of which is called Evented.
If you fix that, it fails again with a similar problem on another class (LatLng).
An update to keep up with mapbox-gl would be much appreciated. Thanks
The text was updated successfully, but these errors were encountered:
mwarren2
changed the title
mapbox-gl dependency is stuck at 0.44.1 - can we have an update please?
mapbox-gl dependency is stuck at 0.44.1 - can we have an update to keep it in line?
Nov 19, 2018
I forked this module to see if an update to mapbox-gl version 0.51.0 might be feasible (it's currently 0.44.1 in package.json).
This would be good because 0.51.0 fixes a problem between mapbox-gl and jsdom which also crops up when testing with mapbox-gl-js-mock.
Two issues emerged with my attempted update to 0.51.0 and I didn't go further so there may be more.
For example:
This is because /src/util/evented.js from mapbox-gl originally exported just one object with:
module.exports = Evented;
now it exports three separate classes, one of which is called Evented.
If you fix that, it fails again with a similar problem on another class (LatLng).
An update to keep up with mapbox-gl would be much appreciated. Thanks
The text was updated successfully, but these errors were encountered: