# MAP-Popup in my geoJSON

**URL:** <https://forum.inductiveautomation.com/t/map-popup-in-my-geojson/78181>\
**Category:** Ignition\
**Tags:** usermanual, perspective, scripting, ignition81\
**Created:** [August 21, 2023, 8:25pm UTC](https://forum.inductiveautomation.com/t/map-popup-in-my-geojson/78181 "2023-08-21T20:25:39Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ricardo\_Guillermo\_Re](https://avatars.discourse-cdn.com/v4/letter/r/958977/32.png) [@Ricardo\_Guillermo\_Re](https://forum.inductiveautomation.com/u/Ricardo_Guillermo_Re)\
**Post date:** [August 21, 2023, 8:25pm UTC](https://forum.inductiveautomation.com/t/map-popup-in-my-geojson/78181/1 "2023-08-21T20:25:39Z")

</div>

Hello, I would like to know if in the geoJSON section there is a way to add the "VIEW" properties to a "POPUP."

In the Ignition 8.1 manual [Perspective Map - Adding GeoJSON Shapes], there is this example:

```auto
{
  "type": "Feature",
  "properties": {},
  "geometry": {
    "type": "Point",
    "coordinates": [
      "-121.16945743560791",
      "38.6632293081453"
    ]
  },
  "marker": {
    "popup": {
      "content": {
        "text": "HELLO IGNITION"
      }
    }
  }
}

```

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/d/e/def8b876340c492ea5223200e64c82359da5b0fe.jpeg)

This JSON inserts a marker at those coordinates and enables a popup that contains text. I'm interested in enabling the "view" option to predefine a template in the popup's path.

I tried something like this to insert the path of my view into the path field, but it didn't work:

```auto
{
  "type": "Feature",
  "properties": {},
  "geometry": {
    "type": "Point",
    "coordinates": [
      -121.16945743560791,
      38.6632293081453
    ]
  },
  "marker": {
    "popup": {
      "content": {
        "text": "Hi IGNITION",
        "view": {
          "path": "popups/LocationControl",
          "params": {
            "name": ""
          }
        }
      }
    }
  }
}

```

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/f/e/fea064e8cc17c264bbe5152ae7a29294a642b964.jpeg)

I would appreciate an alternative or solution to load the path of my view from the JSON to all the points I insert, as I will be integrating thousands of points.

---

<div class="post-metadata">

**Author:** ![Thibaut\_Gailliaert](https://avatars.discourse-cdn.com/v4/letter/t/4bbf92/32.png) [@Thibaut\_Gailliaert](https://forum.inductiveautomation.com/u/Thibaut_Gailliaert)\
**Post date:** [September 4, 2023, 2:49pm UTC](https://forum.inductiveautomation.com/t/map-popup-in-my-geojson/78181/2 "2023-09-04T14:49:25Z")

</div>

Hi Ricardo,

I am having a similar issue, on the fixed markers it seems to work, via GeoJSON markers not.  
Did you find the solution?

Kr,  
Thibaut

---

<div class="post-metadata">

**Author:** ![Ricardo\_Guillermo\_Re](https://avatars.discourse-cdn.com/v4/letter/r/958977/32.png) [@Ricardo\_Guillermo\_Re](https://forum.inductiveautomation.com/u/Ricardo_Guillermo_Re)\
**Post date:** [September 5, 2023, 11:24pm UTC](https://forum.inductiveautomation.com/t/map-popup-in-my-geojson/78181/3 "2023-09-05T23:24:57Z")

</div>

Yes but now I'm working directly with the map, I created an event to run a script and there I use the Json that GeoJSON give us to get the parameter as Lat, Lng, name etc to page as variables in the marker properties

---

<div class="post-metadata">

**Author:** ![Purushothaman\_R](https://avatars.discourse-cdn.com/v4/letter/p/8797f3/32.png) [@Purushothaman\_R](https://forum.inductiveautomation.com/u/Purushothaman_R)\
**Post date:** [November 24, 2023, 8:53am UTC](https://forum.inductiveautomation.com/t/map-popup-in-my-geojson/78181/4 "2023-11-24T08:53:37Z")

</div>

Hey @Ricardo_Guillermo_Re can you explain in detail what you have done i am trying the same thing what we have to do to open popup and also can you say whether you are able to pass parameters

---

<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, 6:46pm UTC](https://forum.inductiveautomation.com/t/map-popup-in-my-geojson/78181/5 "2025-01-02T18:46:57Z")

</div>

Hi, were you able to find a way to do it? I'm having the same issue trying to add a view I've created into a marker popup and haven't had any success.
