Interactive 3D buildings

Hover, click and paint single 3D buildings and landmarks in Amsterdam with the Landmarks 3D plugin

View on GitHub
Landmarks 3D plugin 0.3.1Private previewSDK 1.0.0-rc.7

Each building and landmark of central Amsterdam lights up under the pointer, takes the click colour when you select it and keeps a paint colour of its own.

  • buildings.events and landmarks.events report the building or landmark under the pointer, its id and its properties. A handler is all it takes to turn the hover and click colours on.
  • setBuildingColors and setLandmarkColors give the ones you name by id a colour of their own, which they keep as their tiles reload. The base map’s getBuildingIdAt names the building at a position, so two are coloured from coordinates.
  • The hover and click knobs of Buildings3D set both colours, and the landmarks follow them.

Related examples