![Cover image for joseph_appsmith](/sites/default/files/styles/cover_avatar/public/banner.png?itok=6l-h5kZf)
India Map Custom Widget
![India Map Custom Widget](/sites/default/files/styles/16_9/public/community/%5Buser%3Aaccount-name%5D/Screenshot%202024-03-07%20at%208.31.02%E2%80%AFPM.png?itok=jhL_zlxs)
This template is using the Apache eCharts library, in a Custom Widget, not the Appsmith Chart Widget.
Appsmith eCharts have some limitations for security reasons that prevent functions from running in the option object. This example uses a custom widget to work around that limitation and run the registerMap()
function for eCharts to load data onto a map from a geo-json file.
Based on this eCharts example:
https://echarts.apache.org/examples/en/editor.html?c=map-usa