configureLeafletMap

fun configureLeafletMap(configure: LeafletMap.() -> Unit)

Apply some configuration to Leaflet Map.

It is safe to use this method before the KVision Maps Widget is initialised, and is added to a parent element.

If the widget is initialised, then this configuration will be applied immediately. If not, then the configuration will be stored and applied during initialisation.

(note: invoking this method will overwrite previously stored configurations).