[#212,test/map][s]: addendum to previous commit (should have been in there!).
This commit is contained in:
@@ -30,6 +30,7 @@ test('basics', function () {
|
|||||||
model: dataset
|
model: dataset
|
||||||
});
|
});
|
||||||
$('.fixtures').append(view.el);
|
$('.fixtures').append(view.el);
|
||||||
|
view.render();
|
||||||
|
|
||||||
//Fire query, otherwise the map won't be initialized
|
//Fire query, otherwise the map won't be initialized
|
||||||
dataset.query();
|
dataset.query();
|
||||||
@@ -50,6 +51,7 @@ test('_setupGeometryField', function () {
|
|||||||
var view = new recline.View.Map({
|
var view = new recline.View.Map({
|
||||||
model: dataset
|
model: dataset
|
||||||
});
|
});
|
||||||
|
view.render();
|
||||||
var exp = {
|
var exp = {
|
||||||
geomField: null,
|
geomField: null,
|
||||||
lonField: 'lon',
|
lonField: 'lon',
|
||||||
@@ -66,6 +68,7 @@ test('Lat/Lon geom fields', function () {
|
|||||||
model: dataset
|
model: dataset
|
||||||
});
|
});
|
||||||
$('.fixtures').append(view.el);
|
$('.fixtures').append(view.el);
|
||||||
|
view.render();
|
||||||
|
|
||||||
// Not really needed but fire query to test that resetting works!
|
// Not really needed but fire query to test that resetting works!
|
||||||
dataset.query();
|
dataset.query();
|
||||||
@@ -90,6 +93,7 @@ test('GeoJSON geom field', function () {
|
|||||||
model: dataset
|
model: dataset
|
||||||
});
|
});
|
||||||
$('.fixtures').append(view.el);
|
$('.fixtures').append(view.el);
|
||||||
|
view.render();
|
||||||
|
|
||||||
//Fire query, otherwise the map won't be initialized
|
//Fire query, otherwise the map won't be initialized
|
||||||
dataset.query();
|
dataset.query();
|
||||||
@@ -137,6 +141,7 @@ test('Popup', function () {
|
|||||||
model: dataset
|
model: dataset
|
||||||
});
|
});
|
||||||
$('.fixtures').append(view.el);
|
$('.fixtures').append(view.el);
|
||||||
|
view.render();
|
||||||
|
|
||||||
//Fire query, otherwise the map won't be initialized
|
//Fire query, otherwise the map won't be initialized
|
||||||
dataset.query();
|
dataset.query();
|
||||||
|
|||||||
Reference in New Issue
Block a user