[OpenLayers-Trac] Re: [OpenLayers] #3257: NG renderer does not
recalculate feature styles on zoom change
OpenLayers
trac-20090302 at openlayers.org
Mon May 30 09:11:27 EDT 2011
#3257: NG renderer does not recalculate feature styles on zoom change
-------------------------+--------------------------------------------------
Reporter: ahocevar | Owner: ahocevar
Type: bug | Status: new
Priority: minor | Milestone: 2.12 Release
Component: Renderer.NG | Version: SVN
Keywords: | State: Review
-------------------------+--------------------------------------------------
Comment(by mosesonline):
Ok, it seems to work fine in FF 4.0.1 and Chrome 13. But I have a problem
with our customized SVG2 renderer, that's why I'm so late with an answer,
for which I don't know if it is your patch or our renderer. It works fine
with most of our data types but not with the most important one.[[BR]]
Our modification turns font-tags in labels to tspan's, but with the patch
after zoom the labels stay at the same size till I turn visibility off and
on. The "funny" thing is that color works fine, but the font-size
attribute of the inner tspan elements aren't changed. The function is
processed with the right font-size set on the tag but the resulting tag
(according to firebug/chrome) doesn't change.[[BR]]
But with other data and the example the patch works. Nice solution by the
way, I thought about a similar, but this looks clever and no changes in
current code are necessary(expect the fix of our probable error:)).
--
Ticket URL: <http://trac.openlayers.org/ticket/3257#comment:6>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer
More information about the Trac
mailing list