Basics

Create and add a map

Create an instance of FNOMap and add it to your view controller.

Swift
Copy

FNOMap delegate can be set to know when map has finished loading and is ready.

Swift
Copy

Display map

After creating a FNOMap instance, display content with map id parameter.

Swift
Copy

Delete map

If you want to change the current map and load a new one, you will need call this event first.

Swift
Copy

Change container color

This method permits to change the color of a specific container. The color parameter is a hexadecimal value.

Swift
Copy

Itinerary

This method is used to set an itinerary from a starting point to a destination point.

Swift
Copy

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

Swift
Copy

Zoom

You can get map zoom value with getZoom method. Callback will be made through FNOMap delegate.

Swift
Copy

Zoom value can be set with these methods (value between 0.0 and 1.0)

Swift
Copy

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

Swift
Copy

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.

Swift
Copy

Datas

This method is used to get all informations about the map, as :

  • ID
  • Rooms name
  • Description
  • Type
  • Asset's information
  • Logos

_ _

Swift
Copy

Floors

Swift
Copy
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard
On This Page
Basics