[OpenLayers-Users] Feature label with leading zero is being trimmed

Cliang thephatness.nabble at mailnull.com
Thu Mar 25 01:29:39 EDT 2010


I have some features of zip codes with labels with leading zeros that are
being cut off when the text is being drawn. I've tracked it down to the
OpenLayers.Style.createLiteral function where it does not consider the value
as IsNaN and parses it as a float. Is this working as designed? 
-- 
View this message in context: http://n2.nabble.com/Feature-label-with-leading-zero-is-being-trimmed-tp4795905p4795905.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.



More information about the Users mailing list