Commit e51fdf7e authored by Tomas Pettersson's avatar Tomas Pettersson 🏸

guide info

parent d12bc4e5
...@@ -201,8 +201,8 @@ var STWkit; ...@@ -201,8 +201,8 @@ var STWkit;
lat = guide[0]; lat = guide[0];
lng = guide[1]; lng = guide[1];
} }
feature['geometry']['coordinates'].push(19.0); feature['geometry']['coordinates'].push(lng);
feature['geometry']['coordinates'].push(56.0); feature['geometry']['coordinates'].push(lat);
geojson["features"].push(feature); geojson["features"].push(feature);
self.control.addGeoJSON(geojson); self.control.addGeoJSON(geojson);
}; };
......
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -227,8 +227,8 @@ module STWkit { ...@@ -227,8 +227,8 @@ module STWkit {
lat = guide[0]; lat = guide[0];
lng = guide[1]; lng = guide[1];
} }
feature['geometry']['coordinates'].push(19.0); feature['geometry']['coordinates'].push(lng);
feature['geometry']['coordinates'].push(56.0); feature['geometry']['coordinates'].push(lat);
geojson["features"].push(feature); geojson["features"].push(feature);
self.control.addGeoJSON(geojson); self.control.addGeoJSON(geojson);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment