Widgets
The SDK provides two widgets for generating static maps:StaticMapImage
and StaticMapBuilder
.
Make sure the SDK has been initialized before using one of the widgets below.
StaticMapImage
To generate a static map, use theStaticMapImage
widget. You can customize the map by passing in various parameters, such as the center, zoom level, and markers.
StaticMapBuilder
TheStaticMapBuilder
widget generates an url you can use in a child widget of your choice. This is useful if you want to use a different widget than the built-in StaticMap
widget.
url
parameter: