Title
Page icon
Create new category
Edit page index title
Edit category
Edit link
Basics
Create and add a map
Create an instance of FNOMap and add it to your view controller.
FNOMap delegate can be set to know when map has finished loading and is ready.
Display map
After creating a FNOMap instance, display content with map id parameter.
Delete map
If you want to change the current map and load a new one, you will need call this event first.
Change container color
This method permits to change the color of a specific container. The color parameter is a hexadecimal value.
Itinerary
This method is used to set an itinerary from a starting point to a destination point.
Itinerary Highlight/Unhighlight a specific object on the map
This method is used to highlight or unhighlight a specific object in the map.
@param isOutline: boolean representing if the object needs to be highlighted
@param idContainer: string representing the unique identifier of the map's object
@return void
Zoom
You can get map zoom value with getZoom method. Callback will be made through FNOMap delegate.
Zoom value can be set with these methods (value between 0.0 and 1.0)
Camera
This method is used to change the camera's perspective of the map.
You can choose between two camera options :
TOP : Map camera is placed above the scene without perspective like in 2D
FPS : See map or Itinerary at the first person
GLOBAL3D : Broad 3D scene view
ITINERARY3D : 3D view focus on the itinerary
ITINERARY2D : 2D view focus on the itinerary
@param option: .CAMERA_VIEW___OPTIONS representing the camera view option chosen
@return void
Waypoints
This method is used to show all the waypoints on the map or hide them. A waypoint is a point of interest where something important is represented. For example, an event or an action to realize.
Datas
This method is used to get all informations about the map, as :
ID
Rooms name
Description
Type
Asset's information
Logos
_ _
Floors
