Merge pull request #543 from pathmapper/update_mb_dependencies

Update mapbox dependencies to current version
This commit is contained in:
pathmapper 2019-07-30 10:51:04 +02:00 committed by GitHub
commit 6057721249
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 16 additions and 16 deletions

24
package-lock.json generated
View file

@ -1282,14 +1282,14 @@
"integrity": "sha1-zlblOfg1UrWNENZy6k1vya3HsjQ=" "integrity": "sha1-zlblOfg1UrWNENZy6k1vya3HsjQ="
}, },
"@mapbox/mapbox-gl-rtl-text": { "@mapbox/mapbox-gl-rtl-text": {
"version": "0.2.1", "version": "0.2.2",
"resolved": "https://registry.npmjs.org/@mapbox/mapbox-gl-rtl-text/-/mapbox-gl-rtl-text-0.2.1.tgz", "resolved": "https://registry.npmjs.org/@mapbox/mapbox-gl-rtl-text/-/mapbox-gl-rtl-text-0.2.2.tgz",
"integrity": "sha512-YhVsCLNgy1lUXqfEFqt89E+JRRviFjkSwrYTnL7sXgwwS6dx/39YRNugBPXTZyNVzmriWedf0J4tu9+xbDGXbw==" "integrity": "sha512-wtmnl0Xf8guc0KdD5Lt6b/kjiwlWf4rJ7RZoY1Ty45YjcRutphzHZuieruTBluKGW/y6PpNPpaI2wr3lkTDrPA=="
}, },
"@mapbox/mapbox-gl-style-spec": { "@mapbox/mapbox-gl-style-spec": {
"version": "13.7.1", "version": "13.7.2",
"resolved": "https://registry.npmjs.org/@mapbox/mapbox-gl-style-spec/-/mapbox-gl-style-spec-13.7.1.tgz", "resolved": "https://registry.npmjs.org/@mapbox/mapbox-gl-style-spec/-/mapbox-gl-style-spec-13.7.2.tgz",
"integrity": "sha512-mCtEbsJC7WEAjNtooqhTw2elDJ5EqoG4gYZIKjI7h5XrYMTLbNnr2xWQClZcjVtbwxietRdJexMMG+BUa32FYQ==", "integrity": "sha512-miSj3X/xtGOPtS1XoEFGj5H2YHxFkmcniwbnRdPw+CMudb+uMW+frngDcXaJmdWzsl0U0eIVhWP9LrFcZzGoZA==",
"requires": { "requires": {
"@mapbox/jsonlint-lines-primitives": "~2.0.2", "@mapbox/jsonlint-lines-primitives": "~2.0.2",
"@mapbox/unitbezier": "^0.0.0", "@mapbox/unitbezier": "^0.0.0",
@ -9144,9 +9144,9 @@
} }
}, },
"mapbox-gl": { "mapbox-gl": {
"version": "1.1.1", "version": "1.2.0",
"resolved": "https://registry.npmjs.org/mapbox-gl/-/mapbox-gl-1.1.1.tgz", "resolved": "https://registry.npmjs.org/mapbox-gl/-/mapbox-gl-1.2.0.tgz",
"integrity": "sha512-i57kASg8J/U/lJzBePyqTP2ImKUcx8FkHyCjb3ssWYaBBXHUeZ4STGXXfU9u1AQU9170PjDIJLubUUB1vLLSBQ==", "integrity": "sha512-RDo0kMuo9gs6HFX2Maj+tYO5bUT6WFTQkFbJoKdfe2pK8SY/RgyG3SNJRgZypdBR8loxGCG9geeOwc+JJqblHQ==",
"requires": { "requires": {
"@mapbox/geojson-rewind": "^0.4.0", "@mapbox/geojson-rewind": "^0.4.0",
"@mapbox/geojson-types": "^1.0.2", "@mapbox/geojson-types": "^1.0.2",
@ -14381,9 +14381,9 @@
} }
}, },
"supercluster": { "supercluster": {
"version": "6.0.1", "version": "6.0.2",
"resolved": "https://registry.npmjs.org/supercluster/-/supercluster-6.0.1.tgz", "resolved": "https://registry.npmjs.org/supercluster/-/supercluster-6.0.2.tgz",
"integrity": "sha512-NTth/FBFUt9mwW03+Z6Byscex+UHu0utroIe6uXjGu9PrTuWtW70LYv9I1vPSYYIHQL74S5zAkrXrHEk0L7dGA==", "integrity": "sha512-aa0v2HURjBTOpbcknilcfxGDuArM8khklKSmZ/T8ZXL0BuRwb5aRw95lz+2bmWpFvCXDX/+FzqHxmg0TIaJErw==",
"requires": { "requires": {
"kdbush": "^3.0.0" "kdbush": "^3.0.0"
} }

View file

@ -21,8 +21,8 @@
"homepage": "https://github.com/maputnik/editor#readme", "homepage": "https://github.com/maputnik/editor#readme",
"dependencies": { "dependencies": {
"@babel/runtime": "^7.1.2", "@babel/runtime": "^7.1.2",
"@mapbox/mapbox-gl-rtl-text": "^0.2.1", "@mapbox/mapbox-gl-rtl-text": "^0.2.2",
"@mapbox/mapbox-gl-style-spec": "^13.7.1", "@mapbox/mapbox-gl-style-spec": "^13.7.2",
"classnames": "^2.2.6", "classnames": "^2.2.6",
"codemirror": "^5.40.2", "codemirror": "^5.40.2",
"color": "^3.0.0", "color": "^3.0.0",
@ -35,7 +35,7 @@
"lodash.get": "^4.4.2", "lodash.get": "^4.4.2",
"lodash.isequal": "^4.5.0", "lodash.isequal": "^4.5.0",
"lodash.throttle": "^4.1.1", "lodash.throttle": "^4.1.1",
"mapbox-gl": "^1.1.1", "mapbox-gl": "^1.2.0",
"mapbox-gl-inspect": "^1.3.1", "mapbox-gl-inspect": "^1.3.1",
"maputnik-design": "github:maputnik/design", "maputnik-design": "github:maputnik/design",
"ol": "^6.0.0-beta.8", "ol": "^6.0.0-beta.8",

View file

@ -144,7 +144,7 @@ export default class MapboxGlMap extends React.Component {
const zoom = new ZoomControl; const zoom = new ZoomControl;
map.addControl(zoom, 'top-right'); map.addControl(zoom, 'top-right');
const nav = new MapboxGl.NavigationControl(); const nav = new MapboxGl.NavigationControl({visualizePitch:true});
map.addControl(nav, 'top-right'); map.addControl(nav, 'top-right');
const tmpNode = document.createElement('div'); const tmpNode = document.createElement('div');