Forums

OverviewFelgo 2 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.

Voted #1 for:

  • Easiest to learn
  • Most time saving
  • Best support

Develop Cross-Platform Apps and Games 50% Faster!

  • Voted the best supported, most time-saving and easiest to learn cross-platform development tool
  • Based on the Qt framework, with native performance and appearance on all platforms including iOS and Android
  • Offers a variety of plugins to monetize, analyze and engage users
FREE!
create apps
create games
cross platform
native performance
3rd party services
game network
multiplayer
level editor
easiest to learn
biggest time saving
best support