From 34569017ce983248f19426a9b0bfb08b71901b2e Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Wed, 8 Dec 2010 13:52:35 -0800 Subject: 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 --- plugins/Mapstraction/OpenLayers/statusnet.cfg | 43 +++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 plugins/Mapstraction/OpenLayers/statusnet.cfg (limited to 'plugins/Mapstraction/OpenLayers/statusnet.cfg') 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] + + -- cgit v1.2.3