Select the Map and Table tab in the Custom Dashboard commands.
Select columns for Latitude and Longitude. In order for the map to work properly, you need to verify that these columns map to real-world locations (the person managing your data should be able to verify this for you).
Select a column for Value. This text appears when you mouse over an event on the map.
Select a column for ID. StreamLab uses the id column to group associated events.
If desired, select a column for Key. You can use this to color-code events in the Pan and Zoom map.
Click the + icon to add the suggestion to the Script.
Click the Dashboard icon in the script. The icon appears red for custom dashboards.
The Map and Table dashboard opens.
Once the dashboard opens, you can modify it with panel preferences or by modifying the layout.
Switching to the Pan and Zoom Panel
The Pan & Zoom Map visualization panel offers a wider range of options than the World Events visualization panel.
To switch to the Pan & Zoom Map visualization pane:
Click the title for the current visualization panel:
In the Select Panel dialog box, select Geo > Pan & Zoom Map and click Select.
The Pan & Zoom Map visualization panel opens. You can change preferences for the panel by clicking the Panel Preferences icon in the upper right corner of the panel.
Maximum Events. Here, you select the maximum number of events to display at once
Whether or not to cluster events. If you deselect this option, all events appear individually.
Google Map Style. Here you can select from Roadmap, Satellite, Terrain, or hybrid.
Diameter Formula. Here you can use the name of a column, or use that column in a mathematical formula, such as value10.
Diameter Is. Here you choose pixels or meters for the Diameter Formula.
Display Mode. Choose from the following
Show all events displays all events up to the maximum defined in Maximum Events, no matter how old.
Show all events and trail displays all events, along with a line connecting an event to its previous location. This is useful for moving vehicles, for example.
Show most recent event displays only events within the maximum time.
Show most recent and trail displays only events within the maximum time, along with a line connecting an event to its previous location. This is useful for moving vehicles, for example.
Event Label lets you add a custom label to your map. To do so, enter the name of one of your columns enclosed in a <%= %>, such as <%= title %>.
Key Color Map lets you customize how events, markers, and trails appear.
Using Google Maps and OpenStreetMaps Tiles with StreamLab
To use maps, you need to obtain and install either a Google Maps or MapBox api key before maps can be used.