# Update coordinates of project Wayspots

**URL:** <https://forum.8thwall.com/t/update-coordinates-of-project-wayspots/3802>\
**Category:** Technical Support\
**Tags:** vps, lightship-maps, vps-locations\
**Created:** [December 2, 2024, 10:09am UTC](https://forum.8thwall.com/t/update-coordinates-of-project-wayspots/3802 "2024-12-02T10:09:31Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![gianluca\_d](https://avatars.discourse-cdn.com/v4/letter/g/7993a0/32.png) [@gianluca\_d](https://forum.8thwall.com/u/gianluca_d)\
**Post date:** [December 2, 2024, 10:09am UTC](https://forum.8thwall.com/t/update-coordinates-of-project-wayspots/3802/1 "2024-12-02T10:09:31Z")

</div>

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?

```auto
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'])
} 

```
