aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2011-07-01 18:23:32 +0100
committerMatthew Somerville <matthew@mysociety.org>2011-07-01 18:23:32 +0100
commit1b1faa30ce85b1d0436750d613c6f562bbee91b4 (patch)
treeaa117999e35e0a18bf895c5db42b196182fd4e31
parent904737fa294df86a88c3315c34af161ab1528142 (diff)
Use new simplify a bit to speed up Western Isles.
-rw-r--r--web/js/map-OpenLayers.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/js/map-OpenLayers.js b/web/js/map-OpenLayers.js
index 789d8f16e..548a06be2 100644
--- a/web/js/map-OpenLayers.js
+++ b/web/js/map-OpenLayers.js
@@ -45,7 +45,7 @@ YAHOO.util.Event.onContentReady('map', function() {
var area = new OpenLayers.Layer.Vector("KML", {
strategies: [ new OpenLayers.Strategy.Fixed() ],
protocol: new OpenLayers.Protocol.HTTP({
- url: "/mapit/area/" + fixmystreet.area + ".kml",
+ url: "/mapit/area/" + fixmystreet.area + ".kml?simplify_tolerance=0.0001",
format: new OpenLayers.Format.KML()
})
});