LeafletMap.fromElement constructor

LeafletMap.fromElement(
  1. Element e, [
  2. MapOptions? options
])

Instantiates a map object given an instance of a

HTML element and optionally an object literal with LeafletMap options.

Implementation

external LeafletMap.fromElement(Element e, [MapOptions? options]);