Make aws/cloudflare depend on pmtiles from npm [#455] (#515)

* Make aws/cloudflare depend on pmtiles from npm [#455]

This is clearer to developers than relying on the local code being built.

* update check_examples.py
* bump openlayers to v2 with upgrade of pmtiles to v4 [#455]
* update to 4.2.1
This commit is contained in:
Brandon Liu
2025-01-14 17:09:11 +08:00
committed by GitHub
parent d3740449d4
commit 61e60c69d2
12 changed files with 95 additions and 33 deletions

View File

@@ -4,7 +4,7 @@
<meta charset="utf-8"/>
<script src="https://cdn.jsdelivr.net/npm/ol@v9.0.0/dist/ol.js"></script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/ol@v9.0.0/ol.css">
<script src="https://unpkg.com/ol-pmtiles@1.0.2/dist/olpmtiles.js"></script>
<script src="https://unpkg.com/ol-pmtiles@2.0.0/dist/olpmtiles.js"></script>
<style>
body, #map {
height:100vh;

View File

@@ -4,7 +4,7 @@
<meta charset="utf-8"/>
<script src="https://cdn.jsdelivr.net/npm/ol@v9.0.0/dist/ol.js"></script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/ol@v9.0.0/ol.css">
<script src="https://unpkg.com/ol-pmtiles@1.0.2/dist/olpmtiles.js"></script>
<script src="https://unpkg.com/ol-pmtiles@2.0.0/dist/olpmtiles.js"></script>
<style>
body, #map {
height:100vh;