Skip to content

Commit

Permalink
test deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
petr-hajek committed Sep 17, 2024
1 parent 0368559 commit f145f00
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/components/Map/map.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,14 @@ export default function Map() {
map.current = new maptilersdk.Map({
container: mapContainer.current,
// more about map styles: https://docs.maptiler.com/sdk-js/api/map-styles/
style: "ca4edf54-111a-4225-b8b8-5fd0b17991dd", // This is an id of a custom map, if you don't want to create a custom map you can use for example:
style: "ca4edf54-111a-4225-b8b8-5fd0b17991dd", // This is an id of a custom map.
// If you don't want to create a custom map, you can use for example:
// style: maptilersdk.MapStyle.BACKDROP,
center: [center.lng, center.lat],
zoom: zoom,
hash: true,
terrain: true,
terrainControl: true,
// terrainControl: true,
});

//change map pitch when terrain is loaded
Expand Down

0 comments on commit f145f00

Please sign in to comment.