HereMap
public class HereMap
extension HereMap: NativeBase
extension HereMap: Hashable
The representation of a dynamic and interactive geographic map. The map manages a collection of layers of objects and spaces, presents them in a stacked layout and offers the means to focus on a certain area. The layers, their relation to the objects and spaces, the layout and the representation style is described through a configuration.
-
The style that the map uses to customize the visual appearance of rendered features. Changes made to the map style using
Style.update(...)are lost when new scene is loaded usingMapScene.loadScene(MapScheme, MapScene.LoadSceneCompletionHandler?)and its variants as well as when map features are enabled or disabled usingMapScene.enableFeatures(...)andMapScene.disableFeatures(...).Note: This is a beta release of this feature, so there could be a few bugs and unexpected behavior. Related APIs may change for new releases without a deprecation process.
Declaration
Swift
public var style: Style { get } -
Adds a delegate for receiving idle state notifications and notifies it of the current state.
The first notification received is always the state at the time of registration.
The new delegate is appended to the set of
HereMapidle delegates as a strong reference. The caller is responsible for releasing the strong reference by callingHereMap.removeMapIdleDelegate(...).Declaration
Swift
public func addMapIdleDelegate(_ delegate: MapIdleDelegate)Parameters
delegateThe delegate
-
Removes a delegate from receiving idle state notifications.
Declaration
Swift
public func removeMapIdleDelegate(_ delegate: MapIdleDelegate)Parameters
delegateThe delegate