Geo Map Charts
This chart widget allows users to create detailed maps by providing a set of metrics that define the geo locations to be displayed on the map.

Map Configuration
API Key
The API key is a unique identifier that authenticates requests associated with your project for usage and billing purposes. You must have at least one API key associated with your project.
Zoom Level
This property establishes the particular level of magnification for the geographic map. By adjusting this setting, users can control the extent to which they can view and focus on specific areas within the map, providing them with a more detailed and precise understanding of the geographic information displayed
Center Position
Determines the central point on the geographic map. This is where the map is centered, providing a focal point for reference.
Longitude
Set the longitude coordinate for the central location on the geographical map. This is where the map will be centered and focused on.
Latitude
Specify the latitude coordinate for the central location on the geographical map. This is where the map will be centered and focused on.
Show Charts
Use this toggle feature to show/hide the geo-nodes of the map.
Map Data
Option
Supply the JSON data that is needed in order to display the geographical map. This JSON content will be used for rendering the map and visualizing the geographic information. Sample data below-
Below are the properties and their corresponding values within the JSON data.
tooltip -> trigger
This string indicates that when the user hovers the mouse over a location, the details will be shown as tooltip. Value - "item"
series -> name
Specify the title for the points to show when the mouse hovers on it.
series -> type
It is a type of data visualization that plots markers on a map using geographic coordinates. The distribution of markers can reveal patterns and density. Value - "scatter"
series -> coordinateSystem
Value - "gmap"
series -> itemStyle -> color
Set the hex color code for the geo nodes.
data -> name
Provide the string value(s) to label the geo nodes.
data -> value
Provide the latitude and longitude arrays for the nodes to be displayed on the map.
Interaction
Chart Event Handlers
Map Ready
This event is triggered when the map is loaded and ready for the view.
Zoom Level Change
This event is fired when the user increase or decreases the zoom level value.
Center Position Change
This event is fired when the user moves the center position of the map.
Event Handlers
Click
The 'Click' event is fired when user clicks on the map.
Layout
Hide
This sets whether the widget has to be displayed on the screen when the program is loaded. This shows/hides the widget both on desktop and mobile devices.

Last updated