-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
HARP-14215, align animation with other leaflet layers
This pull-request removes zoom/move animation that relies on requestAnimationFrame and runs in parallel to built-in Leaflet CSS animations. Attempt to emulate built-in CSS animation via interpolation between start/finish zoom levels and map centers doesn't provide a good synchronization between HarpGL layer and all other Leaflet layers. Instead doing that, now we rely on CSS transformations also in the HarpGL layer. Apart from that, the following changes were applied: - Update harp.gl version to 0.22.0 and three.js version to 0.124.0 - Remove unused dependencies from package.json - Fix z-index in helloworld.html example in order to show panel on top of leaflet panes Signed-off-by: Andrii Heonia <[email protected]> Signed-off-by: Daniele Bacarella <[email protected]>
- Loading branch information
Showing
5 changed files
with
227 additions
and
279 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -138,6 +138,7 @@ | |
} | ||
|
||
.harp-gl-controls_main { | ||
z-index: 800; | ||
position: absolute; | ||
right: 5px; | ||
top: 0; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.