Re: [OpenLayers-Users] Question about selected feature

2009-03-09 Thread Gene Sally
: 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

Re: [OpenLayers-Users] Question about selected feature

2009-03-05 Thread Jan van der Ven
-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

Re: [OpenLayers-Users] Question about selected feature

2009-03-05 Thread Alexandre Dube
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

[OpenLayers-Users] Question about selected feature

2009-03-04 Thread Gene Sally
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