Skip to content

Commit 3c2ec44

Browse files
authored
Upgrade OpemLayers to 10.3.0 (#86)
1 parent d7ddc98 commit 3c2ec44

File tree

5 files changed

+11
-9
lines changed

5 files changed

+11
-9
lines changed

ol/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ This will get the full/legacy build of OpenLayers. See https://openlayers.org/do
77

88
```shell
99
cd ol
10-
export OL_VERSION=v10.2.1
10+
export OL_VERSION=v10.3.0
1111
wget https://github.com/openlayers/openlayers/releases/download/$OL_VERSION/$OL_VERSION-dist.zip
1212
unzip -jo $OL_VERSION-dist.zip dist/* ol.css ol.css.map
1313
rm $OL_VERSION-dist.zip
@@ -20,7 +20,7 @@ A slightly more complicated build process is required to get an optimized-full-s
2020
```shell
2121
cd ol
2222
rm -rf openlayers
23-
export OL_VERSION=v10.2.1
23+
export OL_VERSION=v10.3.0
2424
git clone https://github.com/openlayers/openlayers.git
2525
cd openlayers
2626
git checkout -b $OL_VERSION-custom $OL_VERSION

ol/generate-info.js.diff

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ diff --git a/tasks/generate-info.js b/tasks/generate-info.js
22
index ee9660554..49ca324c8 100644
33
--- a/tasks/generate-info.js
44
+++ b/tasks/generate-info.js
5-
@@ -70,7 +70,26 @@ function getPaths() {
5+
@@ -70,7 +70,28 @@ function getPaths() {
66
walker.on('file', (root, stats, next) => {
77
const sourcePath = path.join(root, stats.name);
88
if (sourcePath.endsWith('.js')) {
@@ -21,9 +21,11 @@ index ee9660554..49ca324c8 100644
2121
+ sourcePath.toLowerCase().includes('mapguide') ||
2222
+ sourcePath.toLowerCase().includes('cartodb') ||
2323
+ sourcePath.toLowerCase().includes('zoomify') ||
24-
+ sourcePath.toLowerCase().includes('mapbox')
24+
+ sourcePath.toLowerCase().includes('mapbox') ||
25+
+ sourcePath.toLowerCase().includes('sentinelhub') ||
26+
+ sourcePath.toLowerCase().includes('flow')
2527
+ ) {
26-
+ // skip
28+
+ // skip adding these files to the paths array
2729
+ } else {
2830
+ paths.push(sourcePath);
2931
+ }

ol/ol.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ol/ol.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

plugin.info.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
base openlayersmap
22
author Mark C. Prins
33
email mprins@users.sf.net
4-
date 2024-09-27
4+
date 2024-12-03
55
name OpenLayers map plugin for DokuWiki
6-
desc Provides a syntax for rendering an OpenLayers based map in a wiki page.
6+
desc Provides a syntax for rendering OpenLayers based maps in wiki pages.
77
url https://www.dokuwiki.org/plugin:openlayersmap

0 commit comments

Comments
 (0)