From 02d23ea89a644edef21cc17de913221e6f5bb001 Mon Sep 17 00:00:00 2001 From: slutske22 Date: Mon, 2 Aug 2021 11:16:45 -0700 Subject: [PATCH] Updating ts demo and README --- README.md | 3 ++- example-ts/package-lock.json | 30 ++++++++++++++++++++++++++++++ example-ts/package.json | 2 ++ 3 files changed, 34 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 0ce3d1f..7d10ca3 100644 --- a/README.md +++ b/README.md @@ -169,7 +169,8 @@ You must pass an options as the second argument of `getTopography`, *or* you can string none - Optional url for custom tiles to be used instead of Mapbox rgb-terrain. Must be in the standard slippymap tilename format. + Optional url for custom tiles to be used instead of Mapbox rgb-terrain. Must be in the standard slippymap tilename format.
+ 👁 See demo project here 👁 (Note this demo relies on custom tiles that may no longer be available by the time you read this). diff --git a/example-ts/package-lock.json b/example-ts/package-lock.json index de79313..1b65538 100644 --- a/example-ts/package-lock.json +++ b/example-ts/package-lock.json @@ -1175,6 +1175,36 @@ "resolved": "https://registry.npmjs.org/@terraformer/common/-/common-2.0.7.tgz", "integrity": "sha512-8bl+/JT0Rw6FYe2H3FfJS8uQwgzGl+UHs+8JX0TQLHgA4sMDEwObbMwo0iP3FVONwPXrPHEpC5YH7Grve0cl9A==" }, + "@types/esri-leaflet": { + "version": "2.1.9", + "resolved": "https://registry.npmjs.org/@types/esri-leaflet/-/esri-leaflet-2.1.9.tgz", + "integrity": "sha512-Z3GLyJTepEsEpo2FB3eRqSRxGw1Y2Vohpuu5Qp87tc3MGbXjhSUTRYldoaACZj6JQQJuOnyK9FLMdSziq5C1Ow==", + "requires": { + "@types/leaflet": "*" + } + }, + "@types/esri-leaflet-geocoder": { + "version": "2.2.3", + "resolved": "https://registry.npmjs.org/@types/esri-leaflet-geocoder/-/esri-leaflet-geocoder-2.2.3.tgz", + "integrity": "sha512-SyJuRZlPARrPWwx7L5KrvKLNZcbyw4CuCzyj7e3kgo7MZFpFCkGpO7Po5J6kvZt+OdT138u3WpXRVnRNNrSeRQ==", + "requires": { + "@types/esri-leaflet": "*", + "@types/leaflet": "*" + } + }, + "@types/geojson": { + "version": "7946.0.8", + "resolved": "https://registry.npmjs.org/@types/geojson/-/geojson-7946.0.8.tgz", + "integrity": "sha512-1rkryxURpr6aWP7R786/UQOkJ3PcpQiWkAXBmdWc7ryFWqN6a4xfK7BtjXvFBKO9LjQ+MWQSWxYeZX1OApnArA==" + }, + "@types/leaflet": { + "version": "1.7.4", + "resolved": "https://registry.npmjs.org/@types/leaflet/-/leaflet-1.7.4.tgz", + "integrity": "sha512-a3qYlMwJ62+WRoiDmYODUD4KywA14jP2XohAkAWtELGuMAD3MohZa/MmIvQDqF52xNI9OYaY8BMsL+9z7yf2HQ==", + "requires": { + "@types/geojson": "*" + } + }, "@types/q": { "version": "1.5.4", "resolved": "https://registry.npmjs.org/@types/q/-/q-1.5.4.tgz", diff --git a/example-ts/package.json b/example-ts/package.json index 6083abf..d3ed4a8 100644 --- a/example-ts/package.json +++ b/example-ts/package.json @@ -20,6 +20,8 @@ "dependencies": { "@babel/runtime": "^7.14.5", "@babel/runtime-corejs3": "^7.14.5", + "@types/esri-leaflet-geocoder": "^2.2.3", + "@types/leaflet": "^1.7.4", "core-js": "^3.15.0", "esri-leaflet": "^2.5.1", "esri-leaflet-geocoder": "^2.3.3",