Hey Alexandre, thanks for putting together this example. I guess the only workaround other than using the Canvas renderer is to do a browser check in the SVG renderer (the issue also persists with IE10) and apply an offset to labels. I guess it will be fun to find out what offset is required. Is it linear with the font size, is it fixed, ...?
Andreas. On Wed, Feb 6, 2013 at 3:30 PM, Alexandre Dubé <[email protected]> wrote: > Hi Andreas, > > I just hit the same issue described here in one of my app. I made a small > example to clearly show the issue with the SVG renderer in IE9 : > > http://dev5.mapgears.com/tests/openlayers-ie9-label-shift/ > > Canvas is fine in IE9. VML works fine for IE8 and 7. Has anyone found a > solution for this yet ? Any workaround ? > > Regards, > > Alexandre > > > > On 12-07-25 03:38 AM, Andreas Hocevar wrote: >> >> I just tried myself and noticed a slight shift towards the bottom in >> IE9. Can you confirm that this is what you're seeing, or is there >> something else/different? >> >> Andreas. >> >> On Tue, Jul 10, 2012 at 7:35 PM, Lak Krishnan >> <[email protected]> wrote: >>> >>> "vector feature with text" example still shows with the labels shifted in >>> IE9. Is there anything else that need to be done to eliminate the vector >>> label misalignment problem? I have the same problem in one of my >>> applications. I have the below in my HTML document and it has not helped >>> the >>> cause at all. >>> >>> <!DOCTYPE html> >>> <html lang="en"> >>> >>> -lak >>> >>> -- >>> View this message in context: >>> http://osgeo-org.1560.n6.nabble.com/Label-mis-align-with-IE9-tp3916849p4987384.html >>> Sent from the OpenLayers Users mailing list archive at Nabble.com. >>> _______________________________________________ >>> Users mailing list >>> [email protected] >>> http://lists.osgeo.org/mailman/listinfo/openlayers-users >> >> >> > > > -- > Alexandre Dubé > Mapgears > www.mapgears.com > > > _______________________________________________ > Users mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/openlayers-users -- Andreas Hocevar OpenGeo - http://opengeo.org/ Expert service straight from the developers. _______________________________________________ Users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/openlayers-users
