Hi,
Is there a precise way to determine the label width in pixels?
My method is putting the same text (same properties) on a div hidden in a
page and then retrieving the clientWidth but the width is less than appears
on the label and then I have to apply a correction factor 1.2... hence my
question.

Regards,
Nuno Magalhães



--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/Retrieving-label-width-tp5019813.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

Reply via email to