Livemap

wemapsdk

Initializers

configure(config:)

public func configure(config: wemapsdk_config) -> wemapsdk

presentIn(view:)

public func presentIn(view: UIView) -> wemapsdk

Properties

sharedInstance

let sharedInstance

delegate

var delegate: wemapsdkViewDelegate?

Methods

waitForReady()

public func waitForReady()

openEvent(WemapEventId:)

Open an event on the map. This can only be used for maps which use events.

public func openEvent(WemapEventId id: Int)

Parameters

  • id: event id

closeEvent()

Close the current opened event. Go to the search view.

public func closeEvent()

openPinpoint(WemapPinpointId:)

Open a pinpoint on the map.

public func openPinpoint(WemapPinpointId id: Int)

Parameters

  • id: id of the pinpoint to open

closePinpoint()

Close the current opened pinpoint. Go to the search view.

public func closePinpoint()

setFilters(WemapFilters:)

Update search filters (dates, tags, text).

public func setFilters(WemapFilters: WemapFilters)

Parameters

navigateToPinpoint(WemapPinpointId:location:heading:)

Start navigation to a pinpoint. The navigation will start with the user location.

public func navigateToPinpoint(WemapPinpointId id: Int, location: WemapLocation? = nil, heading: Int? = nil)

Parameters

  • id: Id of the destination pinpoint.
  • location: For relative navigation only. Navigation start location. See WemapLocation.
  • heading: For relative navigation only. Navigation start heading (in degrees).

stopNavigation()

Stop the currently running navigation.

public func stopNavigation()