From 3529f9d5f2851b65fcf94b5a4ec3b722b9f6c64c Mon Sep 17 00:00:00 2001 From: Michel Etienne Date: Fri, 28 Jun 2013 15:41:57 +0200 Subject: remove projection attributes from stop areas and access points in database --- app/maps/access_point_map.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'app/maps/access_point_map.rb') diff --git a/app/maps/access_point_map.rb b/app/maps/access_point_map.rb index bf763e6c6..8cacdc8c0 100644 --- a/app/maps/access_point_map.rb +++ b/app/maps/access_point_map.rb @@ -36,8 +36,8 @@ class AccessPointMap < ApplicationMap if(referential_projection != undefined) { projection_geometry = event.feature.geometry.clone().transform(new OpenLayers.Projection("EPSG:900913"), referential_projection ); - $('#access_point_x').val(projection_geometry.x); - $('#access_point_y').val(projection_geometry.y); } + $('#access_point_projection_x').val(projection_geometry.x); + $('#access_point_projection_y').val(projection_geometry.y); } } }); EOF -- cgit v1.2.3