From e0c04a98aa2026d0861ce0316011d72bd1cda4bd Mon Sep 17 00:00:00 2001 From: Tim Schaub Date: Sun, 3 Dec 2023 11:57:15 -0800 Subject: [PATCH] Updated tile sources --- site/src/components/examples/Slider.jsx | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) diff --git a/site/src/components/examples/Slider.jsx b/site/src/components/examples/Slider.jsx index 7802c00..a7bfda9 100644 --- a/site/src/components/examples/Slider.jsx +++ b/site/src/components/examples/Slider.jsx @@ -1,9 +1,8 @@ import Map from '../../../../lib/Map.js'; -import OSM from '../../../../lib/source/OSM.js'; import React, {useState} from 'react'; -import StadiaMaps from '../../../../lib/source/StadiaMaps.js'; import TileLayer from '../../../../lib/layer/Tile.js'; import View from '../../../../lib/View.js'; +import XYZ from '../../../../lib/source/XYZ.js'; function Slider() { const [percent, updatePercent] = useState(50); @@ -25,10 +24,24 @@ function Slider() { - + ArcGIS', + }} + /> - + ArcGIS', + }} + />