# Worldmap Weblink is not a link

**URL:** <https://discourse.nodered.org/t/worldmap-weblink-is-not-a-link/76705>\
**Category:** General\
**Created:** [19 March 2023 07:36 UTC](https://discourse.nodered.org/t/worldmap-weblink-is-not-a-link/76705 "2023-03-19T07:36:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nice\_to\_have](https://avatars.discourse-cdn.com/v4/letter/n/edb3f5/32.png) [@Nice\_to\_have](https://discourse.nodered.org/u/Nice_to_have)\
**Post date:** [19 March 2023 07:36 UTC](https://discourse.nodered.org/t/worldmap-weblink-is-not-a-link/76705/1 "2023-03-19T07:36:02Z")

</div>

Hi Everyone,

In the popup on worldmap i'd like to put a link to the vessel.  
So far I am only getting the link as a text and not as a link. What am I doing wrong?

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/c/3/c3e99021d8c9dad1526db356de3bbf38ea87c6a9.png)

```auto
[
    {
        "id": "99f4629073c60a15",
        "type": "function",
        "z": "1c91221adf0cd549",
        "name": "array of data",
        "func": "msg.payload = [\n { \"mmsi\": msg.payload.senderMmsi, \"name\": msg.payload.name, \"callsign\": msg.payload.callsign, \"destination\": msg.payload.destination, \"NavigationStatus\": msg.payload.navigationStatus_text, \"SOG\": msg.payload.speedOverGround, \"speed\": msg.payload.speedOverGroundkmh, \"longitude\": msg.payload.longitude, \"latitude\": msg.payload.latitude, \"COG\": msg.payload.courseOverGround + \"°\", \"DistanceToVessel KM\": msg.payload.DistanceToWaypointKM.toFixed(2) + \" KM\", \"DistanceToVessel NM\": msg.payload.DistanceToWaypointNM.toFixed(2) + \" NM\", \"BearingToVessel\": msg.payload.BearingToWaypoint.toFixed(2) + \"°\", \"url\": msg.payload.link}\n\n]\nreturn msg;",
        "outputs": 1,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 290,
        "y": 140,
        "wires": [
            [
                "1b1e3e3ccb8e7304"
            ]
        ]
    }
]

```

---

<div class="post-metadata">

**Author:** ![Nice\_to\_have](https://avatars.discourse-cdn.com/v4/letter/n/edb3f5/32.png) [@Nice\_to\_have](https://discourse.nodered.org/u/Nice_to_have)\
**Post date:** [19 March 2023 07:45 UTC](https://discourse.nodered.org/t/worldmap-weblink-is-not-a-link/76705/2 "2023-03-19T07:45:57Z")

</div>

I realised what I did wrong.  
I used x.url instead of x.weblink 🤦‍♂️

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [2 April 2023 07:46 UTC](https://discourse.nodered.org/t/worldmap-weblink-is-not-a-link/76705/3 "2023-04-02T07:46:34Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
