Get to the Point (On Your Map) – September 2017

Have dots on your map? Need to travel to them? No worries. Web map pop-ups are here!

Web maps are central to communicating across an organization. They are shared across core ArcGIS apps, web app templates, and custom apps. Pop-ups are a critical tool for providing useful information to web map users. That’s what makes attribute expressions (Arcade expressions within pop-ups) so powerful.

Today you can author your pop-up to contain a link to Navigator and Trek2There. This link uses a predefined app link specification, for example the Navigator URL scheme. So, anyone can click a point on your map, then send that point location to those apps, and then navigate to it!

Here’s an example. Try it out.

  1. Copy the below URL and email it to yourself. Then open this link on your phone.

    http://esriurl.com/applinkpopups

  2. Within the map, click any point to see the pop-up. Notice that the pop-up has  hyperlinks for Navigator and Trek2There.
    Take me here Pop-up
  3. Presuming you have these two applications on your phone, when you click the “Open in Navigator” link or “Open in Trek2There” link, the x,y point location will be sent to that app.  Note: For Navigator, you need to have downloaded a map containing the area you are trying to reach, and that map must be open.
    Open in Navigator pop-up
  4. Navigator (or Trek2There) will automatically open, and have the destination loaded into it.

Next, how can you do this with your own point data? Here’s a step-by-step…

  1. First, sign into ArcGIS Online and add your point layer to your web map.
    • Note:  Your point layer must be a feature service, not a feature collection.
  2. Next, on your point layer, select “Configure Pop-up”.
    Configure Pop-up link
  3. Choose to add an attribute expression.
  4. Edit the name of the expression, and give it a name, for example, “Navigator App Link”. Save the expression name.
  5. Within the expression, delete any existing sample text, and paste in the below expression.
      • For Navigator:  “arcgis-navigator://?stop=”+ Geometry($feature).y + “,” + Geometry($feature).x
      • For Trek2There:  “arcgis-trek2there://?stop=”+ Geometry($feature).y + “,” + Geometry($feature).x

    NavAppLink Expression

  6. Test the expression and verify that the result looks like the result below. Once verified, click OK.
    NavAppLink Value
  7. Next, set the display to “A list of field attributes”. Then choose “Configure Attributes”.
    Pop-up Contents with Configure Attributes link
  8. Scroll down to the bottom of the attribute list to see the two attribute expressions you created above. Check these two attributes, and uncheck the rest. When done, click OK.
    Configure Attributes
  9. That should be it! On the Configure Pop-up dialog you may want to add a title. Once completed, click OK.
    Take me here Pop-up

Now give your web map a try! Remember that you need to have Navigator or Trek2There installed on the device where you are viewing the web map. Also, not all ArcGIS apps (like Explorer or Collector) support these web map pop-ups today. Enjoy!

This entry was posted in ArcGIS Online, Mobile, Transportation and tagged , , , , , , . Bookmark the permalink.

Leave a Reply

2 Comments

  1. anussara.h says:

    Thank you for sharing!
    I have tried already with this method but I cannot find route in Navigator for ArcGIS. So, i don’t know why i cannot get to the point since i follow your steps. Please give me suggestions.

  2. scottsandusky says:

    Hello anussara.h
    Without going through the details and step-by-step with you, it’s difficult to say. My first reaction is to make sure that a Navigator map is opened for the region that your stops are within. Aside from that, sorry but it’s difficult to diagnose what it is, and I’d recommend contacting tech support, who can walk through it with you and identify exactly what needs to happen.
    thank you, Scott
    http://support.esri.com/en/contact-tech-support