Skip to content
This repository was archived by the owner on Sep 1, 2022. It is now read-only.

Commit a90bdff

Browse files
authored
Upgrade mapbox-gl-js version to 0.51.0
2 parents a505c85 + a209cab commit a90bdff

File tree

3 files changed

+491
-910
lines changed

3 files changed

+491
-910
lines changed

classes/map.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ var union = require('@turf/union');
44
var bboxPolygon = require('@turf/bbox-polygon');
55
var buffer = require('@turf/buffer');
66

7-
var LngLat = require('mapbox-gl/src/geo/lng_lat');
8-
var Evented = require('mapbox-gl/src/util/evented');
9-
var Transform = require('mapbox-gl/src/geo/transform');
7+
var LngLat = require('mapbox-gl/src/geo/lng_lat').default;
8+
var Evented = require('mapbox-gl/src/util/evented').Evented;
9+
var Transform = require('mapbox-gl/src/geo/transform').default;
1010
var util = require('mapbox-gl/src/util/util');
1111

1212
var Style = require('./style');
@@ -272,4 +272,4 @@ Map.prototype.remove = function() {
272272
this.sources = [];
273273
}
274274

275-
module.exports = Map;
275+
module.exports = Map;

0 commit comments

Comments
 (0)