docsby gkjohnson
Generating a globe from map tiles
Data courtesy of Esri World Imagery
On this page

Methods

new GeneratedSurfacePlugin(
	options?: {
		// Overlay instance to derive the tiling scheme from. When `applyOverlayTexture` is enabled, also used to texture the generated tile meshes.
		overlay: ImageOverlay = null,

		// Display the tiles on the ellipsoid, on a plane in the source projection, or on a plane in the named projection scheme.
		projection: 'ellipsoid' | 'source' | string = 'ellipsoid',

		// For Mercator ellipsoid mode, snap poles to ±90° lat.
		endCaps: boolean = true,

		// Shift planar tiles so the image is centered at origin.
		center: boolean = true,

		// Apply recommended TilesRenderer settings.
		useRecommendedSettings: boolean = true,

		// Whether to apply the overlay's texture to the generated tile meshes.
		applyOverlayTexture: boolean = false
	}
)