[OpenLayers-Trac] Re: [OpenLayers] #3207: hit detection with canvas

OpenLayers trac-20090302 at openlayers.org
Thu Mar 31 04:30:59 EDT 2011


#3207: hit detection with canvas
-----------------------------+----------------------------------------------
 Reporter:  tschaub          |       Owner:  tschaub     
     Type:  feature          |      Status:  assigned    
 Priority:  minor            |   Milestone:  2.11 Release
Component:  Renderer.Canvas  |     Version:  2.10        
 Keywords:                   |       State:  Review      
-----------------------------+----------------------------------------------

Comment(by fredj):

 Two minor comment issues:
   * hitDetection comment: change "Default is false" to "Default is true"
   * getFeatureIdFromEvent comment: the function returns a feature, not a
 feature id.

 In getFeatureIdFromEvent, is there a reason that a bitwise or (|) is used
 instead of a logical or (||) ?

 Thanks Tim for this patch

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


More information about the Trac mailing list