|
|
@ -5,7 +5,8 @@ var suggest = require('../../../sanitiser/suggest'), |
|
|
|
defaultError = 'invalid param \'input\': text length, must be >0', |
|
|
|
defaultError = 'invalid param \'input\': text length, must be >0', |
|
|
|
defaultClean = { input: 'test',
|
|
|
|
defaultClean = { input: 'test',
|
|
|
|
lat: 0,
|
|
|
|
lat: 0,
|
|
|
|
layers: [ 'geoname', 'osmnode', 'osmway', 'admin0', 'admin1', 'admin2', 'neighborhood' ],
|
|
|
|
layers: [ 'geoname', 'osmnode', 'osmway', 'admin0', 'admin1', 'admin2', 'neighborhood',
|
|
|
|
|
|
|
|
'osmaddress', 'openaddresses' ],
|
|
|
|
lon: 0,
|
|
|
|
lon: 0,
|
|
|
|
size: 10,
|
|
|
|
size: 10,
|
|
|
|
zoom: 10
|
|
|
|
zoom: 10
|
|
|
|