Skip to content

Commit

Permalink
Update for maplibre-gl v2
Browse files Browse the repository at this point in the history
  • Loading branch information
ka7eh committed Mar 2, 2022
1 parent 53096bf commit d761821
Show file tree
Hide file tree
Showing 5 changed files with 36 additions and 3,296 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# MapLibre GL Basemaps Control

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

Expand Down
4 changes: 2 additions & 2 deletions example.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
<title>MapLibre GL Basemaps Control</title>

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

<link href="lib/basemaps.css" rel="stylesheet">
<script src="lib/index.js"></script>
Expand Down
Loading

0 comments on commit d761821

Please sign in to comment.