[OSM-dev] Slippy Map
mike at bristolbeat.co.uk
Sat Jun 16 13:41:56 BST 2007
Is this is svn? Any chance you could send a link to a working version of
this - I was having the same problems with the latest OpenLayers and OSM.
On 15/06/07, Tom Hughes <tom at compton.nu> wrote:
> With a bit of help from 80n I've managed to get the slippy map working
> with an unmolested copy of OpenLayers 2.4 so I plan to upgrade to that
> shortly - it seems to fix some of the reported problems at least.
> I believe I've also found the IE problem - the problem is that we are
> loading pngfix.js on IE which attempts to fix transparency problems
> with older versions of IE by changing IMG elements for PNG files
> into SPAN elements with run an ActiveX filter to do the transparency.
> The problem of course is that OpenLayers is looking for the IMG elements
> to attach the downloaded tiles to, but they have vanished...
> So the question is, what are we loading pngfix.js for? Do we have any
> pages on the site that are relying on it to handle transparency?
> If I take pngfix.js out then IE6 seems to work fine and IE7 works
> better though not perfectly - the initial map displays but it goes
> blank when I zoom in.
> On a related topic, we are loading main.js and tile.js on every
> page. As far as I can see none of the code in these is actually
> being used - they seem to be related to some older tile loading
> scheme as best I can tell. I propose to remove these unless somebody
> can explain why they're needed...
> Tom Hughes (tom at compton.nu)
> dev mailing list
> dev at openstreetmap.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the dev