Google Maps

Qubes 5.6 Displays a map using Google Maps services.

Properties

PropertyDescription
APIKeyAPI key for Google Maps access (Qubes 9.0).
CenterString indicating where the map is centered.
EnabledBoolean indicating whether or not the component is enabled.
HintSpecifies the user hint string that will appear in the component's interactive help bubble.
MarkersList of markers to place on the map.
SizeSize in width x height format (e.g. "200x100").
ValueInitialDetermines the component's initial value when the screen opens and each time it is reset (see Reset Button).
VisibleBoolean indicating whether or not the component will be visible.
ZoomLevel 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.

Classification

Cloud