[OpenLayers-Trac] [OpenLayers] #3378: Geometry type name matching a part of the supported type name

OpenLayers trac-20090302 at openlayers.org
Tue Jun 21 04:31:02 EDT 2011


#3378: Geometry type name matching a part of the supported type name
---------------------+------------------------------------------------------
 Reporter:  janise   |       Owner:              
     Type:  bug      |      Status:  new         
 Priority:  minor    |   Milestone:  2.11 Release
Component:  general  |     Version:  2.10        
 Keywords:           |       State:              
---------------------+------------------------------------------------------
 OpenLayers.Handler.Feature.geometryTypeMatches returns true even if the
 type name actually matches only a part of a type name in geometryTypes
 array.

 For example, 'OpenLayers.Geometry.Point' will incorrectly match
 'OpenLayers.Geometry.PointDraggable' thus making all Points draggable when
 using DragFeature.

-- 
Ticket URL: <http://trac.openlayers.org/ticket/3378>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer


More information about the Trac mailing list