Closed tanyona closed 7 years ago
I'm just getting started with datamaps. Not sure how the individual country files are meant to be used e.g.
<script type="text/javascript" src="${pageContext.request.contextPath}/js/datamaps-0.5.8/datamaps.ken.js"></script> var map = new Datamap({ element: document.getElementById('container') });
I get an error in the browser console - data.objects is undefined
Seen from this StackOverflow question - https://stackoverflow.com/questions/40640634/creating-heatmap-of-states-in-brazil that I have to define a projection.
I'm just getting started with datamaps. Not sure how the individual country files are meant to be used e.g.
I get an error in the browser console - data.objects is undefined