[OpenLayers-Dev] Need ideas for VML feature text label rendering speed improvement

Cliang thephatness.nabble at mailnull.com
Wed Apr 7 17:17:19 EDT 2010

Digging deeper, as ugly as this is, it will work for me for now:

In OpenLayers.Renderer.drawFeature()

if ((bounds.getSize().w / this.getResolution()) > (style.label.length * 7))
    this.drawText(feature.id, style, location);
} else {

View this message in context: http://n2.nabble.com/Need-ideas-for-VML-feature-text-label-rendering-speed-improvement-tp4866820p4867617.html
Sent from the OpenLayers Dev mailing list archive at Nabble.com.

More information about the Dev mailing list