Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Inhalt:

...

Properties
API Key

For some charts a API Key from Goofle is nessesary. You can get a key here: https://developers.google.com/maps/documentation/javascript/get-api-key

Code Block
languagejava
themeEclipse
geoChartmapsChart.setMapsApiKey("123456789wertzuiopü");


MapType

The type of map to show. Possible values are 'normal', 'terrain', 'satellite', 'hybrid', or the ID of a custom map type, if any were created.

Code Block
languagejava
themeEclipse
mapsChart.setMapType("normal");


ShowInfoWindow

If set to true, shows the location description in a separate window when a point marker is selected by the user.

Code Block
languagejava
themeEclipse
mapsChart.setShowInfoWindow(true);


ShowLine

If set to true, shows a Google Maps polyline through all the points.

Code Block
languagejava
themeEclipse
mapsChart.setShowLine(true);


ShowTooltip

If set to true, shows the location description as a tooltip when the mouse is positioned above a point marker. This option used to be called showTip up until version 45. Note that at this time, HTML is not supported, so the tooltip would show raw HTML tags.

Code Block
languagejava
themeEclipse
mapsChart.setShowTooltip(true);


UseMapTypeControl

Show a map type selector that enables the viewer to switch between [map, satellite, hybrid, terrain]. When useMapTypeControl is false (default) no selector is presented and the type is determined by the mapType option.

Code Block
languagejava
themeEclipse
mapsChart.setUseMapTypeControl(true);


ZoomLevel

An integer indicating the initial zoom level of the map, where 0 is completely zoomed out (whole world) and 19 is the maximum zoom level. (See "Zoom Levels" in the Google Maps API.)

Code Block
languagejava
themeEclipse
mapsChart.setZoomLevel(8);


EnableScrollWheel

If set to true, enables zooming in and out using the mouse scroll wheel.

Code Block
languagejava
themeEclipse
mapsChart.setEnableScrollWheel(true);


...