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

Arnd Wippermann arnd.wippermann at web.de
Thu Mar 25 17:53:00 EDT 2010


Hi,

Look here
 
http://openlayers.org/pipermail/users/2009-August/013462.html

http://trac.openlayers.org/ticket/2252

Arnd 

-----Ursprüngliche Nachricht-----
Von: users-bounces at openlayers.org [mailto:users-bounces at openlayers.org] Im
Auftrag von Cliang
Gesendet: Donnerstag, 25. März 2010 06:30
An: users at openlayers.org
Betreff: [OpenLayers-Users] Feature label with leading zero is being trimmed


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-tp4795
905p4795905.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
Users mailing list
Users at openlayers.org
http://openlayers.org/mailman/listinfo/users




More information about the Users mailing list