Format POIs
This commit is contained in:
parent
7fc2f6bee5
commit
da9ffd9224
5 changed files with 86 additions and 15 deletions
|
|
@ -22,8 +22,9 @@ BR.Gpx = {
|
|||
if (feature.properties.name) {
|
||||
wpt.name = feature.properties.name;
|
||||
}
|
||||
if (feature.properties.type) {
|
||||
wpt.type = feature.properties.type;
|
||||
const type = feature.properties.type;
|
||||
if (type && type !== 'poi') {
|
||||
wpt.type = type;
|
||||
}
|
||||
return wpt;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue