diff options
author | Brion Vibber <brion@pobox.com> | 2010-12-08 13:52:35 -0800 |
---|---|---|
committer | Brion Vibber <brion@pobox.com> | 2010-12-08 14:28:55 -0800 |
commit | 34569017ce983248f19426a9b0bfb08b71901b2e (patch) | |
tree | 4ffc10c999076f6dfe63bd203a08c18de3e651bd /plugins/Mapstraction/OpenLayers/statusnet.cfg | |
parent | 001512df966c8c3b8f045f645e804b0a6fef8625 (diff) |
Add stripped and minified local copy of OpenLayers 2.10, about 1/5 the size of the full version.
Included Makefile will recreate the OpenLayers.js using the statusnet.cfg strip configuration file
and yui-compressor to do some extra minification at the end. Requires fetching the OpenLayers
source download and dropping it in:
http://openlayers.org/download/OpenLayers-2.10.tar.gz
Diffstat (limited to 'plugins/Mapstraction/OpenLayers/statusnet.cfg')
-rw-r--r-- | plugins/Mapstraction/OpenLayers/statusnet.cfg | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/plugins/Mapstraction/OpenLayers/statusnet.cfg b/plugins/Mapstraction/OpenLayers/statusnet.cfg new file mode 100644 index 000000000..69a347afd --- /dev/null +++ b/plugins/Mapstraction/OpenLayers/statusnet.cfg @@ -0,0 +1,43 @@ +# Modified lite.cfg for building an OpenLayers subset for StatusNet's Mapstraction plugin. + +# This file includes a small subset of OpenLayers code, designed to be +# integrated into another application. It includes only the Layer types +# neccesary to create tiled or untiled WMS, and does not include any Controls. +# This is the result of what was at the time called "Webmap.js" at the FOSS4G +# Web Mapping BOF. + +[first] +OpenLayers/SingleFile.js +OpenLayers.js +OpenLayers/BaseTypes.js +OpenLayers/BaseTypes/Class.js +OpenLayers/Util.js + +[last] + +[include] +OpenLayers/Map.js +OpenLayers/Layer/WMS.js + +# Needed for Mapstraction on StatusNet +OpenLayers/Feature.js +OpenLayers/Feature/Vector.js +OpenLayers/Geometry.js +OpenLayers/Geometry/Point.js +OpenLayers/Geometry/LinearRing.js +OpenLayers/Geometry/LineString.js +OpenLayers/Icon.js +OpenLayers/Layer/Markers.js +OpenLayers/Layer/TMS.js +OpenLayers/Marker.js +OpenLayers/Popup.js + +# Default controls, needed to keep the map dynamic +OpenLayers/Control/ArgParser.js +OpenLayers/Control/Attribution.js +OpenLayers/Control/Navigation.js +OpenLayers/Control/PanZoom.js + +[exclude] + + |