Browse Source

switched `label` to property-to-copy

pull/680/head
Stephen Hess 8 years ago
parent
commit
d35f40f372
  1. 1
      helper/geojsonify.js
  2. 1
      helper/geojsonify_place_details.js

1
helper/geojsonify.js

@ -46,7 +46,6 @@ function geojsonifyPlace(params, place) {
addMetaData(place, output);
addName(place, output);
addDetails(params, place, output);
output.label = place.label;
// map center_point for GeoJSON to work properly
// these should not show up in the final feature properties

1
helper/geojsonify_place_details.js

@ -41,6 +41,7 @@ var DETAILS_PROPS = [
{ name: 'neighbourhood', type: 'string' },
{ name: 'neighbourhood_gid', type: 'string' },
{ name: 'bounding_box', type: 'default' },
{ name: 'label', type: 'string' },
{ name: 'category', type: 'array', condition: checkCategoryParam }
];

Loading…
Cancel
Save