Arnd,
Thanks for that code. I wasn't aware you can apply context to a style. I was
able to hide labels if they do not fit within the geometry for the current
zoom. Is there a better way to get the average pixel width of a label
character for a fixed font size instead of hardcoding it like this?
I posted about running into this issue on March 25 and Arnd pointed me to:
http://openlayers.org/pipermail/users/2009-August/013462.html
http://trac.openlayers.org/ticket/2252
(maybe that ticket should include keywords "leading, zeros" because I missed
it as well)
Since I'm only using replaceme
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 t