You are not logged in.

Dear visitor, welcome to krpano.com Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

jeromebg

Professional

  • "jeromebg" started this thread

Posts: 820

Location: Angers - France

Occupation: Photographer

  • Send private message

1

Monday, February 10th 2020, 8:52pm

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

jeromebg

Professional

  • "jeromebg" started this thread

Posts: 820

Location: Angers - France

Occupation: Photographer

  • Send private message

2

Tuesday, February 11th 2020, 1:50pm

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 :

Source code

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

3

Tuesday, February 11th 2020, 5:41pm

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

Similar threads