MappableData::StaticMap
returns an <img> with a src set to a static map picture.
You can use MappableData.staticmap_api_url config var to set the domain of the static map. You can use MappableData.staticmap_default_zoom config var to set the default zoom for the static map.
Signature
public function StaticMap(int
$width,
int
$height,
[
$zoom = NULL,
[string
$mapType = 'roadmap']] )
Parameters
$width
— int$height
— int$zoom
—$mapType
— string
Returns
- string