I would like to slightly update the coordinates of some of the project wayspots to make sure that they match as closest as possible the real locations.
I tried to update the coordinates at runtime with the mapPointUpdate API. I see that the object moves to the correct location on the map but the ‘distance’ event doesn’t take the new coordinates into account.
Is there any other way to achieve this?
const map = this.el.parentEl.parentEl.components['lightship-map']
const mapPt = this.el.parentEl.components['lightship-map-point']
if (map && mapPt) {
map.threejsMap.mapPointUpdate(mapPt.mapPointGroup, 52.1, 4.1, 25, 0.05)
console.log(mapPt.data['lat-lng'])
}