Skip to content

Commit

Permalink
E1 - change basemap
Browse files Browse the repository at this point in the history
  • Loading branch information
MagdalenaKuch committed Sep 5, 2024
1 parent 4f08603 commit c476ce3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/Map/map.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export default function Map() {
//map options: https://docs.maptiler.com/sdk-js/api/map/
map.current = new maptilersdk.Map({
container: mapContainer.current,
style: maptilersdk.MapStyle.BACKDROP, //more about map styles: https://docs.maptiler.com/sdk-js/api/map-styles/
style: maptilersdk.MapStyle.DATAVIZ.LIGHT, //more about map styles: https://docs.maptiler.com/sdk-js/api/map-styles/
center: [center.lng, center.lat],
zoom: zoom,
hash: true,
Expand Down
2 changes: 1 addition & 1 deletion src/components/Navbar/navbar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export default function Navbar({ handleDrawerOpen, open }) {
<MenuIcon /> {/* ready for E3 where we are going to add a sidebar */}
</IconButton>
<Typography variant="h6" color="inherit" component="div">
This is my map App
Honolulu Accommodation
</Typography>
</Toolbar>
</AppBar>
Expand Down

0 comments on commit c476ce3

Please sign in to comment.