Google Maps
Qubes 5.6 Displays a map using Google Maps services.
Properties
| Property | Description |
| APIKey | API key for Google Maps access (Qubes 9.0). |
| Center | String indicating where the map is centered. |
| Enabled | Boolean indicating whether or not the component is enabled. |
| Hint | Specifies the user hint string that will appear in the component's interactive help bubble. |
| Markers | List of markers to place on the map. |
| Size | Size in width x height format (e.g. "200x100"). |
| ValueInitial | Determines the component's initial value when the screen opens and each time it is reset (see Reset Button). |
| Visible | Boolean indicating whether or not the component will be visible. |
| Zoom | Level of zoom for the map (0 to 21). |
Value
The component displays a map using the Google Maps service.
Remarks
The client browser must have Internet access and a valid API key.
Use is subject to Google's Terms of Service.
The rendering in design mode is a placeholder.
Locations can be expressed in:
- latitude and longitudes: expressed in decimal degrees, separated by a comma, e.g. "40.714728,-73.998672";
- addresses can be complete or partial addresses; for example, "lyon,france" designates the city of Lyon in France, while "lyon,usa" will be interpreted as Lyon, Mississippi.
Markers are a list of locations. Each location can be displayed with a different visual style. Those styles are specified by concatenating a location with "|" as the delimiter. The available styles are:
- size: marker size, tiny, mid or small;
- color: marker color, a primary color in English, i.e. a 24-bit RGB color (0xRRGGBB format);
- label: letter to use on the marker; only uppercase letters and numbers are allowed, and then only for the mid size.
For example, "size:mid|color:blue|label:P|paris,france" will create a mid-sized blue marker attached to Paris, with the letter "P" as its label.