configure

fun configure(session: MapSession, config: MapViewConfig = MapViewConfig())

Configures the map view when created from a layout.

You can only set the session and config once.

Parameters

session

The session this view uses.

config

The configuration for this view. Defaults to MapViewConfig().