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

    • Bug
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • 1.2.x
    • Location
    • None
    • 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

        Activity

          People

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

            Dates

              Created:
              Updated: