How to make a Google Maps semi-transparent PNG tile layer work in IE8?

后端 未结 1 523
遥遥无期
遥遥无期 2020-11-27 07:38

I tried the following

new GTileLayer(null, _minZoom, _maxZoom, { isPng: true, opacity: 0.6 });

But in IE8, while the alpha opacity works, t

相关标签:
1条回答
  • 2020-11-27 07:59

    It's definitely a well-known bug - see here, here, and here. Just to throw a few links:

    • This blog offers a workaround using a IE specific technique.
    • This blog has a lenghty explanation for the workaround.

    And then there's this addressing a probably different bug in an early release of IE8. He got it solved by enlarging the image - maybe worth a try if you're working with a 1x1 image.

    Maybe you can work around this by using different pngs with different opacities, and no CSS opacity?

    0 讨论(0)
提交回复
热议问题