Hello, I have been trying for a while to recover a GeoPoint that I added by hand in FireBase but without success…
GeocodeModel {
id: adresse
plugin: carte.plugin
onLocationsChanged: {
if (count==1) {
choixItinéraire.clearWaypoints()
choixItinéraire.addWaypoint(gps.position.coordinate)
choixItinéraire.addWaypoint(get(0).coordinate)
marqueur.coordinate = db.getValue("GeoPoints/DocumentTest/GeoPointTest",{},
function(success, key, value) {
if(success) {
console.log("Read value for key", key, "from DB:", value)
}
else{console.log("Read Error")}})
carte.update()
}
}
https://www.zupimages.net/up/20/22/dtzl.png
This is the first time I use Firebase, can you see my mistake?
Thank you in advance.
Erik.