Open tmo256 opened 13 years ago
Sorry about that! Do you have a link to a public URL I can look at to debug what's going wrong? If that's not possible, could you zip up the folder and email it to me via pete@petewarden.com? I'll be away for the next couple of days, but once I'm back I'll dig into what's going wrong.
On Wed, Jun 15, 2011 at 5:38 PM, tmo256 < reply@reply.github.com>wrote:
This project is precisely the kind of thing we've been looking for, in order to present a good deal of geographic information in a easily digestible way for users.
However, when trying to follow the suggestions for running the scripts locally, I'm getting an endless stream of Javascript errors that cause the browser to freeze. Using the Hello World html example, all I've done is change the URL for the jquery.openheatmap.js to a local address, and similarly, the world_countries.osm. I've added "prefer:'canvas'" to the settings object, but I have also tried adding a source attribute pointing to a local copy of openheatmap.swf.
The Javascript error that freezes Firefox, several thousand times, is:
openheatmap.js (line 1643) An invalid or illegal string was specified" code: "12 [Break On This Error] context.lineTo(currentPos.x, currentPos.y);
Any assistance you can offer on this subject would be very welcome.
Thanks so much!
Reply to this email directly or view it on GitHub: https://github.com/petewarden/openheatmap/issues/3
Pete, Thanks for your offer. I ultimately realized that the latest version of JQuery (1.6.1) was the culprit of the JS errors. My use of the maps would be integrated with other Javascript charts that are currently using 1.6, so I will take a look at the jquery.openheatmap.js to see if I can find upgrade compatibility.
Thanks.
This project is precisely the kind of thing we've been looking for, in order to present a good deal of geographic information in a easily digestible way for users.
However, when trying to follow the suggestions for running the scripts locally, I'm getting an endless stream of Javascript errors that cause the browser to freeze. Using the Hello World html example, all I've done is change the URL for the jquery.openheatmap.js to a local address, and similarly, the world_countries.osm. I've added "prefer:'canvas'" to the settings object, but I have also tried adding a source attribute pointing to a local copy of openheatmap.swf.
The Javascript error that freezes Firefox, several thousand times, is:
openheatmap.js (line 1643) An invalid or illegal string was specified" code: "12 [Break On This Error] context.lineTo(currentPos.x, currentPos.y);
Any assistance you can offer on this subject would be very welcome.
Thanks so much!