paver icon indicating copy to clipboard operation
paver copied to clipboard

destroy paver on a specific point

Open AlaaElZein opened this issue 7 years ago • 1 comments

Hello, On a specific point we need to stop the paver (to fix the image in android). But when we use the .destroy function the paver is destroyed but on the position 0. i need to fix it in a specific position and not on position 0. what we can do about it?

AlaaElZein avatar Feb 12 '18 14:02 AlaaElZein

Right now that’s not possible—even though a panEnd event is emitted, it does not contain any data on the state and/or position of the panorama. Technically speaking this is a design flaw of sorts, since I can see why these information can be useful.

You can look into the source and add data to the panEnd event manually. I’ll probably push an update for it in a month or two.

terrymun avatar Feb 12 '18 14:02 terrymun