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

Zoomable maps #10

Open
martgnz opened this issue Nov 21, 2014 · 3 comments
Open

Zoomable maps #10

martgnz opened this issue Nov 21, 2014 · 3 comments

Comments

@martgnz
Copy link

martgnz commented Nov 21, 2014

It would be awesome to have this integrated, specially when working with municipalities.

@badosa
Copy link
Member

badosa commented Nov 21, 2014

Is zooming useful in a plain choropleth map? What's the real benefit of having a better view of the municipality region? Easing the comparison with the neighbor municipalities? Better exposing the disseminated areas of the municipality? The answer is relevant to decide the zoom level.

I see this feature in connection with issue #9: you click on a municipality, the region is zoomed (and the border emphasized) and a chart beside the map is updated with data for the selected municipality.

I also think that in some cases, such functionality can be annoying, so it shouldn't be turned on by default.

Probably Visual could accept a special property for maps (zoom, for example) with a default value of false.

@martgnz
Copy link
Author

martgnz commented Nov 21, 2014

I opened this issue mainly because I created a new map class with Spain's municipalities. It's a huge map and it's much easier to look at the data and compare between neighbors if you have zoom implemented (at least for me).

Yes, it seems clearly connected with #9. With this feature it would be easier to replicate Tableau dashboard functionality with open standards. For example, a search input. You search for a municipality and it becomes zoomed or highlighted. And yes, I think it should be better if it's not enabled per default.

@martgnz
Copy link
Author

martgnz commented Nov 21, 2014

The zoom could be controlled with the mouse so the user can navigate freely over the map. Maybe someone is interested in watching the differences in a specific region, for example in an autonomous community instead of neighbors municipalities.

But we don't need to delete the support for click & zoom. The example I provided before has both features implemented.

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

No branches or pull requests

2 participants