Cinematic city fly-by

Fly like a bird through eight cities and over five landscapes, banking round their landmarks and down their avenues, in twenty looks with skies, typefaces and effects of their own

View on GitHub
Landmarks 3D plugin 0.3.2Map effects plugin 0.4.2Map theme plugin 0.3.9Private previewSDK 1.0.0

Each city and landscape is one closed flight, opening in the look that suits it, satellite over the landscapes, and each look restyles everything the camera passes.

  • calculateRoute takes an avenue sketched in a few points as a path to follow, and returns it on the roads.
  • StylingFoundationsModule.applyConfig sets the sky, the sun the buildings, the landmarks and the ground all follow, the labels’ font files and the ten colours deriveMapColors makes from five or six.
  • GLSurfaces textures the ground in each look’s season, on the 3D terrain under the landscapes.
  • addPass runs each look’s shader inside the effects’ chain, ahead of the bloom and the night looks’ glare on the lit windows.

Related examples