docsby gkjohnson
Showing the data attributions of the loaded tiles
import { Canvas } from '@react-three/fiber';
import { TilesRenderer, TilesPlugin, TilesAttributionOverlay } from '3d-tiles-renderer/r3f';
import { GoogleCloudAuthPlugin } from '3d-tiles-renderer/core/plugins';

function App() {

	return (
		<Canvas>
			<TilesRenderer>
				<TilesPlugin plugin={ GoogleCloudAuthPlugin } args={ { apiToken: 'YOUR_GOOGLE_API_KEY' } } />
				<TilesAttributionOverlay />
			</TilesRenderer>
		</Canvas>
	);

}
<TilesAttributionOverlay
	generateAttributions?: function
	style?: Object
	children?: ReactNode
/>
On this page

Props

style?: Object

children?: ReactNode