Re: [OpenLayers-Users] IE7 and Firefox draws icons to different places

2010-05-26 Thread ahlah
Hi, I finally found bug from my code: graphicHeight was string instead of of integer and that caused error in calculating y offset in IE. -13.5 + "27" is -13.527 instead of 13.5 :( SVG renderer in Firefox calculates offset differently than VML renderer in IE, luckily the string didn't cause any

Re: [OpenLayers-Users] IE7 and Firefox draws icons to different places

2010-05-25 Thread ahlah
Hi, I made a simple example with hardcoded values and both browsers works fine, icon is in same correct place. So it seems that problem isn't in renderer. But there is some difference in behaviour between Firefox and IE because the use case is same, data in database is same and javascript code i

Re: [OpenLayers-Users] IE7 and Firefox draws icons to different places

2010-05-23 Thread Andreas Hocevar
Hi, this could be a VML renderer bug. But to investigate, I'd ask you to provide a minimal example showing the issue. Thanks, Andreas. On May 21, 2010, at 11:01 , ahlah wrote: > > Hi, > I have some icons in my map ponting to interesting places. Points are > vector features and icon path is in

[OpenLayers-Users] IE7 and Firefox draws icons to different places

2010-05-21 Thread ahlah
Hi, I have some icons in my map ponting to interesting places. Points are vector features and icon path is in styleparameters of the feature. There is also graphicWidth and graphicHeight values but no graphicXOffset and no graphicYOffset in styleparameters. Left picture is from Firefox and righ