summaryrefslogtreecommitdiff
path: root/plugins/Mapstraction/OpenLayers/README
diff options
context:
space:
mode:
authorEvan Prodromou <evan@status.net>2010-12-09 11:27:55 -0500
committerEvan Prodromou <evan@status.net>2010-12-09 11:27:55 -0500
commit2f2c47eca98d493b18eaf9f70fee56c762865f89 (patch)
treec6014e580b165a4e5710bb1df28dd1f8799d862c /plugins/Mapstraction/OpenLayers/README
parentb8b5b87c4c106f59e346ca20e45458192f68a744 (diff)
parent99f3964394e18af6c139c5a1c804ced727e5b1a4 (diff)
Merge branch '0.9.x' into activityatompub
Diffstat (limited to 'plugins/Mapstraction/OpenLayers/README')
-rw-r--r--plugins/Mapstraction/OpenLayers/README14
1 files changed, 14 insertions, 0 deletions
diff --git a/plugins/Mapstraction/OpenLayers/README b/plugins/Mapstraction/OpenLayers/README
new file mode 100644
index 000000000..748d55e15
--- /dev/null
+++ b/plugins/Mapstraction/OpenLayers/README
@@ -0,0 +1,14 @@
+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.