Skip to content

Commit

Permalink
Fix protomaps-leaflet package reference (#48)
Browse files Browse the repository at this point in the history
This fixes the URL that pointed to the wrong package name and non-existing version.
  • Loading branch information
mentalstring authored Aug 17, 2024
1 parent e54d3dd commit 5ddf1a5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions basemaps/leaflet.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ outline: deep
The simplest way to include a map in your application via script includes tag:

```js
// check for the latest version on github...
<script src="https://unpkg.com/protomaps@4.0.1/dist/protomaps-leaflet.js"></script>
<script src="https://unpkg.com/protomaps-leaflet@latest/dist/protomaps-leaflet.js"></script>
<script>
const map = L.map('map')
var layer = protomapsL.leafletLayer({url:'FILE.pmtiles OR ENDPOINT/{z}/{x}/{y}.mvt', theme: 'light'})
Expand Down

0 comments on commit 5ddf1a5

Please sign in to comment.