Hyperlink to a specific storymap point, not the starting URL

5512
9
Jump to solution
06-16-2015 11:26 AM
DavidTreering
New Contributor II

I want to link back and forth between an online text.  I can put anchors in the text and add the <a href="www.com">Visit</a> tag to go there FROM the storymap.  But how do I link to a particular point within a storymap?  I want to drop in at point #n.

Tags (2)
0 Kudos
1 Solution

Accepted Solutions
GregoryL_Azou
Occasional Contributor III

Two of our applications support that really well through a URL parameter (index or entry = the point you want to start). Examples:

Map Tour http://story.maps.arcgis.com/apps/MapTour/?appid=c50be5615f024cc482ccb88222a8719d&index=3

Map Series http://trans.maps.arcgis.com/apps/MapSeries/?appid=7232d42129c145269ad9b8723fbeb8f9&entry=3 

Map Journal also support that and it's working well on the Floating Panel layout.

But it's not working as well with the Side Panel layout depending on your content (if you have content like images that load after the app load, the panel may not be scrolled properly).

Example:

http://www.arcgis.com/apps/MapJournal/index.html?appid=075176174db04441a1d7980c3fc39e92&webmap=7f6c4...

http://pcrj.maps.arcgis.com/apps/MapJournal/?appid=2910ea44348f49cea4ab130f2f7f8cd5&section=4

View solution in original post

0 Kudos
9 Replies
GregoryL_Azou
Occasional Contributor III

Two of our applications support that really well through a URL parameter (index or entry = the point you want to start). Examples:

Map Tour http://story.maps.arcgis.com/apps/MapTour/?appid=c50be5615f024cc482ccb88222a8719d&index=3

Map Series http://trans.maps.arcgis.com/apps/MapSeries/?appid=7232d42129c145269ad9b8723fbeb8f9&entry=3 

Map Journal also support that and it's working well on the Floating Panel layout.

But it's not working as well with the Side Panel layout depending on your content (if you have content like images that load after the app load, the panel may not be scrolled properly).

Example:

http://www.arcgis.com/apps/MapJournal/index.html?appid=075176174db04441a1d7980c3fc39e92&webmap=7f6c4...

http://pcrj.maps.arcgis.com/apps/MapJournal/?appid=2910ea44348f49cea4ab130f2f7f8cd5&section=4

0 Kudos
DavidTreering
New Contributor II

OK, then how about if the Story Map is an iframe in another page?  I do have admin access to both pages.

0 Kudos
GregoryL_Azou
Occasional Contributor III

You can use that same technique in the code of your iframe

<iframe src="http://loyola.maps.arcgis.com/apps/MapTour/index.html?appid=f48cfe197ee6420e97b0f75314685bd1&index=1...

0 Kudos
DavidTreering
New Contributor II

Good, thank you. But I want to link from outside this page and drop into the tour at a specified point, in the map in the iframe.  If i name the iframe name="map", then can that be used a shortcut somehow to then append the index number, index=7, for example?

0 Kudos
GregoryL_Azou
Occasional Contributor III

Ok I see, I don't think this can be done without a little JavaScript (reading the parameter in the URL of the page and reusing it to construct the URL that you give to the frame).

0 Kudos
GeneH_Chesco
New Contributor III

This is exactly what we have been attempting to do with id's and anchors with no luck, thanks!

I've tested this out on the non-hosted version of my story map and it works great, but how do I get it to work on the hosted version? Where do I place the &entry=3 for a hosted story map?

Non-hosted: https://chesco.maps.arcgis.com/apps/MapSeries/index.html?appid=062118dddc1c4414b514222638d23dc9&entr...

Hosted: http://chescoplanning.org/CompPlan/map/PolicyMaps/

0 Kudos
OwenGeo
Esri Notable Contributor

Same question answered here.

Owen Evans
Lead Product Engineer | StoryMaps
MelanieFournier1
New Contributor III

Hi Owen,

I am trying to do the same with the new StoryMap platform. Are anchors a possibilityy? I tried your solution but it brings me back to the opening of the storymap and no to the point I want people to go to.

I am using the guided Map Tour. It's a really cool template and fits perfectly our needs. However we would like to share some points with people and get them exactly to a location. Let say I am making a post on the Huntington Library, I would like to give the URL with the anchor so they can get there directly without running through the all story.

Thanks for the help,

Mélanie

DavidTreering
New Contributor II

Excellent!  Thank you, Gregory!

0 Kudos