Class

DerivedGeometryService

mapsindoors.services.DerivedGeometryService

Extends

  • Service

Methods

# clearCache() → {void}

Clears the servics internal cache.

void

# async getDerivedGeometries(solutionId, venuesopt, floorIndexopt, typesopt) → {array}

Get derived geometries.

Parameters:
Name Type Attributes Default Description
solutionId string
venues Array.<string> <optional>
floorIndex number <optional>
types Array.<('wall'|'extrusion')> <optional>
['wall', 'extrusion']
array

# async getDerivedGeometriesWithin(venueId, floorIndex, bbox, appUserRoleIds, typesopt, onlyOutdooropt) → {Promise.<array>}

Get derived geometries within a bounding box.

Parameters:
Name Type Attributes Default Description
venueId string
floorIndex number
bbox GeoJSON.BBox
appUserRoleIds Array.<string>
types Array.<('wall'|'extrusion')> <optional>
['wall', 'extrusion']
onlyOutdoor boolean <optional>
false

Only return outdoor geometries.

Promise.<array>

# async getFloorPlan(solutionId, venueId, floorIndex) → {Promise.<GeoJSON.FeatureCollection>}

Get the floor plan for a given floorIndex.

Parameters:
Name Type Description
solutionId string
venueId string
floorIndex number
Promise.<GeoJSON.FeatureCollection>