Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@geoblocks/edittrack

Package Overview
Dependencies
Maintainers
6
Versions
61
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@geoblocks/edittrack - npm Package Compare versions

Comparing version 1.3.0 to 1.3.1

4

CHANGES.md
# @geoblocks/edittrack changes
## v1.3.1
- sort POIs when updating index
- Do not clone in getPOIS, getControlPoints(), getSegments()
## v1.3.0

@@ -4,0 +8,0 @@ - publish a transpiled ES6 library + types

18

lib/interaction/TrackData.js

@@ -106,6 +106,10 @@ import { equals } from 'ol/coordinate.js';

// update indices property
this.updateControlPointsIndexes(index);
this.updateSegmentIndexes();
return removed;
}
updateControlPointsIndexes(index) {
for (let i = index; i < this.controlPoints.length; ++i) {
this.controlPoints[i].set('index', i);
}
return removed;
}

@@ -183,5 +187,4 @@ /*

// update indices property
for (let i = deleteIndex; i < this.controlPoints.length; ++i) {
this.controlPoints[i].set('index', i);
}
this.updateControlPointsIndexes(deleteIndex);
this.updateSegmentIndexes();
return {

@@ -194,2 +197,5 @@ deleted: deletedFeatures,

}
updateSegmentIndexes() {
this.segments.forEach((s, idx) => s.set('index', idx, false));
}
updatePOIIndexes() {

@@ -208,2 +214,4 @@ // build a multi point geometry from all segments coordinates

sorted.forEach((s, index) => s.poi.set('index', index));
// We sort the stored pois array itself
this.pois.sort((a, b) => a.get('index') - b.get('index'));
}

@@ -297,2 +305,2 @@ /*

}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiVHJhY2tEYXRhLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vc3JjL2ludGVyYWN0aW9uL1RyYWNrRGF0YS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUMsTUFBTSxFQUFDLE1BQU0sa0JBQWtCLENBQUM7QUFDeEMsT0FBTyx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BbUI7SUFDMUQsT0FBTyxJQUFJLENBQUMsR0FBRyxDQUFDLE9BQU8sQ0FBQyxHQUFHLEtBQUssQ0FBQyxHQUFHLENBQUMsT0FBTyxDQUFDLENBQUM7QUFDaEQsQ0FBQztBQUVELFNBQVMscUJBQXFCLENBQUMsV0FBMkIsRUFBRSxTQUF5QjtJQUNuRixNQUFNLFFBQVEsR0FBRyxJQUFJLFVBQVUsQ0FBQztRQUM5QixXQUFXLENBQUMsV0FBVyxFQUFFLENBQUMsY0FBYyxFQUFFO1FBQzFDLFNBQVMsQ0FBQyxXQUFXLEVBQUUsQ0FBQyxjQUFjLEVBQUU7S0FDekMsQ0FBQyxDQUFDO0lBRUgsTUFBTSxPQUFPLEdBQUcsSUFBSSxPQUFPLENBQUMsRUFBQyxRQUFRLEVBQUMsQ0FBQyxDQUFDO0lBQ3hDLE9BQU8sQ0FBQyxHQUFHLENBQUMsTUFBTSxFQUFFLFNBQVMsQ0FBQyxDQUFDO0lBRS9CLE9BQU8sT0FBTyxDQUFDO0FBQ2pCLENBQUMifQ==

@@ -206,3 +206,9 @@ import Feature from 'ol/Feature.js';

const pois = this.getPOIs();
this.historyManager_.add([...segments, ...controlPoints, ...pois]);
const features = [...segments, ...controlPoints, ...pois];
const clonedFeatures = features.map(f => {
const nf = f.clone();
nf.setId(f.getId());
return nf;
});
this.historyManager_.add(clonedFeatures);
}

@@ -311,17 +317,23 @@ get mode() {

}
/**
* See `addPOI`, `deletePOI`, updatePOIMeta`.
* The library maintains the POI indexes and geometries so don't modify them.
* @return the internal POIs as a readonly array
*/
getPOIs() {
return this.trackData_.getPOIs().map((point) => {
const clone = point.clone();
clone.setId(point.getId());
return clone;
});
return this.trackData_.getPOIs();
}
/**
* The library creates and keeps the control points consistently with the segments.
* It is generally a bad idea to update control points manually.
* @return the internal control points as a readonly array
*/
getControlPoints() {
return this.trackData_.getControlPoints().map((point, index) => {
const clone = point.clone();
clone.setId(point.getId());
clone.set('index', index);
return clone;
});
return this.trackData_.getControlPoints();
}
/**
* The library manages the segments together with the control points.
* It is probably a bad idea to update segments manually.
* @return the internal segments as a readonly array
*/
getSegments() {

@@ -465,2 +477,2 @@ return this.trackData_.getSegments().map((segment, index) => {

}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiVHJhY2tNYW5hZ2VyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vc3JjL2ludGVyYWN0aW9uL1RyYWNrTWFuYWdlci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLE9BQU8sTUFBTSxlQUFlLENBQUM7QUFDcEMsT0FBTyxLQUFLLE1BQU0sa0JBQWtCLENBQUM7QUFFckMsT0FBTyxTQUFTLE1BQU0sYUFBYSxDQUFDO0FBQ3BDLE9BQU8sWUFBWSxNQUFNLGdCQUFnQixDQUFDO0FBQzFDLE9BQU8sZ0JBQWdCLE1BQU0sb0JBQW9CLENBQUM7QUFDbEQsT0FBTyxjQUFjLE1BQU0sa0JBQWtCLENBQUM7QUFFOUMsT0FBTyxFQUFlLHVCQUF1QixFQUFDLE1BQU0saUJBQWlCLENBQUM7QUFFdEUsT0FBTyxFQUFDLFFBQVEsRUFBQyxNQUFNLFFBQVEsQ0FBQztBQTJDaEMsTUFBTSxDQUFDLE9BQU8sT0FBTyxZQUFZO0lBRXZCLElBQUksQ0FBTTtJQUNsQixJQUFJLEdBQUc7UUFDTCxPQUFPLElBQUksQ0FBQyxHQUFHLENBQUM7SUFDbEIsQ0FBQztJQUNPLE9BQU8sQ0FBZTtJQUN0QixXQUFXLENBQTRCO0lBQy9DLElBQUksVUFBVTtRQUNaLE9BQU8sSUFBSSxDQUFDLFdBQVcsQ0FBQztJQUMxQixDQUFDO0lBQ08saUJBQWlCLENBQTRCO0lBQzdDLGFBQWEsQ0FBUztJQUN2QixRQUFRLEdBQUcsSUFBSSxDQUFDO0lBQ2YsS0FBSyxHQUFjLEVBQUUsQ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FBZ0MsQ0FBQyxLQUFLLENBQUMsQ0FBQztRQUMvQyxDQUFDO0lBQ0gsQ0FBQztJQUVEOztPQUVHO0lBQ0gsS0FBSyxDQUFDLElBQUk7UUFDUixJQUFJLElBQUksQ0FBQyxJQUFJLEtBQUssTUFBTSxFQUFFLENBQUM7WUFDekIsTUFBTSxRQUFRLEdBQUcsSUFBSSxDQUFDLGVBQWUsQ0FBQyxJQUFJLEVBQUUsQ0FBQztZQUM3QyxJQUFJLENBQUMsY0FBYyxFQUFFLENBQUM7WUFDdEIsSUFBSSxRQUFRLEVBQUUsQ0FBQztnQkFDYixNQUFNLElBQUksQ0FBQyx3QkFBd0IsQ0FBQyxRQUFRLENBQUMsR0FBRyxDQUFDLE9BQU8sQ0FBQyxFQUFFO29CQUN6RCxtR0FBbUc7b0JBQ25HLE1BQU0sS0FBSyxHQUFHLE9BQU8sQ0FBQyxLQUFLLEVBQUUsQ0FBQztvQkFDOUIsS0FBSyxDQUFDLEtBQUssQ0FBQyxPQUFPLENBQUMsS0FBSyxFQUFFLENBQUMsQ0FBQztvQkFDN0IsT0FBTyxLQUFLLENBQUM7Z0JBQ2YsQ0FBQyxDQUFDLENBQUMsQ0FBQztZQUNOLENBQUM7WUFDRCxJQUFJLENBQUMsZ0NBQWdDLENBQUMsS0FBSyxDQUFDLENBQUM7UUFDL0MsQ0FBQztJQUNILENBQUM7SUFFRCxNQUFNO1FBQ0osSUFBSSxDQUFDLE9BQU8sQ0FBQyxPQUFPLEVBQUUsQ0FBQztRQUN2QixJQUFJLENBQUMsaUJBQWlCLENBQUMsU0FBUyxFQUFFLENBQUMsT0FBTyxFQUFFLENBQUM7SUFDL0MsQ0FBQztDQUNGIn0=

@@ -37,4 +37,6 @@ import Feature from 'ol/Feature.js';

insertControlPointAt(point: Feature<Point>, index: number): Feature<LineString> | undefined;
private updateControlPointsIndexes;
pushControlPoint(point: Feature<Point>): AddedControlPoint;
deleteControlPoint(point: Feature<Point>): DeletedControlPoint;
private updateSegmentIndexes;
updatePOIIndexes(): void;

@@ -41,0 +43,0 @@ deleteLastControlPoint(): Feature<Point | LineString>[];

@@ -81,6 +81,21 @@ import Feature from 'ol/Feature.js';

restoreFeatures(features: Feature<Point | LineString>[]): Promise<void>;
getPOIs(): Feature<Point>[];
getControlPoints(): Feature<Point>[];
getSegments(): Feature<LineString>[];
/**
* See `addPOI`, `deletePOI`, updatePOIMeta`.
* The library maintains the POI indexes and geometries so don't modify them.
* @return the internal POIs as a readonly array
*/
getPOIs(): readonly Feature<Point>[];
/**
* The library creates and keeps the control points consistently with the segments.
* It is generally a bad idea to update control points manually.
* @return the internal control points as a readonly array
*/
getControlPoints(): readonly Feature<Point>[];
/**
* The library manages the segments together with the control points.
* It is probably a bad idea to update segments manually.
* @return the internal segments as a readonly array
*/
getSegments(): readonly Feature<LineString>[];
/**
* Add a POI and notify track change listeners.

@@ -87,0 +102,0 @@ */

{
"name": "@geoblocks/edittrack",
"version": "1.3.0",
"version": "1.3.1",
"description": "Geoblocks edittrack",

@@ -5,0 +5,0 @@ "scripts": {

@@ -147,6 +147,12 @@ import {equals} from 'ol/coordinate.js';

// update indices property
this.updateControlPointsIndexes(index);
this.updateSegmentIndexes();
return removed;
}
private updateControlPointsIndexes(index: number) {
for (let i = index; i < this.controlPoints.length; ++i) {
this.controlPoints[i].set('index', i);
}
return removed;
}

@@ -233,5 +239,4 @@

// update indices property
for (let i = deleteIndex; i < this.controlPoints.length; ++i) {
this.controlPoints[i].set('index', i);
}
this.updateControlPointsIndexes(deleteIndex);
this.updateSegmentIndexes();
return {

@@ -245,2 +250,6 @@ deleted: deletedFeatures,

private updateSegmentIndexes() {
this.segments.forEach((s, idx) => s.set('index', idx, false));
}
updatePOIIndexes() {

@@ -259,2 +268,5 @@ // build a multi point geometry from all segments coordinates

sorted.forEach((s, index) => s.poi.set('index', index));
// We sort the stored pois array itself
this.pois.sort((a, b) => a.get('index') - b.get('index'));
}

@@ -261,0 +273,0 @@

@@ -272,3 +272,9 @@ import Feature from 'ol/Feature.js';

const pois = this.getPOIs();
this.historyManager_.add([...segments, ...controlPoints, ...pois]);
const features = [...segments, ...controlPoints, ...pois];
const clonedFeatures = features.map(f => {
const nf = f.clone();
nf.setId(f.getId());
return nf;
})
this.historyManager_.add(clonedFeatures);
}

@@ -392,20 +398,26 @@

getPOIs(): Feature<Point>[] {
return this.trackData_.getPOIs().map((point) => {
const clone = point.clone();
clone.setId(point.getId());
return clone;
});
/**
* See `addPOI`, `deletePOI`, updatePOIMeta`.
* The library maintains the POI indexes and geometries so don't modify them.
* @return the internal POIs as a readonly array
*/
getPOIs(): readonly Feature<Point>[] {
return this.trackData_.getPOIs();
}
getControlPoints(): Feature<Point>[] {
return this.trackData_.getControlPoints().map((point, index) => {
const clone = point.clone();
clone.setId(point.getId());
clone.set('index', index);
return clone;
});
/**
* The library creates and keeps the control points consistently with the segments.
* It is generally a bad idea to update control points manually.
* @return the internal control points as a readonly array
*/
getControlPoints(): readonly Feature<Point>[] {
return this.trackData_.getControlPoints();
}
getSegments(): Feature<LineString>[] {
/**
* The library manages the segments together with the control points.
* It is probably a bad idea to update segments manually.
* @return the internal segments as a readonly array
*/
getSegments(): readonly Feature<LineString>[] {
return this.trackData_.getSegments().map((segment, index) => {

@@ -412,0 +424,0 @@ const clone = segment.clone();

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc