[OpenLayers-Trac] Re: [OpenLayers] #3446: New
getFeaturesByGeometryType method
OpenLayers
trac-20090302 at openlayers.org
Mon Aug 1 07:05:01 EDT 2011
#3446: New getFeaturesByGeometryType method
--------------------------+-------------------------------------------------
Reporter: dr | Owner: crschmidt
Type: feature | Status: new
Priority: minor | Milestone: 2.12 Release
Component: Layer.Vector | Version: 2.10
Keywords: | State: Needs More Work
--------------------------+-------------------------------------------------
Comment(by erilem):
Here was my reaction when we discussed adding
{{{getFeaturesByAttribute}}}:
{{{
I would personally not add such a function to the library. My reason:
coding this function is easy enough, so I'd leave its implementation
to the application developer, thereby avoiding bloating OpenLayers
with code that most application developers won't need.
}}}
See http://osgeo-org.1803224.n2.nabble.com/Layer-Vector-getFeatureBy-and-
getFeaturesByAttribute-td5819790.html for the entire thread.
I have the same feeling for {{{getFeaturesByGeometryType}}}, and would be
-1 for adding it. I'm interested to know what others think.
--
Ticket URL: <http://trac.openlayers.org/ticket/3446#comment:2>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer
More information about the Trac
mailing list