Skip to content

Commit 76519e0

Browse files
committed
chore: testing
1 parent eb0e1e9 commit 76519e0

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

app/components/chart/ElevationChart.svelte

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -301,12 +301,6 @@
301301
nChart.highlightValues([highlight]);
302302
if (sendEvent) {
303303
onChartHighlight({ eventName: 'highlight', highlight, object: nChart } as any);
304-
} else {
305-
const positions = (item as any).geometry?.['coordinates'];
306-
const actualIndex = Math.max(0, Math.min(onPathIndex, positions.length - 1));
307-
const position = positions[actualIndex];
308-
DEV_LOG && console.log(' highlight test', JSON.stringify(position));
309-
mapContext.selectItem({ item: { geometry: { type: 'Point', coordinates: position }, properties: {} }, isFeatureInteresting: true, setSelected:false, peek:false });
310304
}
311305
}
312306
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868
"@nativescript-community/text": "1.6.7",
6969
"@nativescript-community/ui-canvas": "4.6.41",
7070
"@nativescript-community/ui-canvaslabel": "1.2.42",
71-
"@nativescript-community/ui-carto": "1.8.18",
71+
"@nativescript-community/ui-carto": "1.8.19",
7272
"@nativescript-community/ui-chart": "2.0.26",
7373
"@nativescript-community/ui-checkbox": "2.0.12",
7474
"@nativescript-community/ui-collectionview": "6.0.4",

0 commit comments

Comments
 (0)