Skip to content

Commit

Permalink
Bump to v4.3.2
Browse files Browse the repository at this point in the history
#279 Bump @babel/traverse from 7.22.17 to 7.23.2
#280 Bump @adobe/css-tools from 4.3.1 to 4.3.2
#282 Tile layer is hidden by the marker layer in Openlayers 9.0.0
  • Loading branch information
Dominique92 committed Feb 27, 2024
1 parent 2d057d0 commit eab21d9
Show file tree
Hide file tree
Showing 13 changed files with 583 additions and 540 deletions.
13 changes: 7 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
</a>
</p>

A geocoder extension compatible with OpenLayers v6.x, v7.x & v8.x
A geocoder extension compatible with OpenLayers v6.x to 9.0.0

![geocoder anim](https://raw.githubusercontent.com/Dominique92/ol-geocoder/screenshots/images/anim.gif)

Expand All @@ -19,6 +19,12 @@ You can see
* a [demo of searching in proton provider using a glass button](http://dominique92.github.io/ol-geocoder/examples/control-glass.html)
* a [demo of creating a custom provider](http://dominique92.github.io/ol-geocoder/examples/custom-provider.html)

## What's new in 4.3.2 ?
Fix current issues
* [#282](https://github.com/Dominique92/ol-geocoder/issues/282) Tile layer is hidden by the marker layer in Openlayers 9.0.0
* [#280](https://github.com/Dominique92/ol-geocoder/pull/280) Bump @adobe/css-tools from 4.3.1 to 4.3.2
* [#279](https://github.com/Dominique92/ol-geocoder/pull/279) Bump @babel/traverse from 7.22.17 to 7.23.2

## Providers
The plugin supports (for now) the following providers:

Expand Down Expand Up @@ -202,8 +208,3 @@ For example :
left: 66px !important;
}
```

# Maintenance takeover
I would like to thank you @jonataswalker & @kirtandesai and the entire development team for the fantastic work done so far creating and maintaining this project.
As they request a new maintainer, I will assume it within the core goals and values of the project.
@Dominque92
43 changes: 20 additions & 23 deletions build/build-css.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@ sass.render({
if (err) throw err.message;

const prefixer = postcss([autoprefixer(), postcssReport({
clearMessages: true
clearMessages: true,
})]);

prefixer.process(result.css, {
from: undefined
from: undefined,
}).then((res) => {
res.warnings().forEach((warn) => {
console.warn(warn.toString());
Expand All @@ -53,27 +53,24 @@ sass.render({

// eslint-disable-next-line no-console
console.log(
boxen(
[
chalk.green.bold('CSS: '),
chalk.yellow.bold(cssSize),
', ',
chalk.green.bold('Gzipped: '),
chalk.yellow.bold(cssGzip),
'\n',
chalk.green.bold('Minified: '),
chalk.yellow.bold(cssMinSize),
', ',
chalk.green.bold('Gzipped: '),
chalk.yellow.bold(cssMinGzip),
'\n',
chalk.green.bold('Now: '),
chalk.yellow.bold(new Date()),
].join(''), {
padding: 1
}
)
);
boxen([
chalk.green.bold('CSS: '),
chalk.yellow.bold(cssSize),
', ',
chalk.green.bold('Gzipped: '),
chalk.yellow.bold(cssGzip),
'\n',
chalk.green.bold('Minified: '),
chalk.yellow.bold(cssMinSize),
', ',
chalk.green.bold('Gzipped: '),
chalk.yellow.bold(cssMinGzip),
'\n',
chalk.green.bold('Now: '),
chalk.yellow.bold(new Date()),
].join(''), {
padding: 1,
}));
});
});
}
Expand Down
7 changes: 4 additions & 3 deletions dist/ol-geocoder-debug.js

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

2 changes: 1 addition & 1 deletion dist/ol-geocoder-debug.js.map

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions dist/ol-geocoder.css
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/*!
* ol-geocoder - v4.3.2-dev
* A geocoder extension compatible with OpenLayers v6.x, v7.x & v8.x
* ol-geocoder - v4.3.2
* A geocoder extension compatible with OpenLayers v6.x to v9.0
* https://github.com/Dominique92/ol-geocoder
* Built: 09/10/2023 10:43:19
* Built: 27/02/2024 17:01:45
*/

.ol-touch .ol-control.gcd-gl-control button {
Expand Down
8 changes: 4 additions & 4 deletions dist/ol-geocoder.js

Large diffs are not rendered by default.

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

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions dist/ol-geocoder.min.css

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

8 changes: 8 additions & 0 deletions examples/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,14 @@
</head>

<body>
<p>
Other demos :
<a href="control-nominatim.html">control-nominatim</a> &nbsp;
<a href="control-glass.html">control-glass</a> &nbsp;
<a href="custom-provider.html">custom-provider</a> &nbsp;
</p>

<hr />
<div id="map"></div>
<p>The control above uses the 'proton' provider & 'glass-button' style.</p>
<hr />
Expand Down
13 changes: 3 additions & 10 deletions examples/nodejs.html → examples/vite.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,9 @@
<script src="https://unpkg.com/[email protected]/dist/ol-popup.js"></script>

<script type="module">
import '../dist/ol-geocoder.css';
import '../dist/ol-geocoder.css'; //TODO use sass preprocessor
import Geocoder from '../src/base';

window.Geocoder = Geocoder;
</script>

Expand All @@ -22,16 +23,8 @@
</head>

<body>
<p>
Other demos :
<a href="control-nominatim.html">control-nominatim</a> &nbsp;
<a href="control-glass.html">control-glass</a> &nbsp;
<a href="custom-provider.html">custom-provider</a> &nbsp;
<a href="index.html">Misc</a> (Label, one shot fly, control out of the map).
</p>

<p>This example needs to be run on <a href="https://nodejs.org/">nodejs</a> environment.</p>
<div id="map">
This example needs to be run on <a href="https://nodejs.org/">nodejs</a> environment.
</div>
</body>

Expand Down
Loading

0 comments on commit eab21d9

Please sign in to comment.