Maps SDK for Web
Class StaticMapImageFactory
Helper module to create StaticMapImage instances from already existing L.Map instances.
Methods
createFromMapInstance(mapInstance): StaticMapImage
Returns a configured StaticMapImage instance based in the current state of the given L.Map instance.
Parameters
Name | Description | Required | Type/Values | Default |
---|---|---|---|---|
mapInstance | Yes | L.Map | None |
Returns