Warning, /education/marble/src/apps/marble-maps/RoutingManager.qml is written in an unsupported language. File is not indexed.

0001 // SPDX-License-Identifier: LGPL-2.1-or-later
0002 //
0003 // SPDX-FileCopyrightText: 2015 Gábor Péterffy <peterffy95@gmail.com>
0004 //
0005 
0006 import QtQuick 2.3
0007 
0008 import org.kde.marble 0.20
0009 
0010 Routing {
0011     id: root
0012 
0013     property var marbleItem: null
0014 
0015     marbleMap: marbleItem.marbleMap
0016     waypointDelegate: Waypoint {visible: false}
0017     onRoutingProfileChanged: { updateRoute(); }
0018 
0019     function addSearchResultAsPlacemark(placemark)
0020     {
0021         if (marbleItem) {
0022             root.addSearchResultPlacemark(placemark);
0023         }
0024     }
0025 }