gnu-social/plugins/Mapstraction/OpenLayers
Bhuvan Krishna d6924f7680 Remove executable permissions where unnecessary 2015-07-10 14:36:34 +05:30
..
img Remove executable permissions where unnecessary 2015-07-10 14:36:34 +05:30
theme/default Add stripped and minified local copy of OpenLayers 2.10, about 1/5 the size of the full version. 2010-12-08 14:28:55 -08:00
Makefile Add stripped and minified local copy of OpenLayers 2.10, about 1/5 the size of the full version. 2010-12-08 14:28:55 -08:00
OpenLayers.js Add stripped and minified local copy of OpenLayers 2.10, about 1/5 the size of the full version. 2010-12-08 14:28:55 -08:00
README Add stripped and minified local copy of OpenLayers 2.10, about 1/5 the size of the full version. 2010-12-08 14:28:55 -08:00
statusnet.cfg Add stripped and minified local copy of OpenLayers 2.10, about 1/5 the size of the full version. 2010-12-08 14:28:55 -08:00

README

The default OpenLayers.js file, minified, weighs in at a whopping 943kb uncompressed.
With gzip compression it's still over 200kb, so we're building a stripped-down copy
with just what we need.

Docs on how the stripping process works:
http://docs.openlayers.org/library/deploying.html

To recreate this OpenLayers.js file:

  # get yui-compressor (install from apt, or set up a shell script or alias to the jar)
  # download and decompress OpenLayers-2.10 zip or tgz
  make clean && make

If necessary, change the relative path to the OpenLayers source directory in the Makefile.