Skip to content

Commit 77883aa

Browse files
authored
Fix map height in code comment
I guess the height as this is what you have in `mapFitFeatures` call, and the map in the demo is indeed 300px high
1 parent 0bd73f0 commit 77883aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/index.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ const { bearing, center, zoom } = mapFitFeatures(
6565
);
6666

6767
const map = new new maplibregl.Map({
68-
container: 'map', // container ID for a 600px by 400px element
68+
container: 'map', // container ID for a 600px by 300px element
6969
style: 'https://demotiles.maplibre.org/style.json',
7070
center: center, // starting position [lng, lat]
7171
zoom: zoom, // starting zoom

0 commit comments

Comments
 (0)