OptionaldescriptionOptionalexternalOptionalextraAdditional user defined data. The type is unknown, so it is recommended to validate the data before use.
Only available when loading MVFv3 data.
const mapData = await getMapData({
...
mvfVersion: '3.0.0',
});
const locationProfile = mapData.getById('location-profile', id);
if (typeof locationProfile?.extra?.myProperty === 'string') {
// Do something
}
OptionaliconThe location's icon to display. Will be either a logo, category, or image
The identity of the map metadata.
The location's pictures
Web links for the location
OptionallogoThe location's logo
OptionalphoneThe location's social media links.
OptionalwebsiteThe location's website
Gets the LocationCategorys associated with the location.
The location categories array.
Gets the PointOfInterests associated with the location.
The points of interest array.
StaticisChecks if the provided instance is of type EnterpriseLocation.
The instance to check.
True if the instance is a EnterpriseLocation, false otherwise.
A class that implements IFocusable can be focused on by the camera.