<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Hyperlink leaflet in G Web Development Software</title>
    <link>https://ni.lithium.com/t5/G-Web-Development-Software/Hyperlink-leaflet/m-p/4381958#M751</link>
    <description>&lt;P&gt;Hello,&lt;BR /&gt;I was experimenting with the following example: &lt;A href="https://rajsite.github.io/webvi-experiments/Leaflet/" target="_new" rel="noreferrer"&gt;https://rajsite.github.io/webvi-experiments/Leaflet/&lt;/A&gt; and I am attempting to make the popup text a hyperlink. I have tried modifying the function in JavaScript but without success. I am unsure if it is possible to pass a hyperlink as a string using JSLI. Here is the modification I made to the original function:&lt;BR /&gt;&lt;BR /&gt;const createMarker = function (configJSON) {&lt;BR /&gt;const config = JSON.parse(configJSON);&lt;BR /&gt;const options = {};&lt;BR /&gt;if (config.iconUrl !== '') {&lt;BR /&gt;options.icon = L.icon({&lt;BR /&gt;iconUrl: config.iconUrl,&lt;BR /&gt;iconAnchor: L.point(config.iconAnchor.x, config.iconAnchor.y),&lt;BR /&gt;popupAnchor: L.point(config.popupAnchor.x, config.popupAnchor.y)&lt;BR /&gt;});&lt;BR /&gt;}&lt;BR /&gt;const marker = L.marker([config.coordinate.latitude, config.coordinate.longitude], options);&lt;BR /&gt;if (config.popupText !== '') {&lt;BR /&gt;// marker.bindPopup(config.popupText);&lt;BR /&gt;const hyperlink = `&amp;lt;a href="&lt;A href="https://www.example.com" target="_blank"&gt;https://www.example.com&lt;/A&gt;" target="_blank"&amp;gt;${config.popupText}&amp;lt;/a&amp;gt;`;&lt;BR /&gt;marker.bindPopup(hyperlink);&lt;BR /&gt;}&lt;BR /&gt;return marker;&lt;BR /&gt;};&lt;BR /&gt;&lt;BR /&gt;However, it did not work. I considered an alternative where I would retrieve the coordinates from the panel where the popup text appears and make the hyperlink show up, but I also could not find a way to make this work.&lt;BR /&gt;&lt;BR /&gt;Thank you in advance for your assistance.&lt;/P&gt;</description>
    <pubDate>Tue, 02 Jul 2024 12:01:22 GMT</pubDate>
    <dc:creator>Labmecepel</dc:creator>
    <dc:date>2024-07-02T12:01:22Z</dc:date>
    <item>
      <title>Hyperlink leaflet</title>
      <link>https://ni.lithium.com/t5/G-Web-Development-Software/Hyperlink-leaflet/m-p/4381958#M751</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;I was experimenting with the following example: &lt;A href="https://rajsite.github.io/webvi-experiments/Leaflet/" target="_new" rel="noreferrer"&gt;https://rajsite.github.io/webvi-experiments/Leaflet/&lt;/A&gt; and I am attempting to make the popup text a hyperlink. I have tried modifying the function in JavaScript but without success. I am unsure if it is possible to pass a hyperlink as a string using JSLI. Here is the modification I made to the original function:&lt;BR /&gt;&lt;BR /&gt;const createMarker = function (configJSON) {&lt;BR /&gt;const config = JSON.parse(configJSON);&lt;BR /&gt;const options = {};&lt;BR /&gt;if (config.iconUrl !== '') {&lt;BR /&gt;options.icon = L.icon({&lt;BR /&gt;iconUrl: config.iconUrl,&lt;BR /&gt;iconAnchor: L.point(config.iconAnchor.x, config.iconAnchor.y),&lt;BR /&gt;popupAnchor: L.point(config.popupAnchor.x, config.popupAnchor.y)&lt;BR /&gt;});&lt;BR /&gt;}&lt;BR /&gt;const marker = L.marker([config.coordinate.latitude, config.coordinate.longitude], options);&lt;BR /&gt;if (config.popupText !== '') {&lt;BR /&gt;// marker.bindPopup(config.popupText);&lt;BR /&gt;const hyperlink = `&amp;lt;a href="&lt;A href="https://www.example.com" target="_blank"&gt;https://www.example.com&lt;/A&gt;" target="_blank"&amp;gt;${config.popupText}&amp;lt;/a&amp;gt;`;&lt;BR /&gt;marker.bindPopup(hyperlink);&lt;BR /&gt;}&lt;BR /&gt;return marker;&lt;BR /&gt;};&lt;BR /&gt;&lt;BR /&gt;However, it did not work. I considered an alternative where I would retrieve the coordinates from the panel where the popup text appears and make the hyperlink show up, but I also could not find a way to make this work.&lt;BR /&gt;&lt;BR /&gt;Thank you in advance for your assistance.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jul 2024 12:01:22 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/G-Web-Development-Software/Hyperlink-leaflet/m-p/4381958#M751</guid>
      <dc:creator>Labmecepel</dc:creator>
      <dc:date>2024-07-02T12:01:22Z</dc:date>
    </item>
    <item>
      <title>Re: Hyperlink leaflet</title>
      <link>https://ni.lithium.com/t5/G-Web-Development-Software/Hyperlink-leaflet/m-p/4381980#M752</link>
      <description>&lt;P&gt;Using the &lt;A href="https://forums.ni.com/t5/Example-Code/Maps-for-WebVI-Google-Maps-and-Open-Street-Maps/ta-p/4106124" target="_self"&gt;Maps for WebVI&lt;/A&gt; example you can include links in the popup text like follows:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MilanR_0-1719927602859.png" style="width: 999px;"&gt;&lt;img src="https://ip1.i.lithium.com/f009d2663327eb2bc976b332c7e43f4f8f134e4d/68747470733a2f2f6e692e6c69746869756d2e636f6d2f74352f696d6167652f736572766572706167652f696d6167652d69642f33333530333369434444433444433034443138413145372f696d6167652d73697a652f6c617267653f763d76322670783d393939" role="button" title="MilanR_0-1719927602859.png" alt="MilanR_0-1719927602859.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And they will be rendered in the popup:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MilanR_0-1719927835911.png" style="width: 999px;"&gt;&lt;img src="https://ip1.i.lithium.com/171af2d396a8bd54ca4a1b96d00d54fcf63fc73e/68747470733a2f2f6e692e6c69746869756d2e636f6d2f74352f696d6167652f736572766572706167652f696d6167652d69642f33333530333569364433413938334443353530444131342f696d6167652d73697a652f6c617267653f763d76322670783d393939" role="button" title="MilanR_0-1719927835911.png" alt="MilanR_0-1719927835911.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jul 2024 13:44:12 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/G-Web-Development-Software/Hyperlink-leaflet/m-p/4381980#M752</guid>
      <dc:creator>MilanR</dc:creator>
      <dc:date>2024-07-02T13:44:12Z</dc:date>
    </item>
    <item>
      <title>Re: Hyperlink leaflet</title>
      <link>https://ni.lithium.com/t5/G-Web-Development-Software/Hyperlink-leaflet/m-p/4382049#M753</link>
      <description>&lt;DIV class="flex-shrink-0 flex flex-col relative items-end"&gt;
&lt;DIV&gt;
&lt;DIV class="pt-0.5 juice:pt-0"&gt;
&lt;DIV class="gizmo-bot-avatar flex h-6 w-6 items-center justify-center overflow-hidden rounded-full juice:h-8 juice:w-8"&gt;
&lt;DIV class="relative p-1 rounded-sm flex items-center justify-center bg-token-main-surface-primary text-token-text-primary h-8 w-8"&gt;&lt;SPAN&gt;I appreciate it once again.&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Tue, 02 Jul 2024 15:42:32 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/G-Web-Development-Software/Hyperlink-leaflet/m-p/4382049#M753</guid>
      <dc:creator>Labmecepel</dc:creator>
      <dc:date>2024-07-02T15:42:32Z</dc:date>
    </item>
  </channel>
</rss>

