docsby gkjohnson
Loading Google Photorealistic 3D Tiles
import { TilesRenderer } from '3d-tiles-renderer/three';
import { GoogleCloudAuthPlugin } from '3d-tiles-renderer/core/plugins';

const tiles = new TilesRenderer();
tiles.registerPlugin( new GoogleCloudAuthPlugin( {
	apiToken: 'YOUR_GOOGLE_API_KEY',
	autoRefreshToken: true,
} ) );
On this page

Properties

apiToken: string

logoUrl: string | null

tiles: Object | null

Methods

new GoogleCloudAuthPlugin(
	options: {
		apiToken: string,
		sessionOptions: Object | null = null,
		autoRefreshToken: boolean = false,
		logoUrl: string | null = null,
		useRecommendedSettings: boolean = true
	}
)