Skip to content

Commit d761821

Browse files
committed
Update for maplibre-gl v2
1 parent 53096bf commit d761821

File tree

5 files changed

+36
-3296
lines changed

5 files changed

+36
-3296
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# MapLibre GL Basemaps Control
22

3-
> The core interactions and stying of this control is based on [Leaflet.Basemaps](https://github.com/consbio/Leaflet.Basemaps)
3+
> The core interactions and styling of this control is based on [Leaflet.Basemaps](https://github.com/consbio/Leaflet.Basemaps)
44
55
A Maplibre GL Control for switching between basemaps. The control only supports raster sources.
66

example.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
<title>MapLibre GL Basemaps Control</title>
88

99
<link href="https://fonts.googleapis.com/css?family=Roboto:400,700" rel="stylesheet">
10-
<link href="https://unpkg.com/maplibre-gl@1.15.0/dist/maplibre-gl.css" rel="stylesheet" />
11-
<script src="https://unpkg.com/maplibre-gl@1.15.0/dist/maplibre-gl.js"></script>
10+
<link href="https://unpkg.com/maplibre-gl@2.1.6/dist/maplibre-gl.css" rel="stylesheet" />
11+
<script src="https://unpkg.com/maplibre-gl@2.1.6/dist/maplibre-gl.js"></script>
1212

1313
<link href="lib/basemaps.css" rel="stylesheet">
1414
<script src="lib/index.js"></script>

0 commit comments

Comments
 (0)