Outdoor View

Outdoor view is currently an experimental component of the Mappedin SDK. While in this state, some features may not behave as intended and APIs may be changed. Experimental features are being tested together with early adopters to fine-tune them.

The Mappedin SDK’s outdoor view capability allows an application to display a Mappedin map on top of an outdoor tile set. Currently the Mappedin SDK makes use of OpenStreetMap vector images retrieved from a Mappedin hosted tile server. Use of outdoor view requires MultiBufferRendering to be enabled.

Mobile-SDK-Outdoor-View

Enable Outdoor View

To enable outdoor view, set OutdoorView.enabled and ShowVenue.multiBufferRendering to true as shown in the code snippet below.

// See Trial API key Terms and Conditions
// https://developer.mappedin.com/api-keys/
mapView.loadVenue(options:
MPIOptions.Init(
clientId: "5eab30aa91b055001a68e996",
clientSecret: "RJyRXKcryCMy4erZqqCbuB1NbR66QTGNXVE0x3Pg6oCIlUR1",
venue: "mappedin-demo-mall"
), showVenueOptions: MPIOptions.ShowVenue(multiBufferRendering:
true, outdoorView: MPIOptions.OutdoorView(enabled: true))
)
Was this page helpful?