Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow Map features/popup to navigate to specific section #5

Closed
glazou opened this issue Aug 25, 2014 · 6 comments
Closed

Allow Map features/popup to navigate to specific section #5

glazou opened this issue Aug 25, 2014 · 6 comments

Comments

@glazou
Copy link

glazou commented Aug 25, 2014

This issue track that popular enhancement request. As of today that feature is not in the near future roadmap.

The V1.1 planned for September 23rd will allow to create links (in the panels) to navigate between sections. With that enhancement it will be possible for developers to customize Map Journal to add specific behavior to certain map to allow it's features to drive the Journal.

@glazou glazou changed the title Allow Map features to navigate to specific section Allow Map features/popup to navigate to specific section Aug 29, 2014
@glazou
Copy link
Author

glazou commented Feb 2, 2016

A workflow to implement this through a customization has been documented at https://github.com/Esri/map-journal-storytelling-template-js#link-between-sections
Also note the following article that focus on navigation though links that can be used as an introduction to the process https://developerscorner.storymaps.arcgis.com/adding-links-to-sections-in-story-map-journal-a875bb45fdd5#.gbtmnmp4l

@upcamogie
Copy link

Is there a way to specifically navigate to the side content page and not the map page? I am working with a mobile view and i'd like to have the content panel (the #details) be loaded instead of the map page. I have my 'home' button configured like this

Home

It may just be a wish list thing for working with whatever the app looks like responsive design but I figured I'd ask. thanks

@glazou
Copy link
Author

glazou commented Feb 4, 2016

Yes, you can do that using

<p><a onclick="require(['dojo/topic'], function(topic){ topic.publish('story-navigate-section', 0); setTimeout(function(){ location.hash = 'detail'; }, 50);  });">link to home</a></p>

@upcamogie
Copy link

that looks great for my purposes....thanks!

@oevans
Copy link
Member

oevans commented Oct 6, 2016

It is now possible to create a link to another section in the builder without code. See this blog post for more info:
https://blogs.esri.com/esri/arcgis/2016/09/14/whats-new-story-maps-september-2016/

@oevans oevans closed this as completed Oct 6, 2016
@RupertEssinger
Copy link

Hi Owen, this enhancement is to allow navigation by clicking on a feature on the map. That would still be a good enhancement as an option in MJ for place based stories.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants