set keys when sending area request
This commit is contained in:
parent
548d41d391
commit
18a9b58449
1 changed files with 5 additions and 0 deletions
|
@ -761,6 +761,11 @@ Ox.Map = function(options, self) {
|
||||||
north: bounds.getNorthEast().lat(),
|
north: bounds.getNorthEast().lat(),
|
||||||
east: bounds.getNorthEast().lng()
|
east: bounds.getNorthEast().lng()
|
||||||
},
|
},
|
||||||
|
keys: [
|
||||||
|
'id', 'name', 'geoname', 'countryCode',
|
||||||
|
'lat', 'lng', 'south', 'west', 'north', 'east'
|
||||||
|
'editable',
|
||||||
|
],
|
||||||
range: [0, self.options.maxMarkers],
|
range: [0, self.options.maxMarkers],
|
||||||
sort: [{key: 'area', operator: '+'}],
|
sort: [{key: 'area', operator: '+'}],
|
||||||
}, function(result) {
|
}, function(result) {
|
||||||
|
|
Loading…
Reference in a new issue