Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved
    1. Home
    2. Tags
    3. osm

    Log in to post
    • All categories
    • D

      Unsolved Offline Mapping
      General and Desktop • qt5 osm map tiles • • deleted286

      14
      0
      Votes
      14
      Posts
      850
      Views

      Christian Ehrlicher

      @jsulm said in Offline Mapping:

      Which one?

      It was me. The question was to similar.

    • A

      Unsolved is there 3-D Mapping in QtLocation Map?
      QML and Qt Quick • qml openstreetmaps qtlocation osm • • akadirdd

      1
      0
      Votes
      1
      Posts
      201
      Views

      No one has replied

    • K

      Unsolved QML OSM examples on Android-OSM not shown
      Mobile and Embedded • qml osm example • • koahnig

      2
      0
      Votes
      2
      Posts
      298
      Views

      X

      Could be due to missing OpenSSL. Try debugging the app to see if you get ssl related errors. More about Android and OpenSSL here: https://doc.qt.io/qt-5/android-openssl-support.html

    • Z

      Unsolved QtLocation OSM custom map is empty
      QML and Qt Quick • qml qtlocation osm map • • ziiyaa

      3
      0
      Votes
      3
      Posts
      1324
      Views

      L

      @ziiyaa Hello,
      Did you solve your problem? I have a similar issue where my Plugin works on a Debian but not on Ubuntu, where the supportedMapTypes array is empty.

    • H

      Unsolved Qt offline maps using osm tiles
      QML and Qt Quick • qml map offline qtlocation osm • • hem1

      12
      1
      Votes
      12
      Posts
      6690
      Views

      P

      @vpanchal
      @raven-worx

      Hi I've tried:
      file:///home/dev/Downloads/OsmOffline/offline_tiles/

      This does not work. Am I doing something wrong?

      Did it work for you?

    • someoneinthebox

      Solved How to correctly pass property to PluginParameter value from C++ code?
      QML and Qt Quick • qtlocation plugin osm • • someoneinthebox

      4
      0
      Votes
      4
      Posts
      1931
      Views

      someoneinthebox

      If someone interesting you can solve problem like this:

      C++ side:

      QVariantMap params { {"osm.mapping.highdpi_tiles", YOUR_CUSTOM_VALUE}, {"osm.mapping.offline.directory", YOUR_CUSTOM_VALUE}, {"osm.mapping.cache.directory", YOUR_CUSTOM_VALUE} }; QQuickView *view = new QQuickView; view->setSource(QUrl(QStringLiteral("qrc:/qml/OSMView.qml"))); QObject *item = (QObject *) view->rootObject(); QMetaObject::invokeMethod(item, "initializePlugin", Q_ARG(QVariant, QVariant::fromValue(params)));

      QML side:

      Item { id: osmMain property variant parameters function initializePlugin(pluginParameters) { var parameters = new Array; for(var prop in pluginParameters) { var parameter = Qt.createQmlObject('import QtLocation 5.6; PluginParameter{ name: "'+ prop + '"; value: "' + pluginParameters[prop] + '"}', map) parameters.push(parameter) } osmMain.parameters = parameters map.plugin = Qt.createQmlObject('import QtLocation 5.6; Plugin{ name: "osm"; parameters: osmMain.parameters }', osmMain) } Map { id: map <...> } <...> }
    • D

      Unsolved Is it possible to prevent online fall backs fro Qt Location?
      QML and Qt Quick • qml location map osm • • dirtshell

      2
      0
      Votes
      2
      Posts
      555
      Views

      A

      @dirtshell I know this is 7 years old now, but did you managed to solve this? I'm experiencing the same constraints in a new project.

    • V

      Unsolved How to add custom tile server in qt location?
      QML and Qt Quick • qml location qtlocation osm • • Vitek

      1
      0
      Votes
      1
      Posts
      638
      Views

      No one has replied

    • D

      Map and location based application
      General and Desktop • qt5.5 c++ location osm • • dalishi

      1
      0
      Votes
      1
      Posts
      579
      Views

      No one has replied

    • R

      Map Provider Plugin erstellen (QT5.4)
      German • map plugin osm openstreetmaps create plugin create map plug geoservices qt 5.4 • • riede

      2
      0
      Votes
      2
      Posts
      1312
      Views

      raven-worx

      QtLocation und QtPositioning sind erst ab Qt 5.5 als TechPreview verfügbar.
      Willst du nur Kartenmaterial mit dem Plugin zur Verfügung stellen? Oder auch Routing, Places, etc?

      Stimmt QtLocation Modul gibt es sehr viele Klassen die einem schnell den Überblick verlieren lassen, aber wenn man mal den Überblick hat ist es eigentlich recht einfach.
      Am einfachsten nimmst du dir den source-code vom "Original" plugin her.