visualize-admin / visualization-tool

The tool for visualizing Swiss Open Government Data. Project ownership: Federal Office for the Environment FOEN
https://visualize.admin.ch
BSD 3-Clause "New" or "Revised" License
29 stars 3 forks source link

Map does not keep the default view when proceeding to layout options #1526

Open KerstinFaye opened 1 month ago

KerstinFaye commented 1 month ago

When the map graphic is chosen, in the dashboard layout option the whole world map will be shown instead of only Switzerland. If you continue without zooming in, the published version will be just Switzerland.

on int: https://int.visualize.admin.ch/create/bh2bT7INAWxb?dataSource=Prod

  1. start chart from dataset Einmalvergütung für Photovoltaikanlagen
  2. chose map as a chart-type (May view showed per default Switzerland)
  3. added another chart for the dashboard
  4. proceed to layout options: map shows the whole world
  5. not zooming into the map but just click publish: chart with map shows zoom into Switzerland again
ptbrowne commented 1 month ago

I was able to reproduce once, but on my machine, most of the time it works. I switched from configurator view to layout view around 10 times and tested both on Safari and Firefox.

sosiology commented 1 month ago

I can only reproduce on INT it appears the issue has been resolved on TEST.