google.visualization.Map

Definition

Map of Google with popup. Google limits the number of markers. If Google truncated your data, you can replace this chart by the OpenStreetMap chart.

Data format

Each row in the table represents a set of data points with the same x-axis location. see details

Column Type Description
0 Number Latitude
1 Number Longitude
2 string (Optional) Title of popup or simple label or HTML
3 string (Optional) Description in the popup
4 string (Optional)
5 url (Optional) Link of title
6 url (Optional) Image in the popup

Chart options

Each option is separated by a '|' or '!' (for Mediawiki).

Name Default Description
width 100% Chart width
height Chart height
showTooltip false true/false show tooltip.
showInfoWindow true true/false Show info window.
enableScrollWheel true true/false If set to true, enables zooming in and out using the mouse scroll wheel.
Others... You can use the configuration options of Google. See the doc

Examples

Map with simple pop-ups

Map with complexe pop-ups and options

With useMapTypeControl=true that enables the viewer to switch between [map, satellite, hybrid, terrain]

Graph example 3 : empty result