I have an OL map that has a GML polygon layer (loaded from a WFS source). I 
have a SelectFeature control that operates using hover:true
 
                var options = {
                    hover: true,
                    onSelect: function(feature) { 
                    OpenLayers.Util.getElement('selfarm').innerHTML = 
"<strong>Farm_id:</strong>" + feature.attributes.FARM_ID + " 
<strong>Par_no:</strong>" + feature.attributes.PAR_ID
                    }
 
                };
                var select = new OpenLayers.Control.SelectFeature(fbnd, 
options);
                map.addControl(select);
                //select.handler.stopDown = false;
                //select.handler.stopUp = false;
                select.activate();
 
Anyway, when I hover over a polygon, I get a a couple of the attributes 
displayed in a div below the map. The problem I have is that the normal 
click-and-drag control used for panning the map does not work when I drag on a 
polygon feature. It only works when I drag in a part of the map without one of 
these polygons.
 
Any clues?
 
Many thanks,
 
Robert Sanson
------------------------------------------------------------------
The contents of this email are confidential to AsureQuality. If you have 
received this communication in error please notify the sender immediately and 
delete the message and any attachments. The opinions expressed in this email 
are not necessarily those of AsureQuality. This message has been scanned for 
known viruses before delivery. AsureQuality supports the Unsolicited Electronic 
Messages Act 2007. If you do not wish to receive similar communications in 
future, please notify the sender of this message.
------------------------------------------------------------------


This message has been scanned for malware by SurfControl plc. 
www.surfcontrol.com
_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users

Reply via email to