Skip to content

Commit

Permalink
fix: update map zoom and tileset (#150)
Browse files Browse the repository at this point in the history
  • Loading branch information
JuroUhlar authored Jul 15, 2024
1 parent ce1ada9 commit 50d8ae8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/app/playground/components/Map.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export const Map: FunctionComponent<MapProps> = (props) => {
>
<TileLayer
url={`https://api.mapbox.com/styles/v1/{id}/tiles/{z}/{x}/{y}?access_token=${MAPBOX_ACCESS_TOKEN}`}
id='mapbox/outdoors-v11'
id='mapbox/light-v11'
tileSize={512}
zoomOffset={-1}
/>
Expand Down
2 changes: 1 addition & 1 deletion src/shared/utils/locationUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,5 +53,5 @@ export const getZoomLevel = (accuracyRadius?: number) => {
return 5;
}
// City level zoom
return 9;
return 10;
};

0 comments on commit 50d8ae8

Please sign in to comment.