ok, just checked out of subversion and now everything seems fixed. Thank you to whomever fixed that :)
-----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Heidt, Christopher M. Sent: Wednesday, April 01, 2009 10:12 AM To: [email protected] Subject: Re: [OpenLayers-Users] New SelectFeature Control problems? I reverted to a copy of OL I exported off two weeks ago and everything behaves correctly, So what has changed in the past week that causes features to disapear when their selection control deactivates? -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Heidtmare Sent: Wednesday, April 01, 2009 9:28 AM To: [email protected] Subject: Re: [OpenLayers-Users] New SelectFeature Control problems? To elaborate what I'm seeing now: when i first load the map sensorSelectControl is active by default, and i see items from both my sensorLayer and featureLayer. when i change to my featureSelectControl items from the sensorLayer vanish. when i change back to my sensorSelectControl items from the featureLayer vanish. this is not how it behaved last week. I update my openlayers svn checkout daily, but when i did it yesterday i noticed that when i switch between my SelectFeature controls the features not in the layer associated to that control disapear! They used to just bring that layer to the front and i could still see all my other features behind it. this is my code. it hasnt changed in months. //Panel _sensorSelectControl = new OpenLayers.Control.SelectFeature(_sensorLayer,{ title: '[Selection Tool] Sensors', displayClass: 'Control_SelectSensors_', onSelect: onSensorSelect }); _featureSelectControl = new OpenLayers.Control.SelectFeature(_featureLayer,{ title:'[Selection Tool] Features of Interest', displayClass: 'Control_SelectFeatures_', onSelect: onFeatureSelect }); var panel = new OpenLayers.Control.Panel({defaultControl:_sensorSelectControl}); panel.addControls([ _sensorSelectControl, _featureSelectControl ]); _map.addControl(panel); _______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users -- View this message in context: http://n2.nabble.com/New-SelectFeature-Control-problems--tp2568715p25689 89.html Sent from the OpenLayers Users mailing list archive at Nabble.com. _______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users _______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users _______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
