setDisplayMode

sets the mode of displaying geochart

void setDisplayMode(string mode);
modestring"auto"|"region"|"markers"|"text"

Example

$$("map").setDisplayMode("text");

Details
  • "auto" - (default) the mode is chosen based on the format of the data set.
  • "regions" - colors the regions.
  • "markers" - places markers on the regions.
  • "text" - labels the regions with text from the data set.

See the details in the Google GeoChart documentation.

See also
  • Articles
  • Back to top