openheatmap
openheatmap copied to clipboard
errors in Hello World example
Hi,
Like others have noted I am also experiencing errors regarding 4.png and crossdomain.xml.
You may view the example here: http://cl.clsmith.org/ ... I haven't altered any of the code.
I'm using an iMac with Safari 5.0.5 and Chrome 12.0.742.122, and a friend tried it with the same result on a Windows laptop with IE and Firefox.
Any help would be appreciated. Thanks, Chris
Hi Chris, sorry you're hitting problems but thanks for the runnable example. The first thing I noticed was that you don't have a crossdomain.xml file on your site, so the Flash component will be blocked from loading any data. You can see an example of the sort of file you'll need here: http://www.openheatmap.com/crossdomain.xml There's more information about the cross-domain issues here, under the 'Cross domain' heading: https://github.com/petewarden/openheatmap/wiki/How-to-use-OpenHeatMap-within-your-own-site
Let me know if that helps, if not I can dig deeper.
cheers, Pete
On Sun, Jul 31, 2011 at 6:58 PM, cleesmith < [email protected]>wrote:
Hi,
Like others have noted I am also experiencing errors regarding 4.png and crossdomain.xml.
You may view the example here: http://cl.clsmith.org/ ... I haven't altered any of the code.
I'm using an iMac with Safari 5.0.5 and Chrome 12.0.742.122, and a friend tried it with the same result on a Windows laptop with IE and Firefox.
Any help would be appreciated. Thanks, Chris
Reply to this email directly or view it on GitHub: https://github.com/petewarden/openheatmap/issues/4
Pete,
Thanks ... that fixed the crossdomain.xml missing error, but I still get the following errors (about 10 of these), as seen in the developer console:
Request URL:http://a.tile.openstreetmap.org/2/0/4.png#0 Request Method:GET Status Code:404 Not Found
... any suggestions ?
Thanks, Chris
Pete,
I forgot to mention that the same errors occur at: http://www.openheatmap.com/examples/hello_world/ ... if that helps.
Thanks, Chris
It appears as if it may be trying to fetch some unneeded map tiles with bogus indexes, causing the 404's in the console. That definitely needs cleaning up, but doesn't appear to affect the rendering at least. It seems like the example on your site is now working, unless I'm missing something?
cheers, Pete
On Mon, Aug 1, 2011 at 9:38 AM, cleesmith < [email protected]>wrote:
Pete,
I forgot to mention that the same errors occur at: http://www.openheatmap.com/examples/hello_world/ ... if that helps.
Thanks, Chris
Reply to this email directly or view it on GitHub: https://github.com/petewarden/openheatmap/issues/4#issuecomment-1701843
Not really a comforting example when it has so many errors.
I was really hoping for a simple 'starter' example, perhaps similar to: http://www.openheatmap.com/view.html?map=LithophotogravureAndrogametophoreChurchianity
thanks anyways, Chris
hi petewarden, i reference this URL : https://github.com/petewarden/openheatmap/tree/master/examples/hello_world
and try to place map on my site but it's not working, can you tell me where is my mistake ? i attached my source files below. index.html hello_data.csv crossdomain.xml
my URL: http://vyomwork.com/demo
waiting for your replay thankyou