stuquery
stuquery copied to clipboard
Load from external file
Hello,
I'm trying to make a hexmap with your library. It works when I put the hexjson into the < code > tag but not from an external page. How can I embed an external hexjson ?
I tried the .load function but it doesn't work. I only have the error this.hexes[0] is undefined.
S(document).ready(function(){ var hexmap = S.hexmap('hexmap-1'); hexmap.load('HexM.hexjson'); });