Thanks for the example Slawomir. You are right, currently the NG renderers
(which SVG2 is a subclass of) don't recalculate styles on zoom change. I
created a ticket (http://trac.osgeo.org/openlayers/ticket/3257). If fixed
wisely, the performance impact of recalculating the styles on zoom level
Sure,
last time I wanted to post code here it was too long so I don't try to
send our style map and shorten it this time.
Our projection is 900913. The "mapObject" is our map-controller so you
should replace it by your way to find the map.
var defaultStyle = new OpenLayers.Style({
Hey Slawomir,
thanks for the feedback. Can you please provide a working example so we can
reproduce and fix the issue?
Thanks,
Andreas.
On Apr 13, 2011, at 08:14 , Slawomir Messner wrote:
> Hi,
> would like to use it too but we use a style map with context so that labels
> and graphics change
Hi,
would like to use it too but we use a style map with context so that
labels and graphics change size on zoom but the functions are not called
with SVG2 when zoomed only with SVG so the things stay at initial size
dependent on the zoom level at loading. I hope this is not the reason
for per
This is amazing. I can draw 10,000 features in Opera and zoom in/out in
<500ms on the provided timer.
--
View this message in context:
http://osgeo-org.1803224.n2.nabble.com/SVG2-and-2-11-tp6251101p6265597.html
Sent from the OpenLayers Dev mailing list archive at Nabble.com.