Events to unity

All events that can be send to the map using the sendEvent method.

SectionEvent nameDescription
CamerazoomInZoom in camera with a step of 'zoomValue'
CamerazoomOutZoom out camera with a step of 'zoomValue'
CamerazoomResetReset camera zoom to default position
CameragetZoomReturn the current zoom value
CamerasetZoomSet current zoom level
CamerazoomOnMapcontainerMove camera to a container and zoom on it
CamerasetCameraViewSet camera mode
CamerafollowUserAllow or disallow the user tacking by the main camera
TemplategetAllTemplatesFetch all templates availables for current map
TemplatesetLocalTemplateApply a template to a container
TemplateclearLocalTemplateRemove a template from a container
TemplateclearAllLocalTemplatesRemove all templates of the map
ItinerarysetItineraryToEntityWithIdCalculate and generate an itinerary to a specific container (containers are objects like table, doors, stairs, shelves etc ...)
ItinerarysetPathColorChange itinerary path color
ItinerarysetMoveFpsToTargetEnable camera to follow user position. it's a toggle event, call it second time for undo
ItineraryclearItineraryStart animation from terminal (or current user position) to destination
ContaineronSetWallsVisibilityShow or hide walls
ContainersetOutlineContainerEnable or disable an outline on a specific container
ContainerclearAllOutlineDelete all outline
FloorgetFloorsGet all available floors
FloorsetFloorSet current floor. Others floors are hidden
FloorresetFloorsShow all floor
GlobalchangeBackgroundColorChange background colour
GlobalscreenshotTake a screenshot of the map and return the base64 image
GlobaldestroyMapRemove current map from device memory. Used for change current map
GlobalsetMouseListenerAllow unity to fire event in relation with mouse (on click, on hover etc ...)
GlobalenableRealTimeUpdatesEnable real time updates when a container changed from the server
GlobalenableOutsideMapEnable the outside map of the building
GlobalactiveLogAllow to disable logs or increase its verbosity
Temporary waypointinsertTemporaryWaypointCreate and show a new waypoint on the map
Temporary waypointremoveTemporaryWaypointDelete a temporary waypoint
Temporary waypointmoveTemporaryWaypointMove a waypoint position
Temporary waypointtoggleTemporaryWaypointsShow or hide all temporaries waypoints
Temporary waypointtoggleTemporaryWaypointShow or hide an temporary waypoint
Temporary waypointgetAllTemporaryWaypointsGet all temporary waypoints
MetadatagetAllMetaDataReturn all metadata
User positionsetUserPositionDefine current user position
User positiongetUserPosition Get current user position in the map
User positionenableUserOrientationActivate / disable user orientation
User positionfocusToUserPositionCenter map on user position
UIhideAllUIHide all UI
UIshowAllUIshow all UI
UIfilterUIFilter UI shown by key value metadata
UIenableOutsideMapShow or hide google map in the background
UIsetUIScaleDefine text and icon size
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard
On This Page
Events to unity