From e8b4011cf4415b72cef6bd3888ae96e2d73fec8b Mon Sep 17 00:00:00 2001
From: mike-000 <49240900+mike-000@users.noreply.github.com>
Date: Wed, 29 Dec 2021 19:49:19 +0000
Subject: [PATCH] new example
---
examples/projection-and-scale.html | 18 ++++++++
examples/projection-and-scale.js | 68 ++++++++++++++++++++++++++++++
2 files changed, 86 insertions(+)
create mode 100644 examples/projection-and-scale.html
create mode 100644 examples/projection-and-scale.js
diff --git a/examples/projection-and-scale.html b/examples/projection-and-scale.html
new file mode 100644
index 0000000000..e98f25d8fd
--- /dev/null
+++ b/examples/projection-and-scale.html
@@ -0,0 +1,18 @@
+---
+layout: example.html
+title: Projection and Scale
+shortdesc: Example of maintaining scale when changing projection.
+docs: >
+ Example of maintaining scale when changing projection.
+ `getPointResolution()` is used to calculate the resolution for the
+ new projection which corresponds to that for the old projection.
+tags: "projection, scale"
+---
+