[OpenLayers-Trac] [OpenLayers] #3179: Handler.Point activated too early

OpenLayers trac-20090302 at openlayers.org
Fri Mar 18 19:41:03 EDT 2011


#3179: Handler.Point activated too early
---------------------------+------------------------------------------------
 Reporter:  flavour        |       Owner:  tschaub     
     Type:  bug            |      Status:  new         
 Priority:  major          |   Milestone:  2.11 Release
Component:  Handler.Point  |     Version:  2.10        
 Keywords:                 |       State:              
---------------------------+------------------------------------------------
 ChangeSet 11381 causes issues with having a pointControl pre-activated in
 a window:
 http://trac.osgeo.org/openlayers/changeset/11381/trunk/openlayers/lib/OpenLayers/Handler/Point.js

 Minimal attached or in pastebin:
 http://paste.pocoo.org/show/355817/

 Compare the trunk version of OpenLayers which gives lonlat=null with the
 'nightly' which uses a version previous to 11381 where it all works as-
 expected.

 If I just comment out this.createFeature() in Point's activate() then the
 window opens OK however then whenever the mouse is over the map, it is
 interpreted as a ModifyFeature.
 Seems like the work on Mobiles has broken something here - or perhaps
 there's another supported way of doing what I'm trying to do?

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


More information about the Trac mailing list