# Lightship map - can not add a custom point to the map

**URL:** <https://forum.8thwall.com/t/lightship-map-can-not-add-a-custom-point-to-the-map/1127>\
**Category:** Technical Support\
**Tags:** lightship-maps\
**Created:** [April 18, 2024, 3:18pm UTC](https://forum.8thwall.com/t/lightship-map-can-not-add-a-custom-point-to-the-map/1127 "2024-04-18T15:18:22Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Anna\_Baumann](https://avatars.discourse-cdn.com/v4/letter/a/7ab992/32.png) [@Anna\_Baumann](https://forum.8thwall.com/u/Anna_Baumann)\
**Post date:** [April 18, 2024, 3:18pm UTC](https://forum.8thwall.com/t/lightship-map-can-not-add-a-custom-point-to-the-map/1127/1 "2024-04-18T15:18:22Z")

</div>

Hi  
I want to add a custom point in the map based on a given latitude and longitude.  
From my understanding of the documentation, i can easily do that with the primitive , because it says

> Adds a point at a specified lat/lng to the `<lightship-map>` . This primitive element should be a child of `<lightship-map>` . This can be used to add custom content at a point in the map, and its position can be updated over time, e.g. to lerp between lat/lng coordinates.

So here is what i did

```auto
  <lightship-map 
    id="m"
    scale="100 100 100"
    map-debug-controls
    lightship-map-theme="theme: nighttime"
    map-add-point-component
    lightship-map-add-wayspots="primitive: a-cylinder; meters: 10;">
    <a-cone
      rotation="-90 0 0"
      material="color: #CFFF04; metalness: .7; roughness: 1.0"
      height=".02"
      radius-top="0"
      radius-bottom=".005"
      lightship-map-motion-direction>
    </a-cone>
    <lightship-map-point
      id="yes"
      lat-lng="45.53106 -73.610142"
      meters="5"
      min="0"
      lightship-map-point>
      <a-cone
        material="color: #FF0000; metalness: .7; roughness: 1.0"
        height=".02"
        radius-top="0"
        radius-bottom=".005">
      </a-cone>
    </lightship-map-point>
    
  </lightship-map>

```

But i dont get any error but i cant see the cone anywhere. What i’m missing here ?

Thank you very much,

Anna

---

<div class="post-metadata">

**Author:** ![TonyT](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.8thwall.com/tonyt/32/88_2.png) [@TonyT](https://forum.8thwall.com/u/TonyT)\
**Post date:** [April 18, 2024, 8:10pm UTC](https://forum.8thwall.com/t/lightship-map-can-not-add-a-custom-point-to-the-map/1127/2 "2024-04-18T20:10:41Z")

</div>

You code looks good to me, I think your attached to the custom point is simply too small and perhaps the “player” cone is overlapping it. Using your code, initially this is what I see:

```auto
<lightship-map-point lat-lng="37.428381 -122.144811" meters="5" min="0">
      <a-cone
        material="color: #FF0000; metalness: .7; roughness: 1.0"
        height=".02"
        radius-top="0"
        radius-bottom=".005">
      </a-cone>
    </lightship-map-point>

```

![Screenshot 2024-04-18 at 1.07.33 PM](https://us1.discourse-cdn.com/flex019/uploads/x8thwall/original/1X/3a16775b653878fd5b00d60664bbd8f65d97030f.png)

After adjusting (add 1) the height, and radius-bottom, and nothing else, I see the point on my map as expected:

```auto
    <lightship-map-point lat-lng="37.428381 -122.144811" meters="5" min="0">
      <a-cone
        material="color: #FF0000; metalness: .7; roughness: 1.0"
        height="1.02"
        radius-top="0"
        radius-bottom="1.005">
      </a-cone>
    </lightship-map-point>

```

![Screenshot 2024-04-18 at 1.06.33 PM](https://us1.discourse-cdn.com/flex019/uploads/x8thwall/original/1X/a5ee0d9b2e9f3358a4178bac71a07afe8ae1a6e4.png)

---

<div class="post-metadata">

**Author:** ![Anna\_Baumann](https://avatars.discourse-cdn.com/v4/letter/a/7ab992/32.png) [@Anna\_Baumann](https://forum.8thwall.com/u/Anna_Baumann)\
**Post date:** [April 18, 2024, 8:31pm UTC](https://forum.8thwall.com/t/lightship-map-can-not-add-a-custom-point-to-the-map/1127/3 "2024-04-18T20:31:40Z")

</div>

Thank you so much i feel super dumb but thank you so much.

Have a nice day

---

<div class="post-metadata">

**Author:** ![TonyT](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.8thwall.com/tonyt/32/88_2.png) [@TonyT](https://forum.8thwall.com/u/TonyT)\
**Post date:** [April 18, 2024, 8:36pm UTC](https://forum.8thwall.com/t/lightship-map-can-not-add-a-custom-point-to-the-map/1127/4 "2024-04-18T20:36:17Z")

</div>

No worries at all! Glad to hear it was a simple fix 🙂
