kopia lustrzana https://github.com/FacilMap/facilmap
Remove huge coordTimes object from GPX search popup
rodzic
42ee410634
commit
080e57ca2c
|
@ -79,7 +79,7 @@ fm.app.factory("fmMapSearchFiles", function($rootScope, $compile, fmUtils) {
|
||||||
let f = {
|
let f = {
|
||||||
short_name: name,
|
short_name: name,
|
||||||
display_name: name,
|
display_name: name,
|
||||||
extratags: feature.properties.data || feature.properties.tags || fmUtils.flattenObject(feature.properties),
|
extratags: feature.properties.data || feature.properties.tags || fmUtils.flattenObject(Object.assign({}, feature.properties, {coordTimes: null})),
|
||||||
geojson: feature.geometry,
|
geojson: feature.geometry,
|
||||||
type: feature.properties.type || feature.geometry.type
|
type: feature.properties.type || feature.geometry.type
|
||||||
};
|
};
|
||||||
|
|
Ładowanie…
Reference in New Issue