[OpenLayers-Trac] Re: [OpenLayers] #2818: add
OpenLayers.Filter.Callback
OpenLayers
trac-20090302 at openlayers.org
Fri Sep 10 10:59:27 EDT 2010
#2818: add OpenLayers.Filter.Callback
----------------------+-----------------------------------------------------
Reporter: alexdean | Owner:
Type: feature | Status: new
Priority: minor | Milestone: 2.11 Release
Component: Filter | Version: 2.10 RC1
Keywords: | State: Awaiting User Feedback
----------------------+-----------------------------------------------------
Changes (by ahocevar):
* state: => Awaiting User Feedback
Comment:
Is there a reason why you don't just do
{{{
new OpenLayers.Filter({
evaluate: function(feature) {
return( feature.attributes.density >= 100 ||
feature.attributes.population >= 200000 )
}
});
}}}
?
--
Ticket URL: <http://trac.openlayers.org/ticket/2818#comment:1>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer
More information about the Trac
mailing list