: Gene Sally
Cc: users@openlayers.org
Subject: Re: [OpenLayers-Users] Question about selected feature
Hi,
I don't have an answer for what you need. But, here's a demo I did (1).
Maybe it's close to what you need to achieve. You could imagine that
"hovering" a feature wo
-boun...@openlayers.org] On
Behalf Of Alexandre Dube
Sent: Thursday, March 05, 2009 15:52
To: Gene Sally
Cc: users@openlayers.org
Subject: Re: [OpenLayers-Users] Question about selected feature
Hi,
I don't have an answer for what you need. But, here's a demo I did (1).
Maybe it's cl
Hi,
I don't have an answer for what you need. But, here's a demo I did (1).
Maybe it's close to what you need to achieve. You could imagine that
"hovering" a feature would just highlight it and clicking on it would
select it and open a popup.
Regards,
Alexandre
(1) http://dev4.mapgears.com/b
Hi,
I have a map that contains some features. When the user click on a feature, it
triggers a select control:
selectControl = new OpenLayers.Control.SelectFeature(
polygonLayer, {onSelect: onSelectFunction, onUnselect:
onUnselectFunction});
The OnSelect and onUnselect functions are c