Skip to content

Commit

Permalink
Update OpenLayers from v9.2.4 to v10.0.0 (#82)
Browse files Browse the repository at this point in the history
* Update OpenLayers from v9.2.4 to v10.0.0

close #81

* Update plugin.info.txt
  • Loading branch information
mprins authored Aug 6, 2024
1 parent 0554326 commit a562376
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 11 deletions.
8 changes: 4 additions & 4 deletions ol/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,20 @@ This will get the full/legacy build of OpenLayers. See https://openlayers.org/do

```shell
cd ol
export OL_VERSION=v9.2.4
export OL_VERSION=v10.0.0
wget https://github.com/openlayers/openlayers/releases/download/$OL_VERSION/$OL_VERSION-dist.zip
unzip -jo $OL_VERSION-dist.zip dist/* ol.css ol.css.map
rm $OL_VERSION-dist.zip
```

### custom OpenLayers build

A slightly more complicated build process is required to get an optimized-fot-size build of OpenLayers.
A slightly more complicated build process is required to get an optimized-full-size build of OpenLayers.

```shell
cd ol
rm -rf openlayers
export OL_VERSION=v9.2.4
export OL_VERSION=v10.0.0
git clone https://github.com/openlayers/openlayers.git
cd openlayers
git checkout -b $OL_VERSION-custom $OL_VERSION
Expand All @@ -43,7 +43,7 @@ see https://github.com/walkermatt/ol-layerswitcher#js

```shell
cd ol
export SWITCHER_VERSION=4.1.1
export SWITCHER_VERSION=4.1.2
wget "https://unpkg.com/ol-layerswitcher@$SWITCHER_VERSION" -O ol-layerswitcher.js
wget "https://unpkg.com/ol-layerswitcher@$SWITCHER_VERSION/dist/ol-layerswitcher.css" -O ol-layerswitcher.css
```
2 changes: 1 addition & 1 deletion ol/ol.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion ol/ol.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 1 addition & 3 deletions ol/ol.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion ol/ol.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion plugin.info.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
base openlayersmap
author Mark C. Prins
email [email protected]
date 2024-05-30
date 2024-08-06
name OpenLayers map plugin for DokuWiki
desc Provides a syntax for rendering an OpenLayers based map in a wiki page.
url https://www.dokuwiki.org/plugin:openlayersmap

0 comments on commit a562376

Please sign in to comment.