Navigation

    UBports Robot Logo

    UBports Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    QtLocation's GeocodeModel

    App Development
    2
    4
    282
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ?
      A Former User last edited by

      A user reported that in TankenApp (https://github.com/derjasper/TankenApp) the Location selection page stopped working. I could verify that on my desktop using clickable.
      It seems that QtLocation's GeocodeModel stopped working (maybe the server is shut down or sth?). I was using the "osm" plugin.
      Can anyone verify this and knows how to circumvent this?

      E 1 Reply Last reply Reply Quote 0
      • E
        ernest @Guest last edited by

        @derjasper said in QtLocation's GeocodeModel:

        ems that QtLocation's GeocodeModel stopped working (maybe the se

        I guess it depends of the QTlocation used in Ubuntu touch. It's broken for Vivid but fixed in Xenial.
        You can look a the code of Activity tracker for Xenial : https://github.com/ernesst/ActivityTracker

        1 Reply Last reply Reply Quote 0
        • ?
          A Former User last edited by A Former User

          I am pretty sure that "clickable desktop" runs the app on xenial, doesnt it?

          @ernest said in QtLocation's GeocodeModel:

          You can look a the code of Activity tracker for Xenial : https://github.com/ernesst/ActivityTracker

          Where is the GeocodeModel used exactly?

          1 Reply Last reply Reply Quote 0
          • ?
            A Former User last edited by A Former User

            I fixed it by setting up a custom geocoding host

            GeocodeModel {
            id: geocodeModel
            plugin: Plugin {
            name: "osm"
            PluginParameter { name: "osm.geocoding.host"; value: "https://nominatim.openstreetmap.org/" }
            }
            }

            1 Reply Last reply Reply Quote 2
            • First post
              Last post