Class

FloorSelector

FloorSelector(element, mapsindoors)

Constructor

new FloorSelector(element, mapsindoors)

Creates a new instance of the FloorSelector.
Parameters:
Name Type Description
element HTMLDivElement A container element the floor selector.
mapsindoors MapsIndoors MapsIndoors instance.
Example
let floorSelector = document.createElement('div');
new mapsindoors.FloorSelector(container, mapsIndoors);
googleMap.controls[google.maps.ControlPosition.RIGHT_TOP].push(floorSelector);