DragAndDrop

Source: DragAndDrop.ts:48

Adds dropped files on the globe: glb/obj models and images are placed in the drop point, GeoTIFF rasters are placed by their georeference. A GeoTIFF that is not an image for certain may hold heights, its tags do not tell that, so the control asks whether to add it as a terrain or as a layer.


Constructor

new DragAndDrop(options): DragAndDrop

Instance Methods

addFiles()

Adds files on the globe. Mtl file goes along with the obj file in the same list.