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

guide pos fix

parent e51fdf7e
......@@ -198,8 +198,8 @@ var STWkit;
var lat = 56.0;
var lng = 19.0;
if (guide) {
lat = guide[0];
lng = guide[1];
lat = guide['position'][0];
lng = guide['position'][1];
}
feature['geometry']['coordinates'].push(lng);
feature['geometry']['coordinates'].push(lat);
......
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -224,8 +224,8 @@ module STWkit {
var lat = 56.0;
var lng = 19.0;
if (guide) {
lat = guide[0];
lng = guide[1];
lat = guide['position'][0];
lng = guide['position'][1];
}
feature['geometry']['coordinates'].push(lng);
feature['geometry']['coordinates'].push(lat);
......
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