Learn what Felgo offers to help your business succeed. Start your free evaluation today! Felgo for Your Business

Forums

OverviewFelgo 3 Support (Qt 5) › Get GeoPoint Value from FireBase

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #23453

    Erik Courtecuisse

    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.

Viewing 1 post (of 1 total)

RSS feed for this thread

You must be logged in to reply to this topic.

Qt_Technology_Partner_RGB_475 Qt_Service_Partner_RGB_475_padded