Skip to content

Commit

Permalink
[VER]
Browse files Browse the repository at this point in the history
  • Loading branch information
Viglino committed Jul 13, 2023
1 parent c937564 commit bf3c281
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
8 changes: 5 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.9
* @version v4.0.10
* @author Jean-Marc Viglino
* @see https://github.com/Viglino/ol-ext#,
* @license BSD-3-Clause
Expand Down Expand Up @@ -21807,7 +21807,8 @@ ol.format.GeoJSONX = class olformatGeoJSONX extends ol.format.GeoJSON {
v[i] = tp;
var dx = v[i][0] - dxy[0];
var dy = v[i][1] - dxy[1];
if (i == 0 || (dx !== 0 || dy !== 0)) {
// Prevent same coords
if (i == 0 || (dx !== 0 || dy !== 0) || v.length===2) {
p = this.encodeNumber(dx, 0) + ','
+ this.encodeNumber(dy, 0)
+ (hasZ ? ',' + this.encodeNumber(v[i][2] - dxy[2], 2) : '')
Expand Down Expand Up @@ -21959,8 +21960,9 @@ ol.format.GeoJSONX = class olformatGeoJSONX extends ol.format.GeoJSON {
found = true;
}
}
if (found)
if (found) {
f.push(prop);
}
}
return f;
}
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.9",
"version": "4.0.10",
"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 bf3c281

Please sign in to comment.