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

ahlah ahti.lahtela at pp.inet.fi
Wed May 26 04:51:15 EDT 2010


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 harm in Firefox.

Br,

ahlah
-- 
View this message in context: http://osgeo-org.1803224.n2.nabble.com/IE7-and-Firefox-draws-icons-to-different-places-tp5083376p5102487.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.



More information about the Users mailing list