openlayers/openlayers — Issue #121: Remove Geometry requires from vector formats
Author: probins
Created: 2011-12-29 10:31:41+00:00
State: open

Would suggest removing requires for geometries other than point from vector formats, and making it website developers' responsibility to include whatever they need in their build config files. That way, if I know for example that I'm only dealing with point data, I do not have unneeded classes in my build files.

Point can be left in as it's the common denominator, used by all geometry types.

Example of suggested change at https://github.com/probins/openlayers/blob/geometryremoves/lib/OpenLayers/Format/GeoJSON.js
If people agree with this, I will change the other vector formats, and issue a pull request.