-
-
Notifications
You must be signed in to change notification settings - Fork 84
Open
Description
I just exported an collection and try to import it but when I do the geopointers are numbers and not as geopointer
my import code:
restore('export.json', { dates: [], geos: ['location', 'polylines', 'centerPoint'], refs: [], })
The small version of the json I try to import:
{
"locations": {
"doc": {
"initialZoom": "15",
"centerPoint": { //works fine
"_latitude": 51.5883,
"_longitude": 4.77626
},
"polylines": [{ //works fine
"_latitude": 51.58859,
"_longitude": 4.77626
}, {
"_latitude": 51.58895,
"_longitude": 4.77604
}
],
"markers": [{
"title": "Punt 1",
"location": {
"_latitude": 51.58858, //inserted as number
"_longitude": 4.7764 //inserted as number
}
}, {
"title": "Punt 2",
"location": {
"_latitude": 51.58878, //inserted as number
"_longitude": 4.77624 //inserted as number
}
}
]
}
}
}
Metadata
Metadata
Assignees
Labels
No labels