You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
db1ccd9: the three.js classes required by the overlay no longer need to be passed into the constructor. peerDependencies (bundled / ESM) and global scope lookups (UMD) are used instead (closes #613)
db1ccd9: direct ESM usage without importmaps is no longer supported
ce27d56: the default up-direction is now the z-axis, which is in line with the coordinates used within google maps
ce27d56: constructor parameters rotation and scale have been removed. Instead there is a new parameter upAxis that can be used to specify the rotation of the world-coordinate system
ce27d56: coordinate conversion has been fixed, instead of the latLngToVector3* functions, the new overlay.latLngAltitudeToVector3() should be used
077b5eb: public property overlay.anchor replaced with private property and setAnchor() method
c93f45b: overlay will no longer keep running the animation loop to allow for energy efficient use (specify the animationMode: "always" option to get the previous behaviour back).
New Features
f85b667: added overlay.raycast() to help with building interactive applications (closes #20)
a028aab: added overlay.onBeforeDraw() as a way to implement custom behaviour
c93f45b: new option animationMode to control if the overlay should keep rendering on every frame or only when requested
24077d6: new option addDefaultLighting to add some default lighting to the scene that approximates the lighting used by the basemap (closes #22)