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

Enhancement - allow zoom levels and layer control by index point #24

Open
arnoldn opened this issue Sep 11, 2014 · 1 comment
Open

Enhancement - allow zoom levels and layer control by index point #24

arnoldn opened this issue Sep 11, 2014 · 1 comment

Comments

@arnoldn
Copy link

arnoldn commented Sep 11, 2014

A couple of enhancement requests for the template:

  1. Allow zoom level to be set at the per-feature level rather than for all features. Some map points refer to differing geographic areas - being able to define a zoom level on a per-feature basis (different than the global zoomLevel config option) would be ideal.
  2. Allow visibility control for supporting layers by index point. If a supporting layer is only important to visualize for one of the index points in the story map, it would be nice to have it turn on when selecting that index, and off when you navigate away.

If these are already available as easy customizations of the template, please advise.

Thanks!

@glazou
Copy link

glazou commented Sep 16, 2014

Really good suggestion thanks.

We don't have those in the roadmap yet.
Zoom level per-feature is something we really want to do soon.
Not so sure changing visible layers per-feature will happen soon.

From now a simple way for you to workaround is to use the developer events, see the documentation.

The idea is that after a user point navigation, after the app has refreshed all it's UI components, you could perform map action like changing zoom level or layers visibility (access the map object through app.map). The map refresh would be visible but at least you can do it now.

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

2 participants