Skip to content

Commit cd37582

Browse files
committed
lint
1 parent b9e3dc3 commit cd37582

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

website/src/content/how_to_use/leaflet.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Include the following links and scripts in your page:
1010
<script src="https://unpkg.com/leaflet/dist/leaflet.js"></script>
1111

1212
<!-- Maplibre GL -->
13-
<link href="https://unpkg.com/maplibre-gl/dist/maplibre-gl.css" rel='stylesheet' />
13+
<link href="https://unpkg.com/maplibre-gl/dist/maplibre-gl.css" rel="stylesheet" />
1414
<script src="https://unpkg.com/maplibre-gl/dist/maplibre-gl.js"></script>
1515

1616
<!-- Maplibre GL Leaflet -->
@@ -22,11 +22,10 @@ Initialize it to a div like this:
2222
```html
2323
<div id="map" style="width: 100%; height: 500px"></div>
2424
<script>
25-
const map = L.map('map')
26-
.setView([52.517, 13.388], 9.5)
25+
const map = L.map('map').setView([52.517, 13.388], 9.5)
2726
2827
L.maplibreGL({
29-
style: 'https://tiles.openfreemap.org/styles/liberty'
28+
style: 'https://tiles.openfreemap.org/styles/liberty',
3029
}).addTo(map)
3130
</script>
3231
```

0 commit comments

Comments
 (0)