Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

errors in Hello World example #4

Open
cleesmith opened this issue Aug 1, 2011 · 6 comments
Open

errors in Hello World example #4

cleesmith opened this issue Aug 1, 2011 · 6 comments

Comments

@cleesmith
Copy link

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

@petewarden
Copy link
Owner

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:
#4

@cleesmith
Copy link
Author

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

@cleesmith
Copy link
Author

Pete,

I forgot to mention that the same errors occur at:
http://www.openheatmap.com/examples/hello_world/
... if that helps.

Thanks,
Chris

@petewarden
Copy link
Owner

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:
#4 (comment)

@cleesmith
Copy link
Author

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

@raviradadiya
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants