zesage / panorama

Panorama - Flutter Widget
Apache License 2.0
114 stars 71 forks source link

Hotspots change size based on zoom level #35

Open Ridgebeck opened 2 years ago

Ridgebeck commented 2 years ago

Hotspots are often markers for objects in panoramic 360° pictures (e.g. indoor panorama for museum or real estate listing). The size of the objects changes with the zoom level, but the hotspots currently do not. This can lead to a very small marker on a zoomed in object.

Two markers with the same size at zoom level 1.0 (100%): Screenshot_1640587699 Current behavior when zoomed in (blue) and flexible size (red): Screenshot_1640587689

Each hotspot can be set to adjust its size to zoom level or not via hasFlexibleSize property.