[OSM-dev] WebGL 3D OSM viewer project

Nick Whitelegg Nick.Whitelegg at solent.ac.uk
Fri Nov 27 15:26:43 GMT 2009


Hi Peter,

>It always fails with:

>Error: this.wgl is null
>Source File: http://www.free-map.org.uk/3d/main.js
>Line: 164

Puzzled by this, unless it's something that's changed on the latest 
nightly build - it worked for me this morning, using the nightly build 
from yesterday (Thursday). What OS are you using?

Sometimes in WebGL, your graphics hardware has an effect - I've heard 
people talk of problems with WebGL in certain ATI cards, for example.

What I'll do later (c. 1900 CET) is add a few alert boxes to the 
initialisation code giving details on any initialisation errors. From your 
error, something must have gone wrong with WebGL initialisation.
If you could try after then (say 2000 CET onwards) and let me know what 
happens, that would be great.

Thanks,
Nick




More information about the dev mailing list