Browse Source

removed superfluous conditional

pull/1002/head
Stephen Hess 7 years ago
parent
commit
1fb50dc6bd
  1. 5
      helper/geojsonify.js

5
helper/geojsonify.js

@ -83,11 +83,6 @@ function addName(src, dst) {
*/ */
function addBBoxPerFeature(geojson) { function addBBoxPerFeature(geojson) {
geojson.features.forEach(feature => { geojson.features.forEach(feature => {
if (!feature.properties.hasOwnProperty('bounding_box')) {
return;
}
if (feature.properties.bounding_box) { if (feature.properties.bounding_box) {
feature.bbox = [ feature.bbox = [
feature.properties.bounding_box.min_lon, feature.properties.bounding_box.min_lon,

Loading…
Cancel
Save