From 8c17d2da16379fbe7b60d626a4d6adc0f66509a6 Mon Sep 17 00:00:00 2001 From: Viicos <65306057+Viicos@users.noreply.github.com> Date: Fri, 29 Dec 2023 12:01:50 +0100 Subject: [PATCH 1/2] Fix docstring typo --- src/tiles.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tiles.ts b/src/tiles.ts index 2634b67..226cac1 100644 --- a/src/tiles.ts +++ b/src/tiles.ts @@ -14,7 +14,7 @@ export const buildTileLayerEndpoint = ( /** * A pre-configured tile layer for the Rijksdriehoek (RD) projection (EPSG:28992). * - * This used the standard tile layer with attribution enabled, while limiting the zoom + * This uses the standard tile layer with attribution enabled, while limiting the zoom * level between 1 and 13. * * @note From 5dbe16fa13ecac93f615259feedbafc139ad4404 Mon Sep 17 00:00:00 2001 From: Viicos <65306057+Viicos@users.noreply.github.com> Date: Fri, 29 Dec 2023 12:08:57 +0100 Subject: [PATCH 2/2] Use commit hash references when possible --- README.md | 2 +- src/rd.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index dc51334..80d14c4 100644 --- a/README.md +++ b/README.md @@ -88,7 +88,7 @@ using this library. **References** -- https://github.com/arbakker/pdok-js-map-examples/blob/master/leaflet-geojson-wmts-epsg28992/index.js +- https://github.com/arbakker/pdok-js-map-examples/blob/c9ee1c/leaflet-geojson-wmts-epsg28992/index.js - https://nlmaps.nl/ https://github.com/PDOK/nlmaps/blob/cf2ba6b825853e8bfc34ed3c7b7ff779dda722e9/packages/nlmaps/test/browser-test.js#L36 - https://github.com/geoloep/Leaflet.RD/blob/master/src/leaflet.rd.js diff --git a/src/rd.ts b/src/rd.ts index f572876..87291a9 100644 --- a/src/rd.ts +++ b/src/rd.ts @@ -7,7 +7,7 @@ import 'proj4leaflet'; * @note * * This code is heavily inspired on - * https://github.com/arbakker/pdok-js-map-examples/blob/master/leaflet-geojson-wmts-epsg28992/index.js, + * https://github.com/arbakker/pdok-js-map-examples/blob/c9ee1c/leaflet-geojson-wmts-epsg28992/index.js, * but there are many caveats expressed on * https://geoforum.nl/t/betrouwbare-bron-voor-proj4-definitie-van-rd-new-epsg-28992/5144/16. * @@ -53,7 +53,7 @@ const RESOLUTIONS = [ * * @see * - * https://github.com/arbakker/pdok-js-map-examples/blob/master/leaflet-geojson-wmts-epsg28992/index.js + * https://github.com/arbakker/pdok-js-map-examples/blob/c9ee1c/leaflet-geojson-wmts-epsg28992/index.js */ const RD_PROJECTION = `+proj=sterea\ +lat_0=52.15616055555555\