From af7c84cbff1c9dee8a383e848c3d2816a1fbaab7 Mon Sep 17 00:00:00 2001 From: Harry Bond Date: Sun, 27 Feb 2022 20:16:28 +0000 Subject: [PATCH] improve UI style Signed-off-by: Harry Bond --- .gitignore | 2 + public/ge0.html | 197 +++++++++++++++++++++++++-------- public/get.html | 5 +- public/icons/copy-icon.svg | 9 ++ public/icons/logo-icon.svg | 8 ++ public/placemarks/poi-icon.svg | 17 +++ public/test.html | 26 ++++- src/ge0.ts | 2 +- 8 files changed, 218 insertions(+), 48 deletions(-) create mode 100644 public/icons/copy-icon.svg create mode 100644 public/icons/logo-icon.svg create mode 100644 public/placemarks/poi-icon.svg diff --git a/.gitignore b/.gitignore index 87c8228..2c86d06 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,5 @@ # Autogenerated by esbuild. workers-site/index.js node_modules/ + +.DS_Store diff --git a/public/ge0.html b/public/ge0.html index c1995c4..9ccfcf8 100644 --- a/public/ge0.html +++ b/public/ge0.html @@ -20,55 +20,115 @@ @@ -77,40 +137,89 @@
+
Coordinates copied to clipboard.
diff --git a/public/get.html b/public/get.html index 5819063..132c44b 100644 --- a/public/get.html +++ b/public/get.html @@ -21,7 +21,8 @@ Download and Install Organic Maps @@ -54,7 +78,7 @@ -

geo url scheme

+

Geo url scheme(link)

  1. geo:37.786971,-122.399677
  2. geo:37.786971,-122.399677,1000
  3. diff --git a/src/ge0.ts b/src/ge0.ts index dd20633..9ccc7d2 100644 --- a/src/ge0.ts +++ b/src/ge0.ts @@ -23,7 +23,7 @@ export async function onGe0Decode(template: string, url: string): Promise