Browse Source

formatting

pull/43/head
Peter Johnson 10 years ago
parent
commit
46c0af83f3
  1. 7
      helper/geojsonify.js

7
helper/geojsonify.js

@ -55,13 +55,12 @@ function search( docs ){
});
// convert to geojson
var geojson = GeoJSON.parse( geodata, {
Point: ['lat', 'lng']
});
var geojson = GeoJSON.parse( geodata, { Point: ['lat', 'lng'] });
// add bbox
geojson.bbox = extent( geojson ) || undefined;
return geojson;
return geojson;
}
module.exports.search = search;
Loading…
Cancel
Save