Skip to content

Commit

Permalink
Merge pull request #1172 from nextcloud/dependabot/npm_and_yarn/mapbo…
Browse files Browse the repository at this point in the history
…x-gl-3.0.1

Build(deps): Bump mapbox-gl from 2.15.0 to 3.0.1
  • Loading branch information
tacruc authored Dec 11, 2023
2 parents f71b0f3 + dae019d commit c0bc10a
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 8 deletions.
26 changes: 19 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
"leaflet.locatecontrol": "^0.79.0",
"leaflet.markercluster": "^1.5.3",
"lrm-graphhopper": "^1.3.0",
"mapbox-gl": "^2.15.0",
"mapbox-gl": "^3.0.1",
"mapbox-gl-leaflet": "^0.0.16",
"maplibre-gl": "^3.6.2",
"nouislider": "^15.7.1",
Expand Down
14 changes: 14 additions & 0 deletions src/components/Map.vue
Original file line number Diff line number Diff line change
Expand Up @@ -779,6 +779,20 @@ export default {
attribution: attrib,
},
},
'Mapbox 3d Preview (Beta)': {
name: 'Mapbox 3d Preview (Beta)',
type: 'base',
attribution: attrib,
tileLayerClass: L.myMapboxGL,
options: {
id: '3d',
accessToken: this.optionValues.mapboxAPIKEY,
minZoom: 1,
maxZoom: 22,
pitch: 60,
attribution: attrib,
},
},
Watercolor: baseLayersByName.Watercolor,
}
}
Expand Down

0 comments on commit c0bc10a

Please sign in to comment.