# Map Widget Marker Link Opening Inside Iframe on Experience Page

**URL:** <https://forums.losant.com/t/map-widget-marker-link-opening-inside-iframe-on-experience-page/5867>\
**Category:** Help\
**Tags:** experience, dashboard\
**Created:** [June 17, 2025, 5:00pm UTC](https://forums.losant.com/t/map-widget-marker-link-opening-inside-iframe-on-experience-page/5867 "2025-06-17T17:00:13Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Andy\_Anderson](https://avatars.discourse-cdn.com/v4/letter/a/f19dbf/32.png) [@Andy\_Anderson](https://forums.losant.com/u/Andy_Anderson)\
**Post date:** [June 17, 2025, 5:00pm UTC](https://forums.losant.com/t/map-widget-marker-link-opening-inside-iframe-on-experience-page/5867/1 "2025-06-17T17:00:13Z")

</div>

Hi,

I’ve embedded a Losant dashboard into an Experience Page, and everything works great, except for links on the Map Widget. My goal is to make it so that when clicking a GPS point, the associated device information pops up, with the title being a hyperlink to another experience page with more device-specific information. However, using just standard markdown links, it appears that the link opens inside the iframe, just covering the embedded dashboard space, instead of opening a new tab or redirecting the full page.

I’d like the link to either:

1. Open in a new browser tab, or
2. Navigate the parent Experience Page, not just within the embedded dashboard frame.

So far, I haven’t found an option in the Map Widget settings to set `target="_blank"` or control that behavior.

Is there any workaround or built-in support for this?

Thanks in advance!

---

<div class="post-metadata">

**Author:** ![Dylan\_Schuster](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.losant.com/dylan_schuster/32/2850_2.png) [@Dylan\_Schuster](https://forums.losant.com/u/Dylan_Schuster)\
**Post date:** [June 17, 2025, 6:27pm UTC](https://forums.losant.com/t/map-widget-marker-link-opening-inside-iframe-on-experience-page/5867/2 "2025-06-17T18:27:06Z")

</div>

I’ve been poking for a workaround and haven’t found one yet. I will file a ticket to get that behavior fixed in the block. I think adding a `target="_top"` to all non-external links and `target="_blank"` to all external links would do the trick.

I will let you know if/when it is implemented. Thanks for bringing this use case to our attention.

---

<div class="post-metadata">

**Author:** ![Chris\_Myers](https://avatars.discourse-cdn.com/v4/letter/c/3bc359/32.png) [@Chris\_Myers](https://forums.losant.com/u/Chris_Myers)\
**Post date:** [June 19, 2025, 4:06pm UTC](https://forums.losant.com/t/map-widget-marker-link-opening-inside-iframe-on-experience-page/5867/3 "2025-06-19T16:06:50Z")

</div>

I’m not sure if this is what you’re looking for, but your question sparked a thought that lead me to an answer to a similar problem. I have a GPS history map with popups showing attribute data. I really wanted to have clicking on the pins to trigger a context variable change for the dashboard.

I was able to add a link to the popup context after fiddling around with markdown and handlebars for a while. (I broke this into two lines so it wouldn’t be interpreted by the forum SW as a real link.)

[{{{deviceName}}}]  
(\<?ctx[deviceId]={{{deviceId}}}&ctx[name]={{{deviceName}}}\>)

I had to use triple braces on the handlebars and tuck the \<\> link syntax inside the () that is documented for the link syntax.

Clicking the link gets me the same context update that selecting a link in a Device List block does.

---

<div class="post-metadata">

**Author:** ![Dylan\_Schuster](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.losant.com/dylan_schuster/32/2850_2.png) [@Dylan\_Schuster](https://forums.losant.com/u/Dylan_Schuster)\
**Post date:** [August 20, 2025, 2:18pm UTC](https://forums.losant.com/t/map-widget-marker-link-opening-inside-iframe-on-experience-page/5867/4 "2025-08-20T14:18:20Z")

</div>

@Andy_Anderson yesterday’s release included a fix for your issue. Your map popup links should now open in the top-most frame. Thanks for letting us know about this.
