Uploaded image for project: 'Qt Mobility'
  1. Qt Mobility
  2. QTMOBILITY-1982

Geocode doesn't work after setting app_id and token

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • 1.2.x
    • Location
    • None

    Description

      After setting app_id and token, geocode search stopped working.

      I've attached an application to reproduce the issue, and just change the Map object instantiation to:

      Map {
              id: map
              plugin : Plugin {
                  name : "nokia";
                  parameters: [
                      PluginParameter { name: "app_id"; value: "APPID" },
                      PluginParameter { name: "token"; value: "TOKEN" }
                 ]
              }
              ...
          }
      

      The web request for the application looked like:
      http://loc.desktop.maps.svc.ovi.com/geocoder/gc/2.0?referer=qtlocationapi&token=152022572f0e44e07489c35cd46fa246&lg=eng&obloc=Brandenburger%20Tor,%20Berlin

      and after adding app_id and token changed to:
      http://loc.desktop.maps.svc.ovi.com/geocoder/gc/2.0?referer=qtlocationapi&token=TOKEN&app_id=APPID&lg=eng&obloc=Brandenburger%20Tor,%20Berlin

      Attachments

        Activity

          People

            cadam Cristian Adam
            cadam Cristian Adam
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: