Thanks for replying! getFeatureById() and OpenLayers.Layer.Vector.selectedFeatures both return feature(s), I don't see how I can use these functions to select features?
Alex. On Thu, Jul 22, 2010 at 2:56 PM, emmexx <emm...@tiscalinet.it> wrote: > Il 22/07/2010 15:24, Alex Brandsen scrisse: > > Hi all, > > > > I was wondering if there is a way to manually select a feature, i.e. > > when a feature is clicked, I want to select a feature next to it as well. > > I can't seem to find any documentation on this, unfortunately. > > You can use: > > OpenLayers.Layer.Vector.getFeatureById() > > or the undocumented/private/I can't find it in the api docs > > OpenLayers.Layer.Vector.selectedFeatures array. > > bye > maxx >
_______________________________________________ Users mailing list Users@openlayers.org http://openlayers.org/mailman/listinfo/users