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

QML Map item using Nokia map plugin does not work after setting plugin parameters "mapping.token" and "mapping.app_id"

    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
    • Environment:
      Symbian Belle, N8, latest firmware, latest Qt SDK

      Description

      After setting plugin properties for QML Map item, I get the errors found in the attachment file. Also logo positioning does not work - with or without token & appid.

      QML code looks like this (with proper token & appid of course):

      – clip –
      property string token: "<myapptokenhere>"
      property string appId: "<myappidhere>"
      property string logoPosition: "top.left"

      plugin: Plugin {
      name: "nokia"
      parameters: [
      PluginParameter

      { name: "mapping.token" value: map.token }

      ,
      PluginParameter

      { name: "mapping.app_id" value: map.appId }

      ,
      PluginParameter

      { name: "logo.position" value: map.logoPosition }

      ]
      }
      – clip –

      The Map item is instantiated inside a qt-components dialog using Loader. But same happened with test application using direct Map instance. The application is using developer certificates.

        Attachments

        1. maperrors.txt
          2 kB
        2. mapviewer.qml
          5 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            mread Murray Read
            Reporter:
            hhaveri Heikki Haveri
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes