Skip to content

Commit 69927e8

Browse files
chore: upgrade maplibre version
1 parent 8fd7456 commit 69927e8

9 files changed

+22
-3
lines changed

.fleet/settings.json

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"prettier.mode": "Disabled"
3+
}

examples/add-geometry.html

+2
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,11 @@
33
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/leaflet.css" />
44
<script src="https://unpkg.com/[email protected]/dist/leaflet.js"></script>
55
<style>
6+
html,
67
body {
78
margin: 0;
89
padding: 0;
10+
height: 100%;
911
}
1012
#map {
1113
min-height: 500px;

examples/add-popup.html

+2
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,11 @@
33
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/leaflet.css" />
44
<script src="https://unpkg.com/[email protected]/dist/leaflet.js"></script>
55
<style>
6+
html,
67
body {
78
margin: 0;
89
padding: 0;
10+
height: 100%;
911
}
1012
#map {
1113
min-height: 500px;

examples/change-language.html

+2
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,11 @@
33
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/leaflet.css" />
44
<script src="https://unpkg.com/[email protected]/dist/leaflet.js"></script>
55
<style>
6+
html,
67
body {
78
margin: 0;
89
padding: 0;
10+
height: 100%;
911
}
1012
#map {
1113
min-height: 500px;

examples/change-style.html

+2
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,11 @@
33
<link href="https://unpkg.com/[email protected]/dist/leaflet.css" rel="stylesheet" />
44
<script src="https://unpkg.com/[email protected]/dist/leaflet.js"></script>
55
<style>
6+
html,
67
body {
78
margin: 0;
89
padding: 0;
10+
height: 100%;
911
}
1012
#map {
1113
min-height: 500px;

examples/custom-style.html

+2
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,11 @@
33
<link href="https://unpkg.com/[email protected]/dist/leaflet.css" rel="stylesheet" />
44
<script src="https://unpkg.com/[email protected]/dist/leaflet.js"></script>
55
<style>
6+
html,
67
body {
78
margin: 0;
89
padding: 0;
10+
height: 100%;
911
}
1012
#map {
1113
min-height: 500px;

examples/maplibre-gl-leaflet.html

+5-3
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,16 @@
55
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/leaflet.css" />
66
<script src="https://unpkg.com/[email protected]/dist/leaflet.js"></script>
77
<!-- Add maplibre-gl-js -->
8-
<link href='https://unpkg.com/maplibre-gl@2.4.0/dist/maplibre-gl.css' rel='stylesheet' />
9-
<script src='https://unpkg.com/maplibre-gl@2.4.0/dist/maplibre-gl.js'></script>
8+
<link href='https://unpkg.com/maplibre-gl@4.7.1/dist/maplibre-gl.css' rel='stylesheet' />
9+
<script src='https://unpkg.com/maplibre-gl@4.7.1/dist/maplibre-gl.js'></script>
1010
<!-- Add maplibre-gl-leaflet -->
11-
<script src="https://unpkg.com/@maplibre/[email protected].17/leaflet-maplibre-gl.js"></script>
11+
<script src="https://unpkg.com/@maplibre/[email protected].22/leaflet-maplibre-gl.js"></script>
1212
<style>
13+
html,
1314
body {
1415
margin: 0;
1516
padding: 0;
17+
height: 100%;
1618
}
1719
#map {
1820
min-height: 500px;

examples/simple-map.html

+2
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,11 @@
33
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/leaflet.css" />
44
<script src="https://unpkg.com/[email protected]/dist/leaflet.js"></script>
55
<style>
6+
html,
67
body {
78
margin: 0;
89
padding: 0;
10+
height: 100%;
911
}
1012
#map {
1113
min-height: 500px;

examples/use-bearer-auth.html

+2
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,11 @@
33
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/leaflet.css" />
44
<script src="https://unpkg.com/[email protected]/dist/leaflet.js"></script>
55
<style>
6+
html,
67
body {
78
margin: 0;
89
padding: 0;
10+
height: 100%;
911
}
1012
#map {
1113
min-height: 500px;

0 commit comments

Comments
 (0)