@tsteur opened this Issue on November 13th 2013 Member

Could be useful to use the map zoom to cover all locations as near as possible to see as many details as possible.

e.g. show only Germany if all visits are from this country.

Maybe it could be even possible to make the country names clickable and on click on the country name it displays/zooms the specific country?

@hpvd commented on November 14th 2013

Since this topic may not be that easy to solve "as near as possible",
on could think of doing a simplified step first:

Don't try to zoom step-less but simply check

  • if all coordinates/cities are in the same country => show/zoom to this country
    otherwise
  • if all coordinates/cities are in the same continent => show/zoom to this continent
    otherwise
  • show world wide map

what do you think?

@hpvd commented on November 14th 2013

of course this topic "automatic zoom" may be interesting on other places in piwik not only in visitor profile...

@mattab commented on October 12th 2016 Member

Adding Major tag as somehow this is often requested by users.

@mattab commented on September 25th 2018 Member

The automatic zooming will be awesome to have and improve user experience heaps, for people who use the maps. It's important that this feature works at least on the Real time map, but also on the general locations map.

Increasing priority for this issue since we're going to put more light on the "Real time map" in next version in https://github.com/matomo-org/matomo/pull/13414#issuecomment-420855104

Powered by GitHub Issue Mirror