[OpenLayers-Users] Select-Feature works on IE and doesn´t work on FF and Opera
nessie_1980
nessie_1980 at hotmail.com
Fri May 6 15:18:20 EDT 2011
Hello everybody,
I work with openlayers for some weeks so i´m a newbie :). Everything works
fine but then
i add a hover-control and after that it isn´t possible to modify a added
feature with
the modify-contorl in FireFox and Opera. It isn´t possible to select the
drawed feature.
With the IE everything works fine and i don´t know why....
I use the openlayers.js from the internet.
The code that i added is the following:
var highlightPoints = new OpenLayers.Control.SelectFeature
(
[layer_points, layer_lines, layer_polygons],
{
hover: true,
highlightonly: true,
eventListeners:
{
beforefeaturehighlighted: show_popup,
featureunhighlighted: hide_popup
}
}
);
map.addControl(highlightPoints);
highlightPoints.activate();
You can find the website under:
www.nessie-home.de/test/add.html
With this website you can add, modify and delete geometries in kml-Files
Is that a failure by myself or is it a bug in openlayers?
Thx for your help
MfG
nessie_1980
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/Select-Feature-works-on-IE-and-doesn-t-work-on-FF-and-Opera-tp6338608p6338608.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
More information about the Users
mailing list