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

Geocode doesn't work after setting app_id and token

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: Not Evaluated
    • Resolution: Unresolved
    • Affects Version/s: 1.2.x
    • Fix Version/s: None
    • Component/s: Location
    • Labels:
      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

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

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

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes