Corrected syntax of new mapping test cases
This commit is contained in:
parent
a35edd8815
commit
27627c45d9
@ -110,13 +110,14 @@ test('GeoJSON geom field', function () {
|
||||
test('_getGeometryFromRecord non-GeoJSON', function () {
|
||||
var test = [
|
||||
[{ lon: 47, lat: 53}, [47,53]],
|
||||
[{ lon: -47, lat: 53}, [-47,53]],
|
||||
["53.3,47.32", [47.32, 53.3]],
|
||||
["53.3, 47.32", [47.32, 53.3]],
|
||||
["(53.3,47.32)", [47.32, 53.3]],
|
||||
[[53.3,47.32], [53.3, 47.32]],
|
||||
["53.3 N, 113.5 W", [53.3, -113.5]],
|
||||
["53° 18' N, 113° 30' W", [53.3, -113.5]]
|
||||
["22°54′30″S 43°11′47″W", [-22.983, -43.3139]]
|
||||
["53.3 N, 113.5 W", [-113.5, 53.3]],
|
||||
["53° 18' N, 113° 30' W", [-113.5, 53.3 ]],
|
||||
["22°45′90″S, 43°15′45″W", [-43.2625, -22.775]]
|
||||
];
|
||||
var view = new recline.View.Map({
|
||||
model: new recline.Model.Dataset({
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user