# How do I display a template/view in a Marker popup in the Map component?

**URL:** <https://forum.inductiveautomation.com/t/how-do-i-display-a-template-view-in-a-marker-popup-in-the-map-component/100399>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [January 2, 2025, 7:24pm UTC](https://forum.inductiveautomation.com/t/how-do-i-display-a-template-view-in-a-marker-popup-in-the-map-component/100399 "2025-01-02T19:24:59Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Guillermo\_Piedra](https://avatars.discourse-cdn.com/v4/letter/g/ce73a5/32.png) [@Guillermo\_Piedra](https://forum.inductiveautomation.com/u/Guillermo_Piedra)\
**Post date:** [January 2, 2025, 7:24pm UTC](https://forum.inductiveautomation.com/t/how-do-i-display-a-template-view-in-a-marker-popup-in-the-map-component/100399/1 "2025-01-02T19:24:59Z")

</div>

I'm trying to import a template or another view into a marker popup as it is described at the end this video:

> **[Map Video at Inductive University](https://www.inductiveuniversity.com/videos/map/8.0)**
>
> The Map component allows you to add a map similar to many popular map apps. This is fully mobile responsive component that includes additional dynamic layers, markers, and popup messages. You can see realtime status and locations for anything that...

I've added a view property inside both the marker and the popup's properties and added the path to my template inside, but it's only using what's in the text property. Is there something I should be doing instead?

 ![Screenshot 2025-01-02 131916](https://us1.discourse-cdn.com/inductiveautomation/original/3X/2/3/230744547c729c3add8d416f5cba96efe5c53c91.jpeg)

Additional info: I'm doing this on a GeoJSON map layer.

 ![Screenshot 2025-01-02 132421](https://us1.discourse-cdn.com/inductiveautomation/original/3X/a/1/a188ed0f6a478354b00a5df260058cc064279aa4.png)

---

<div class="post-metadata">

**Author:** ![michael.flagler](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/michael.flagler/32/26272_2.png) [@michael.flagler](https://forum.inductiveautomation.com/u/michael.flagler)\
**Post date:** [January 2, 2025, 7:40pm UTC](https://forum.inductiveautomation.com/t/how-do-i-display-a-template-view-in-a-marker-popup-in-the-map-component/100399/2 "2025-01-02T19:40:16Z")

</div>

In reading the documentation on the GeoJSON portion of the map component, it looks like it only supports text popups and not views like the UI section does. Someone else may chime in with more knowledge on this, but that would be my guess is that it's not possible with GeoJSON.

---

<div class="post-metadata">

**Author:** ![Steve\_Laubach](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/steve_laubach/32/60900_2.png) [@Steve\_Laubach](https://forum.inductiveautomation.com/u/Steve_Laubach)\
**Post date:** [January 2, 2025, 9:34pm UTC](https://forum.inductiveautomation.com/t/how-do-i-display-a-template-view-in-a-marker-popup-in-the-map-component/100399/3 "2025-01-02T21:34:43Z")

</div>

I've always put views on maps using the UI section as Michael says.

Another fun trick you may be interested in...

You can modify this property "layers.raster.tile[0].url" to make it display from a photographic map source. By default this property is "https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png"

Here's an example of a URL for a photographic geo map: "[https://server.arcgisonline.com/ArcGIS/rest/services/World\_Imagery/MapServer/tile/{z}/{y}/{x}](https://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tile/%7Bz%7D/%7By%7D/%7Bx%7D)"
