L.Wrld.indoors.IndoorMapEntity

Represents infomation about an identifiable feature on an indoor map. These correspond to features within a level GeoJSON in an indoor map submission via the WRLD Indoor Map REST API. obtained by creating a L.Wrld.indoorMapEntities.IndoorMapEntityInformation object and adding to the map. See https://github.com/wrld3d/wrld-indoor-maps-api/blob/master/FORMAT.md

Methods

Method Returns Description
getIndoorMapEntityId() String Returns a string identifier of this indoor map entity. This identifier is expected to be unique across all indoor map entities for a single indoor map.
getIndoorMapFloorId() Number Returns the identifier of an indoor map floor on which this indoor map entity is positioned.
getPosition() L.LatLng Returns the location of this indoor map entity. Although indoor map entities can represent area features such as rooms or desks, this position provides a point that is in the center of the feature. As such, it is suitable for use if locating a Marker for this entity, or if positioning the camera to look at this entity.
v0.1.2080