Stange zoom behaviour since 1.20

  • HI,
    I have 2 tours using the same UI, one runs krpano 1.19pr16 and the other one krpano 1.20.
    On the first one if you scroll over a bing map to zoom in or out it works as expected, but on the second one it shift the map left or right wehn zooming ?
    Tried also with the latest 1.20.4 with the same issue.

    Don't know if it comes from the bing map plugin or the area krpano feature ?

    You can try here (clic on the compass bottom right) :

    1.19pr16 : https://www.360images.fr/vercors/index.html
    1.20 : https://www.360images.fr/360/suisse/moiry/index.html

    THX

  • Done some more tests, so area is not the problem.
    When map is 100% screen width it works as expected, but when map is for exemple 30% width the the zoomtocursor (which can't be disabled or I dodn't found how) os wrong and behaves like if map was 100% of the screen.

    Barebone :

    Code
    http://360images.fr/barebone_bingmap/
    http://360images.fr/barebone_bingmap/?onstart=set(plugin[map].width,100%)
  • Hi,

    this is a bug, thanks for reporting!

    The reason is the new custom mouse-wheel handling in the 1.20 bingmaps plugin. Previously the build-in mouse-wheel handling of the bingmaps-API was used, but that one had cross-browser bugs and problems wit the event-flow (e.g. it had zoomed/scrolled also the elements behind the map).

    This will be fixed in the next krpano release.

    Best regards,
    Klaus

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!