@itowns-lidarhd/widgets
v2.45.11
Published
Widgets
Readme
@itowns/widget (private, for the moment)
Graphic user interface for itowns
Getting started
For the moment, The widget features are exposed in itowns module.
npm install --save itownsimport { Navigation } from 'itowns/widgets';
const viewerDiv = document.getElementById('viewerDiv');
// Create a GlobeView
const view = new itowns.GlobeView(viewerDiv);
// Add navigation widget
const navigation = new Navigation(view, {
position: 'bottom-right',
translate: { y: -40 },
});