the google maps api key
the api language (optional, default: de)
the api language region (optional, default: DE)
initial latitude (optional)
initial longitude (optional)
The google maps object.
Not a property of the WebComponent but of the class.
initial zoom level (optional, default: 8)
initial zoom level if only one location is provided (optional)
Generated using TypeDoc
Creates a google map.
Add the attribute "zoom" to provide an initial zoom level. Default is 8. If locations are given and no zoom level is provided, the zoom level will be set to fit the locations into the shown area.
Instead of "zoom" you can set the attribute "zoom-single". If locations are given, the single zoom level is used if only one location is given. Otherwise the zoom level will be set to fit the locations into the shown area.
Add the attributes "latitude" and "longitude" to define the center point of the map. If no latitude and longitude is given, the center will be calculated by using the given locations. A center has to be defined one way or the other.
To set locations on the map place hylo-map-location tags inside the hylo-google-maps tag.