geojs 1.9.1 → 1.9.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "geojs",
3
- "version": "1.9.1",
3
+ "version": "1.9.2",
4
4
  "description": "JavaScript Geo Visualization and Analysis Library",
5
5
  "homepage": "https://github.com/OpenGeoscience/geojs",
6
6
  "license": "Apache-2.0",
@@ -182,7 +182,7 @@ var lineFeature = function (arg) {
182
182
  const current = lineRecord[j];
183
183
  let p = posFunc(current, j, d, index);
184
184
  if (onlyInvertedY) {
185
- p.y = -p.y;
185
+ p = {x: p.x, y: -p.y};
186
186
  } else if (gcs !== mapgcs) {
187
187
  p = transform.transformCoordinates(gcs, mapgcs, p);
188
188
  }