sgvizler.visualization.Map Class
Extends google.visualization.Map in markers dataMode. Draws textboxes with heading, paragraph, link and image.
Data Format 2--6 columns:
- lat
- long
- name (optional)
- text (optional)
- link (optional)
- image (optional)
- If < 4 columns, then behaves just as gMap
- Only 6 columns will be read, columns > 6 are ignored.
Constructor
sgvizler.visualization.Map
(
-
container
Parameters:
-
container
ObjectThe container element where the chart will be drawn.
Item Index
Methods
Methods
addListener
(
public
-
name
-
func
Add a function which is to be fired when the
listener named name
is fired.
See fireListener
Example:
addListener("ready", function () { console.log("Ready!") });
draw
(
public
-
data
-
[chartOptions]
Same options available as for google.visualization.Map.
Parameters:
-
data
google.visualization.DataTable -
[chartOptions]
Object optional
fireListener
(
public
-
name
Fires (runs, executes) all functions registered
on the listener name
.
See addListener
.
Parameters:
-
name
StringThe name of the listener.