Skip to content

Commit

Permalink
[BUILD]
Browse files Browse the repository at this point in the history
  • Loading branch information
Viglino committed Sep 15, 2023
1 parent e876fab commit a48a9ed
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
5 changes: 2 additions & 3 deletions dist/ol-ext.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* ol-ext - A set of cool extensions for OpenLayers (ol) in node modules structure
* @description ol3,openlayers,popup,menu,symbol,renderer,filter,canvas,interaction,split,statistic,charts,pie,LayerSwitcher,toolbar,animation
* @version v4.0.11
* @version v4.0.12
* @author Jean-Marc Viglino
* @see https://github.com/Viglino/ol-ext#,
* @license BSD-3-Clause
Expand Down Expand Up @@ -5740,8 +5740,7 @@ ol.control.SearchGeoportail = class olcontrolSearchGeoportail extends ol.control
var features = response.results;
if (this.get('type') === 'Commune') {
for (var i = features.length - 1; i >= 0; i--) {
if (features[i].kind
&& (features[i].classification > 5 || features[i].kind == "Département")) {
if (features[i].kind !== 'commune') {
features.splice(i, 1);
}
}
Expand Down
4 changes: 2 additions & 2 deletions dist/ol-ext.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ol-ext",
"version": "4.0.11",
"version": "4.0.12",
"description": "A set of cool extensions for OpenLayers (ol) in node modules structure",
"main": "dist/ol-ext.js",
"style": "dist/ol-ext.css",
Expand Down

0 comments on commit a48a9ed

Please sign in to comment.