create

fun create(ndsStore: NdsStore, safetyLocations: SafetyLocations? = null): HorizonEngine

Creates a default horizon engine with the provided onboard map.

Important: This is a Public Preview API. It may be changed or removed at any time.

Parameters

ndsStore

DataStore which is based on an onboard NDS map.

safetyLocations

Safety location data provider, from which the horizon engine retrieves safety location data. If null, the client will not receive any safety location horizon elements.