From 9385c6932678347972b0ffafb33a90b4b6eb4c7d Mon Sep 17 00:00:00 2001 From: Brandon Liu Date: Thu, 3 Nov 2022 14:32:35 +0800 Subject: [PATCH] add maplibre raster DEM example --- js/examples/maplibre_raster_dem.html | 72 ++++++++++++++++++++++++++++ js/examples/openlayers_raster.html | 2 +- 2 files changed, 73 insertions(+), 1 deletion(-) create mode 100644 js/examples/maplibre_raster_dem.html diff --git a/js/examples/maplibre_raster_dem.html b/js/examples/maplibre_raster_dem.html new file mode 100644 index 0000000..2d8abf7 --- /dev/null +++ b/js/examples/maplibre_raster_dem.html @@ -0,0 +1,72 @@ + + + PMTiles MapLibre Raster DEM Example + + + + + + + +
+
+ Foo bar baz +
+ + + \ No newline at end of file diff --git a/js/examples/openlayers_raster.html b/js/examples/openlayers_raster.html index 2a60520..28b02e4 100644 --- a/js/examples/openlayers_raster.html +++ b/js/examples/openlayers_raster.html @@ -48,7 +48,7 @@ } } - const source = new OLPMTilesSource("https://pub-9288c68512ed46eca46ddcade307709b.r2.dev/us-west/terrarium_z9.pmtiles"); + const source = new OLPMTilesSource("https://pub-9288c68512ed46eca46ddcade307709b.r2.dev/protomaps-sample-datasets/terrarium_z9.pmtiles"); const rasterLayer = new ol.layer.Tile({ source: new ol.source.XYZ({