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.
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( MPIOptions.Init( "5eab30aa91b055001a68e996", "RJyRXKcryCMy4erZqqCbuB1NbR66QTGNXVE0x3Pg6oCIlUR1", "mappedin-demo-mall", ), MPIOptions.ShowVenue(shadingAndOutlines = true, multiBufferRendering = true, outdoorView = MPIOptions.OutdoorView(enabled = true))) { Log.e(javaClass.simpleName, "Error loading map view") }