How can I mark my current position?
Unsolved
General and Desktop
-
Hi everyone. I want to mark my current position in a map. How can i do it?
import QtQuick 2.12 import QtQuick.Window 2.12 import QtLocation 5.12 import QtPositioning 5.12 Window { id:win objectName: "window" width: 640 height: 480 visible: true title: qsTr("Map") PositionSource { id:positionSource } Map{ id:map anchors.fill: parent activeMapType: map.supportedMapTypes[1] zoomLevel: 1 plugin: Plugin { name: 'osm'; PluginParameter { name: 'osm.mapping.offline.directory' value: ':/tiles/' } } } }
-
-
@LeLev it says
serialnmea: No known GPS device found. Specify the COM port via QT_NMEA_SERIAL_PORT.
-
@suslucoder please have a look here https://doc.qt.io/qt-5/qtpositioning-index.html