File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
website/src/content/how_to_use Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff 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```
You can’t perform that action at this time.
0 commit comments