[OpenLayers-Trac] Re: [OpenLayers] #2839: canvas enhancements

OpenLayers trac-20090302 at openlayers.org
Fri Mar 4 06:26:58 EST 2011


#2839: canvas enhancements
-----------------------------+----------------------------------------------
 Reporter:  tschaub          |       Owner:  crschmidt   
     Type:  feature          |      Status:  new         
 Priority:  minor            |   Milestone:  2.11 Release
Component:  Renderer.Canvas  |     Version:  2.10        
 Keywords:                   |       State:              
-----------------------------+----------------------------------------------

Comment(by crschmidt):

 If this doesn't make it into 2.11, we should at least hack the canvas
 renderer to try to gather style information from the feature when
 constructing its intersection bounds:

 {{{
         var bounds = new OpenLayers.Bounds(loc.lon - resolution * 5,
                                            loc.lat - resolution * 5,
                                            loc.lon + resolution * 5,
                                            loc.lat + resolution * 5);
 }}}

 does not work for larger features.

-- 
Ticket URL: <http://trac.openlayers.org/ticket/2839#comment:1>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer


More information about the Trac mailing list