a user of my plugin reported that Google Maps cannot be displayed with IE7. Can you please tell me if your plugin is IE7 compatible? would help me a lot where to look for a fix...
I don't have IE anywhere around so can not comment on this
The problem with IE7 is this line:
I've commeted it out, and the map now work in IE7
// this._container.style.zIndex = "auto";
Do you know of any side effects of outcommenting this line? I guess it was there for a reason ;-)
No, it's at your own risk! So far I haven't discovered any side effects.
I tried this solution on my plugin too - problem with this is, that markers got hidden by that fix. I did some research and found this:
IE7 z-index: auto problems http://www.brunildo.org/test/IEzind.html
IE7 lessons learned: the z-index bug http://richa.avasthi.name/blogs/tepumpkin/2008/01/11/ie7-lessons-learned/
Fixing IE7 Z-Index Issues with jQuery http://www.vancelucas.com/blog/fixing-ie7-z-index-issues-with-jquery/
Unfortunately I dont know how to integrate one of those fixes into the google maps leaflet plugin. Could you @shramov perhaps take a look at it?
I've tested several fixes for this bug, one solution is to replace https://github.com/shramov/leaflet-plugins/blob/master/layer/tile/Google.js#L93 "auto" to -1 only for IE. With that markers are on top the tiles and there is no more error (the map lag a bit but it may come from the fact i'm running IE in a vm).
Anyway, i'm not sure about putting these kind of test in the plugin for a browser used by 1% (source http://theie7countdown.com/).
What do you think of it ? Should we close this issue or can you try to provide a patch ?
@robertharm any news about this bug or what i said in my last post ?
no news about this bug - abandoned IE7 compatiblity and didnt investigate it any further. closing ticket (would love to shutdown IE as a whole, as this browser has cost me too much time and energy ;-)
thanks for the update @robertharm