LeafletMap constructor

LeafletMap(
  1. String id, [
  2. MapOptions? options
])

Instantiates a map object given the DOM ID of a

element and optionally an object literal with LeafletMap options

Implementation

external LeafletMap(String id, [MapOptions? options]);