summaryrefslogtreecommitdiff
path: root/chimere/static/main_map.js
diff options
context:
space:
mode:
Diffstat (limited to 'chimere/static/main_map.js')
-rw-r--r--chimere/static/main_map.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/chimere/static/main_map.js b/chimere/static/main_map.js
index 8137b03..5c698c1 100644
--- a/chimere/static/main_map.js
+++ b/chimere/static/main_map.js
@@ -287,6 +287,7 @@ function putRoute(layer, route) {
point_array.push(point);
}
var linestring = new OpenLayers.Geometry.LineString(point_array);
+ linestring.transform(epsg_display_projection, map.getProjectionObject());
currentFeature = new OpenLayers.Feature.Vector();
var style = OpenLayers.Util.extend({},