Open martgnz opened 10 years ago
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.
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.
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.
It would be awesome to have this integrated, specially when working with municipalities.