ol 7.1.1-dev.1668772674496 → 7.1.1-dev.1668846572091
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/Geolocation.js +1 -1
- package/package.json +1 -1
- package/util.js +1 -1
package/Geolocation.js
CHANGED
|
@@ -224,7 +224,7 @@ class Geolocation extends BaseObject {
|
|
|
224
224
|
this.position_[1] = coords.latitude;
|
|
225
225
|
}
|
|
226
226
|
const projectedPosition = this.transform_(this.position_);
|
|
227
|
-
this.set(Property.POSITION, projectedPosition);
|
|
227
|
+
this.set(Property.POSITION, projectedPosition.slice());
|
|
228
228
|
this.set(Property.SPEED, coords.speed === null ? undefined : coords.speed);
|
|
229
229
|
const geometry = circularPolygon(this.position_, coords.accuracy);
|
|
230
230
|
geometry.applyTransform(this.transform_);
|
package/package.json
CHANGED
package/util.js
CHANGED