forked from MapComplete/MapComplete
Add 'upload GPX-trace to OSM' code, small improvements to gps_track-layer
This commit is contained in:
parent
e721146ca1
commit
9cd83af941
5 changed files with 98 additions and 6 deletions
|
@ -340,7 +340,7 @@ export class GeoOperations {
|
|||
return turf.lineIntersect(feature, otherFeature).features.map(p => <[number, number]>p.geometry.coordinates)
|
||||
}
|
||||
|
||||
public static AsGpx(feature, generatedWithLayer?: LayerConfig) {
|
||||
public static AsGpx(feature, generatedWithLayer?: LayerConfig) : string{
|
||||
|
||||
const metadata = {}
|
||||
const tags = feature.properties
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue