From 7c4c875ccc8833460b4a3550eb9d2da161cb3f6f Mon Sep 17 00:00:00 2001 From: neo Date: Thu, 3 Oct 2024 11:05:18 +0200 Subject: [PATCH 1/3] FIX: title space --- ol-proj4rs-demo-app/style.css | 1 + 1 file changed, 1 insertion(+) diff --git a/ol-proj4rs-demo-app/style.css b/ol-proj4rs-demo-app/style.css index 88edb5e..6d34854 100644 --- a/ol-proj4rs-demo-app/style.css +++ b/ol-proj4rs-demo-app/style.css @@ -15,6 +15,7 @@ html, body { header { font-weight: bold; font-size: 28px; + padding-top: 20px; } h4 { From 6b6cba12410ea6ed863539068355d10d2714ba80 Mon Sep 17 00:00:00 2001 From: neo Date: Thu, 3 Oct 2024 11:08:06 +0200 Subject: [PATCH 2/3] FIX: html about import of proj4rs --- ol-proj4rs-demo-app/reprojection-image.html | 2 +- ol-proj4rs-demo-app/reprojection.html | 2 +- ol-proj4rs-demo-app/sphere-mollweide.html | 2 +- ol-proj4rs-demo-app/wms-image-custom-proj.html | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ol-proj4rs-demo-app/reprojection-image.html b/ol-proj4rs-demo-app/reprojection-image.html index e3f76be..7ab9c34 100644 --- a/ol-proj4rs-demo-app/reprojection-image.html +++ b/ol-proj4rs-demo-app/reprojection-image.html @@ -47,7 +47,7 @@

proj4rs

import OSM from 'ol/source/OSM.js'; import Static from 'ol/source/ImageStatic.js'; import View from 'ol/View.js'; -import {proj4} from './assets/js/proj4.js'; +import {proj4} from 'proj4rs/proj4.js'; import {Image as, Tile as TileLayer} from 'ol/layer.js'; import {getCenter} from 'ol/extent.js'; import {register} from 'ol/proj/proj4.js'; diff --git a/ol-proj4rs-demo-app/reprojection.html b/ol-proj4rs-demo-app/reprojection.html index 37f1547..18e5b24 100644 --- a/ol-proj4rs-demo-app/reprojection.html +++ b/ol-proj4rs-demo-app/reprojection.html @@ -73,7 +73,7 @@

proj4rs

import View from 'ol/View.js'; import WMTS, {optionsFromCapabilities} from 'ol/source/WMTS.js'; import WMTSCapabilities from 'ol/format/WMTSCapabilities.js'; -import {proj4} from './assets/js/proj4.js'; +import {proj4} from 'proj4rs/proj4.js'; import {OSM, TileImage, TileWMS} from 'ol/source.js'; import {createXYZ} from 'ol/tilegrid.js'; import {getCenter, getWidth} from 'ol/extent.js'; diff --git a/ol-proj4rs-demo-app/sphere-mollweide.html b/ol-proj4rs-demo-app/sphere-mollweide.html index b5ee2a0..73b85fc 100644 --- a/ol-proj4rs-demo-app/sphere-mollweide.html +++ b/ol-proj4rs-demo-app/sphere-mollweide.html @@ -46,7 +46,7 @@

proj4rs

import VectorLayer from 'ol/layer/Vector.js'; import VectorSource from 'ol/source/Vector.js'; import View from 'ol/View.js'; -import {proj4} from './assets/js/proj4.js'; +import {proj4} from 'proj4rs/proj4.js'; import {register} from 'ol/proj/proj4.js'; ... diff --git a/ol-proj4rs-demo-app/wms-image-custom-proj.html b/ol-proj4rs-demo-app/wms-image-custom-proj.html index 39b37f4..f7ccadf 100644 --- a/ol-proj4rs-demo-app/wms-image-custom-proj.html +++ b/ol-proj4rs-demo-app/wms-image-custom-proj.html @@ -38,7 +38,7 @@

proj4rs

import Map from 'ol/Map.js'; import Projection from 'ol/proj/Projection.js'; import View from 'ol/View.js'; -import {proj4} from './assets/js/proj4.js'; +import {proj4} from 'proj4rs/proj4.js'; import {ScaleLine, defaults as defaultControls} from 'ol/control.js'; import {fromLonLat} from 'ol/proj.js'; import {register} from 'ol/proj/proj4.js'; From 155f27499e703163deacf78c70fd6db60a3b155d Mon Sep 17 00:00:00 2001 From: neo Date: Thu, 3 Oct 2024 11:09:05 +0200 Subject: [PATCH 3/3] ADD: favicon rust --- ol-proj4rs-demo-app/favicon.ico | 0 ol-proj4rs-demo-app/index.html | 1 + ol-proj4rs-demo-app/reprojection-image.html | 1 + ol-proj4rs-demo-app/reprojection.html | 1 + ol-proj4rs-demo-app/sphere-mollweide.html | 1 + ol-proj4rs-demo-app/wms-image-custom-proj.html | 1 + 6 files changed, 5 insertions(+) create mode 100644 ol-proj4rs-demo-app/favicon.ico diff --git a/ol-proj4rs-demo-app/favicon.ico b/ol-proj4rs-demo-app/favicon.ico new file mode 100644 index 0000000..e69de29 diff --git a/ol-proj4rs-demo-app/index.html b/ol-proj4rs-demo-app/index.html index 182cdbb..0ad76e5 100644 --- a/ol-proj4rs-demo-app/index.html +++ b/ol-proj4rs-demo-app/index.html @@ -3,6 +3,7 @@ OpenLayers + Proj4rs +
OpenLayers + Proj4rs
diff --git a/ol-proj4rs-demo-app/reprojection-image.html b/ol-proj4rs-demo-app/reprojection-image.html index 7ab9c34..3a8e0b8 100644 --- a/ol-proj4rs-demo-app/reprojection-image.html +++ b/ol-proj4rs-demo-app/reprojection-image.html @@ -3,6 +3,7 @@ Image Reprojection +