+ Start a Discussion
Yashita Goyal 17Yashita Goyal 17 

Building Salesforce Lightning Component Interactive Choropleth Map

Hi,

I have a requirement to create Interactive Choropleth Map using leaflet.js (http://leafletjs.com/examples/choropleth/)

Could anyone help me of how to pass 'statesData' here. I have object records coming from apex class:

L.geoJson(statesData).addTo(map);

Thanks
Yashita