Your SQL query should return the results follows this structure
- Latitude: The geographic latitude
- Longitude: The geographic longitude
- Weight: The weight of the point compares to other points. A point with
weight = 3is rendered exactly as
weight = 1(at the same location)
- Label: Info about each point
Example: These are the restaurants in USA we get from Google Place API. The
rating column is the weight of each point.
We use the header of the 3rd column, the content of the 3rd and 4th column for the tooltip.
Points are closer to each other will increase the influence area. Zooming into the map also causes points to become closer and vice versa.
Note: Long, Lat and Weight of each points are required, otherwise the chart will broken.
There are two settings for the geo heat map:
- Radius: The radius influence of each point, this applies for all points, not like the weight which is specific to each point.
- Auto Center: Turn on this setting to set the center and the zoom level automatically, otherwise you can set it up manually.