forked from electricitymaps/electricitymaps-contrib
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add mapbox in package * Basic mapbox * Fix id, center, zoom * Mouseover and tentatively connect to canvas and arrows * Disable zoom handlers * Basic wind drawing * Basic wind/arrow panzoom with arrow re-render at each dragend * Fix windy bug * Add comments * Fix iPad view bug * Fix windy frame duration * Fix wind ipad * Fix solar * Fix windy frame duration * Cleanup and remove d3 from maplayer * Minor fixes * Cleanup DOM * Faster rendering by putting wind/solar canvas with display none * Disable touchrotate * CSS animations arrows * Fix iOS mobile view * Add small loading indicator * Clean up style, works on Safari mobile (ipad/iphone) * Fix overflow of arrow layer * Add arrows * Use ES constructor * Cleanup * Add seaclick * Set arrow center * Fix proper projections and dragging * Fixes * Fix webpack production * Clean up * Clean up * Disable animations on drag * Fix multiple zoom start calls * Fix d3 event * Rewrite wind layer * Rewrite solar with new API * Fix d3 imports * Proper mouseover * Fix tooltip position * Set proper debounce on map drag and hide arrows when not needed * Optimise rendering, disable touch rotation * Fix race condition and update pinch zoom * Remove geostitch process * Fix loading indicator * Arrows only show up when map has loaded * Better loading * Revert arrows to GIF as wind performances are better * Resize map * Remove orange border on tap * Faster mouseover * Fix mouseleave/enter * Fix tooltip opacity bug * Fix header for Safari * Disable double click zoom * Fix arrow size * CSS hover on exchanges (instead of d3) * Cleanup and resize arrows using GPU (higher quality) * Typo * Restore meta tags * Fix arrow hover zone * Fix color scale changes * Remove transitions in mapboxgl as they are not supported yet * Fix arrow sizes * Try with crisp-edges * Fix stops * Fix low flow * Fix height * Add frame-src * fix webpack prod * Fix touch * fix * Map removed on mobile when webgl not available
- Loading branch information
Showing
28 changed files
with
2,419 additions
and
1,238 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,8 @@ | |
*.json | ||
*secrets* | ||
*.env | ||
*.mp4 | ||
*.mkv | ||
|
||
mobileapp | ||
|
||
|
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
Large diffs are not rendered by default.
Oops, something went wrong.
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
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.