diff options
author | Mitch Curtis <[email protected]> | 2021-08-12 14:39:51 +0200 |
---|---|---|
committer | Mitch Curtis <[email protected]> | 2021-08-16 12:52:59 +0200 |
commit | 809339d1484cf556512534367b8170bc26baf072 (patch) | |
tree | 12871313b658f36d058b5ef25af1e247e9c46ce9 /examples/quickcontrols2/wearable/qml/Navigation | |
parent | b01b4f00eae8022c6a97d90f54dac395144ae095 (diff) |
Now that qtquickcontrols2 has been merged into qtdeclarative,
we should make it obvious that this repo should no longer be
used, by preventing it from being built.
Task-number: QTBUG-95173
Pick-to: 6.2
Change-Id: I95bd6a214f3d75a865ab163ee0a1f9ffbeb7a051
Reviewed-by: Alexandru Croitor <[email protected]>
Reviewed-by: Volker Hilsheimer <[email protected]>
Diffstat (limited to 'examples/quickcontrols2/wearable/qml/Navigation')
27 files changed, 0 insertions, 347 deletions
diff --git a/examples/quickcontrols2/wearable/qml/Navigation/NavigationPage.qml b/examples/quickcontrols2/wearable/qml/Navigation/NavigationPage.qml deleted file mode 100644 index 06c9909e..00000000 --- a/examples/quickcontrols2/wearable/qml/Navigation/NavigationPage.qml +++ /dev/null @@ -1,120 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the examples of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:BSD$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** BSD License Usage -** Alternatively, you may use this file under the terms of the BSD license -** as follows: -** -** "Redistribution and use in source and binary forms, with or without -** modification, are permitted provided that the following conditions are -** met: -** * Redistributions of source code must retain the above copyright -** notice, this list of conditions and the following disclaimer. -** * Redistributions in binary form must reproduce the above copyright -** notice, this list of conditions and the following disclaimer in -** the documentation and/or other materials provided with the -** distribution. -** * Neither the name of The Qt Company Ltd nor the names of its -** contributors may be used to endorse or promote products derived -** from this software without specific prior written permission. -** -** -** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick -import "../Style" -import "navigation.js" as NavigationData - -Item { - property alias routeListView: routeView - - Column { - anchors.fill: parent - anchors.margins: 2 - spacing: 2 - - Rectangle { - anchors.horizontalCenter: parent.horizontalCenter - width: parent.width - height: titleRow.height - - color: UIStyle.themeColorQtGray9 - - Row { - id: titleRow - spacing: 10 - anchors.centerIn: parent - - Image { - anchors.verticalCenter: parent.verticalCenter - source: UIStyle.themeImagePath("images/navigation") - fillMode: Image.PreserveAspectCrop - } - Text { - anchors.verticalCenter: parent.verticalCenter - text: qsTr("Walking") - font.pixelSize: UIStyle.fontSizeM - font.letterSpacing: 2 - color: UIStyle.themeColorQtGray2 - } - } - } - - ListModel { - id: routeModel - } - - ListView { - id: routeView - - width: parent.width - height: parent.height - titleRow.height - parent.spacing - property var imageList: [UIStyle.themeImagePath("images/straight"), - UIStyle.themeImagePath("images/leftturn"), - UIStyle.themeImagePath("images/rightturn"), - "images/uturn.png", - "images/start.png", - "images/end.png"] - - clip: true - focus: true - boundsBehavior: Flickable.StopAtBounds - snapMode: ListView.SnapToItem - model: routeModel - delegate: RouteElement { - width: routeView.width - height: routeView.height - } - } - } - Component.onCompleted: { - NavigationData.requestNavigationRoute(routeModel) - } -} diff --git a/examples/quickcontrols2/wearable/qml/Navigation/RouteElement.qml b/examples/quickcontrols2/wearable/qml/Navigation/RouteElement.qml deleted file mode 100644 index 4f5262f1..00000000 --- a/examples/quickcontrols2/wearable/qml/Navigation/RouteElement.qml +++ /dev/null @@ -1,95 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the examples of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:BSD$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** BSD License Usage -** Alternatively, you may use this file under the terms of the BSD license -** as follows: -** -** "Redistribution and use in source and binary forms, with or without -** modification, are permitted provided that the following conditions are -** met: -** * Redistributions of source code must retain the above copyright -** notice, this list of conditions and the following disclaimer. -** * Redistributions in binary form must reproduce the above copyright -** notice, this list of conditions and the following disclaimer in -** the documentation and/or other materials provided with the -** distribution. -** * Neither the name of The Qt Company Ltd nor the names of its -** contributors may be used to endorse or promote products derived -** from this software without specific prior written permission. -** -** -** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick -import "../Style" - -Rectangle { - color: UIStyle.themeColorQtGray8 - - Row { - spacing: 5 - width: parent.width - 80 - anchors.centerIn: parent - - Image { - id: img - anchors.verticalCenter: parent.verticalCenter - source: navImage - fillMode: Image.PreserveAspectFit - } - - Column { - spacing: 5 - width: parent.width - img.width - anchors.verticalCenter: parent.verticalCenter - - Text { - width: parent.width - wrapMode: Text.WordWrap - text: navInstruction - font.pixelSize: UIStyle.fontSizeS - verticalAlignment: Text.AlignVCenter - padding: 1 - color: UIStyle.themeColorQtGray1 - } - - Text { - width: parent.width - wrapMode: Text.WordWrap - text: navAuxInfo - font.pixelSize: UIStyle.fontSizeXS - verticalAlignment: Text.AlignVCenter - padding: 1 - color: UIStyle.themeColorQtGray2 - } - } - } -} diff --git a/examples/quickcontrols2/wearable/qml/Navigation/images/end.png b/examples/quickcontrols2/wearable/qml/Navigation/images/end.png Binary files differdeleted file mode 100644 index 4805ad82..00000000 --- a/examples/quickcontrols2/wearable/qml/Navigation/images/end.png +++ /dev/null diff --git a/examples/quickcontrols2/wearable/qml/Navigation/images/[email protected] b/examples/quickcontrols2/wearable/qml/Navigation/images/[email protected] Binary files differdeleted file mode 100644 index e91d5374..00000000 --- a/examples/quickcontrols2/wearable/qml/Navigation/images/[email protected] +++ /dev/null diff --git a/examples/quickcontrols2/wearable/qml/Navigation/images/leftturn-dark.png b/examples/quickcontrols2/wearable/qml/Navigation/images/leftturn-dark.png Binary files differdeleted file mode 100644 index 66d258f5..00000000 --- a/examples/quickcontrols2/wearable/qml/Navigation/images/leftturn-dark.png +++ /dev/null diff --git a/examples/quickcontrols2/wearable/qml/Navigation/images/[email protected] b/examples/quickcontrols2/wearable/qml/Navigation/images/[email protected] Binary files differdeleted file mode 100644 index 639deb81..00000000 --- a/examples/quickcontrols2/wearable/qml/Navigation/images/[email protected] +++ /dev/null diff --git a/examples/quickcontrols2/wearable/qml/Navigation/images/leftturn-light.png b/examples/quickcontrols2/wearable/qml/Navigation/images/leftturn-light.png Binary files differdeleted file mode 100644 index 1346e8ea..00000000 --- a/examples/quickcontrols2/wearable/qml/Navigation/images/leftturn-light.png +++ /dev/null diff --git a/examples/quickcontrols2/wearable/qml/Navigation/images/[email protected] b/examples/quickcontrols2/wearable/qml/Navigation/images/[email protected] Binary files differdeleted file mode 100644 index 268a6283..00000000 --- a/examples/quickcontrols2/wearable/qml/Navigation/images/[email protected] +++ /dev/null diff --git a/examples/quickcontrols2/wearable/qml/Navigation/images/marker.png b/examples/quickcontrols2/wearable/qml/Navigation/images/marker.png Binary files differdeleted file mode 100644 index 4805ad82..00000000 --- a/examples/quickcontrols2/wearable/qml/Navigation/images/marker.png +++ /dev/null diff --git a/examples/quickcontrols2/wearable/qml/Navigation/images/navigation-dark.png b/examples/quickcontrols2/wearable/qml/Navigation/images/navigation-dark.png Binary files differdeleted file mode 100644 index b80b7b61..00000000 --- a/examples/quickcontrols2/wearable/qml/Navigation/images/navigation-dark.png +++ /dev/null diff --git a/examples/quickcontrols2/wearable/qml/Navigation/images/[email protected] b/examples/quickcontrols2/wearable/qml/Navigation/images/[email protected] Binary files differdeleted file mode 100644 index b198aa3d..00000000 --- a/examples/quickcontrols2/wearable/qml/Navigation/images/[email protected] +++ /dev/null diff --git a/examples/quickcontrols2/wearable/qml/Navigation/images/navigation-light.png b/examples/quickcontrols2/wearable/qml/Navigation/images/navigation-light.png Binary files differdeleted file mode 100644 index 08e73005..00000000 --- a/examples/quickcontrols2/wearable/qml/Navigation/images/navigation-light.png +++ /dev/null diff --git a/examples/quickcontrols2/wearable/qml/Navigation/images/[email protected] b/examples/quickcontrols2/wearable/qml/Navigation/images/[email protected] Binary files differdeleted file mode 100644 index 7d4a62b9..00000000 --- a/examples/quickcontrols2/wearable/qml/Navigation/images/[email protected] +++ /dev/null diff --git a/examples/quickcontrols2/wearable/qml/Navigation/images/rightturn-dark.png b/examples/quickcontrols2/wearable/qml/Navigation/images/rightturn-dark.png Binary files differdeleted file mode 100644 index 6a779dad..00000000 --- a/examples/quickcontrols2/wearable/qml/Navigation/images/rightturn-dark.png +++ /dev/null diff --git a/examples/quickcontrols2/wearable/qml/Navigation/images/[email protected] b/examples/quickcontrols2/wearable/qml/Navigation/images/[email protected] Binary files differdeleted file mode 100644 index 13143c2e..00000000 --- a/examples/quickcontrols2/wearable/qml/Navigation/images/[email protected] +++ /dev/null diff --git a/examples/quickcontrols2/wearable/qml/Navigation/images/rightturn-light.png b/examples/quickcontrols2/wearable/qml/Navigation/images/rightturn-light.png Binary files differdeleted file mode 100644 index a6be08c1..00000000 --- a/examples/quickcontrols2/wearable/qml/Navigation/images/rightturn-light.png +++ /dev/null diff --git a/examples/quickcontrols2/wearable/qml/Navigation/images/[email protected] b/examples/quickcontrols2/wearable/qml/Navigation/images/[email protected] Binary files differdeleted file mode 100644 index 58f04b50..00000000 --- a/examples/quickcontrols2/wearable/qml/Navigation/images/[email protected] +++ /dev/null diff --git a/examples/quickcontrols2/wearable/qml/Navigation/images/start.png b/examples/quickcontrols2/wearable/qml/Navigation/images/start.png Binary files differdeleted file mode 100644 index 41de60e6..00000000 --- a/examples/quickcontrols2/wearable/qml/Navigation/images/start.png +++ /dev/null diff --git a/examples/quickcontrols2/wearable/qml/Navigation/images/[email protected] b/examples/quickcontrols2/wearable/qml/Navigation/images/[email protected] Binary files differdeleted file mode 100644 index 6fe3ba9d..00000000 --- a/examples/quickcontrols2/wearable/qml/Navigation/images/[email protected] +++ /dev/null diff --git a/examples/quickcontrols2/wearable/qml/Navigation/images/straight-dark.png b/examples/quickcontrols2/wearable/qml/Navigation/images/straight-dark.png Binary files differdeleted file mode 100644 index 3f4ab664..00000000 --- a/examples/quickcontrols2/wearable/qml/Navigation/images/straight-dark.png +++ /dev/null diff --git a/examples/quickcontrols2/wearable/qml/Navigation/images/[email protected] b/examples/quickcontrols2/wearable/qml/Navigation/images/[email protected] Binary files differdeleted file mode 100644 index f5baa6da..00000000 --- a/examples/quickcontrols2/wearable/qml/Navigation/images/[email protected] +++ /dev/null diff --git a/examples/quickcontrols2/wearable/qml/Navigation/images/straight-light.png b/examples/quickcontrols2/wearable/qml/Navigation/images/straight-light.png Binary files differdeleted file mode 100644 index 1321b97a..00000000 --- a/examples/quickcontrols2/wearable/qml/Navigation/images/straight-light.png +++ /dev/null diff --git a/examples/quickcontrols2/wearable/qml/Navigation/images/[email protected] b/examples/quickcontrols2/wearable/qml/Navigation/images/[email protected] Binary files differdeleted file mode 100644 index a2d3c4c2..00000000 --- a/examples/quickcontrols2/wearable/qml/Navigation/images/[email protected] +++ /dev/null diff --git a/examples/quickcontrols2/wearable/qml/Navigation/images/uturn.png b/examples/quickcontrols2/wearable/qml/Navigation/images/uturn.png Binary files differdeleted file mode 100644 index 596046ca..00000000 --- a/examples/quickcontrols2/wearable/qml/Navigation/images/uturn.png +++ /dev/null diff --git a/examples/quickcontrols2/wearable/qml/Navigation/images/[email protected] b/examples/quickcontrols2/wearable/qml/Navigation/images/[email protected] Binary files differdeleted file mode 100644 index 659f1035..00000000 --- a/examples/quickcontrols2/wearable/qml/Navigation/images/[email protected] +++ /dev/null diff --git a/examples/quickcontrols2/wearable/qml/Navigation/navigation.js b/examples/quickcontrols2/wearable/qml/Navigation/navigation.js deleted file mode 100644 index 0414731d..00000000 --- a/examples/quickcontrols2/wearable/qml/Navigation/navigation.js +++ /dev/null @@ -1,131 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the examples of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:BSD$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** BSD License Usage -** Alternatively, you may use this file under the terms of the BSD license -** as follows: -** -** "Redistribution and use in source and binary forms, with or without -** modification, are permitted provided that the following conditions are -** met: -** * Redistributions of source code must retain the above copyright -** notice, this list of conditions and the following disclaimer. -** * Redistributions in binary form must reproduce the above copyright -** notice, this list of conditions and the following disclaimer in -** the documentation and/or other materials provided with the -** distribution. -** * Neither the name of The Qt Company Ltd nor the names of its -** contributors may be used to endorse or promote products derived -** from this software without specific prior written permission. -** -** -** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -function requestNavigationRoute(rModel) { - var xhr = new XMLHttpRequest; - xhr.open("GET", "http://code.qt.io/walk_route.json"); - xhr.onreadystatechange = function () { - if (xhr.readyState === XMLHttpRequest.DONE) { - var a = JSON.parse(xhr.responseText); - var steps = a.routes[0].legs[0].steps; - - for (var step in steps) { - var maneuver = steps[step].maneuver; - var duration = steps[step].duration; - var distance = steps[step].distance; - - rModel.append({ - navInstruction: maneuver.instruction, - navImage: getNavigationImage( - maneuver.type, - maneuver.modifier, - routeView.imageList), - navAuxInfo: getAuxInfo(distance, - duration) - }); - } - } - } - xhr.send(); -} - -function getNavigationImage(maneuverType, maneuverModifier, imageList) { - var imageToReturn; - if (maneuverType === "depart") { - imageToReturn = imageList[4]; - } else if (maneuverType === "arrive") { - imageToReturn = imageList[5]; - } else if (maneuverType === "turn") { - if (maneuverModifier.search("left") >= 0) - imageToReturn = imageList[1]; - else if (maneuverModifier.search("right") >= 0) - imageToReturn = imageList[2]; - else - imageToReturn = imageList[0]; - } else { - if (maneuverModifier === "uturn") { - imageToReturn = imageList[3]; - } else { - imageToReturn = imageList[0]; - } - } - - return imageToReturn; -} - -function getAuxInfo(distInMeters, timeInSecs) { - var distance = convertDistance(distInMeters); - if (distance.length > 0) - return "Distance: " + distance + "\nTime: " + formatSeconds( - timeInSecs); - else - return ""; -} - -function convertDistance(meter) { - var dist = ""; - var feet = (meter * 0.3048).toPrecision(6); - var miles = (meter * 0.000621371).toPrecision(6); - - if (Math.floor(miles) > 1) { - dist += Math.floor(miles) + " mi"; - feet = ((miles - Math.floor(miles)) * 0.3048).toPrecision(6); - } - if (Math.floor(feet) > 1) - dist += Math.floor(feet) + " ft"; - - return dist -} - -function formatSeconds(seconds) { - var date = new Date(1970, 0, 1); - date.setSeconds(seconds); - return date.toTimeString().replace(/.*(\d{2}:\d{2}:\d{2}).*/, "$1"); -} diff --git a/examples/quickcontrols2/wearable/qml/Navigation/walk_route.json b/examples/quickcontrols2/wearable/qml/Navigation/walk_route.json deleted file mode 100644 index e69b5cc1..00000000 --- a/examples/quickcontrols2/wearable/qml/Navigation/walk_route.json +++ /dev/null @@ -1 +0,0 @@ -{"routes":[{"legs":[{"steps":[{"intersections":[{"out":0,"entry":[true],"bearings":[144],"location":[-122.394553,37.795984]},{"out":1,"location":[-122.393896,37.795268],"bearings":[60,150,225,330],"entry":[true,true,true,false],"in":3},{"out":1,"location":[-122.393179,37.79453],"bearings":[60,135,180,225,315],"entry":[true,true,true,true,false],"in":4},{"out":1,"location":[-122.393072,37.79443],"bearings":[45,135,225,315],"entry":[true,true,true,false],"in":3},{"out":1,"location":[-122.392787,37.79415],"bearings":[60,135,315],"entry":[true,true,false],"in":2},{"out":1,"location":[-122.392537,37.793915],"bearings":[45,135,225,315],"entry":[true,true,true,false],"in":3},{"out":0,"location":[-122.392448,37.793831],"bearings":[135,225,315],"entry":[true,true,false],"in":2}],"geometry":"{_ueF|d`jVRQdB}ARQh@g@XUVWVW^a@RUv@w@l@q@PQNQ","maneuver":{"bearing_after":144,"location":[-122.394553,37.795984],"bearing_before":0,"type":"depart","instruction":"Head southeast on The Embarcadero"},"duration":230.8,"distance":314.8,"name":"The Embarcadero","mode":"walking"},{"intersections":[{"out":2,"location":[-122.392361,37.793748],"bearings":[45,135,225,315],"entry":[true,true,true,false],"in":3}],"geometry":"}qteFfw_jVHJBDHJ","maneuver":{"bearing_after":225,"type":"turn","modifier":"right","bearing_before":140,"location":[-122.392361,37.793748],"instruction":"Turn right"},"duration":13.2,"distance":18.5,"name":"","mode":"walking"},{"intersections":[{"out":1,"location":[-122.39251,37.793631],"bearings":[45,135,225,315],"entry":[false,true,true,true],"in":0},{"out":1,"location":[-122.391284,37.792459],"bearings":[45,150,225,330],"entry":[true,true,true,false],"in":3},{"out":1,"location":[-122.391217,37.792342],"bearings":[45,165,225,330],"entry":[true,true,true,false],"in":3},{"out":1,"location":[-122.391165,37.792231],"bearings":[45,165,225,345],"entry":[true,true,true,false],"in":3},{"out":0,"location":[-122.390884,37.791536],"bearings":[150,285,345],"entry":[true,true,false],"in":2},{"out":1,"location":[-122.390254,37.790827],"bearings":[45,135,210,315],"entry":[true,true,true,false],"in":3},{"out":1,"location":[-122.390144,37.790745],"bearings":[45,135,225,315],"entry":[true,true,true,false],"in":3},{"out":1,"location":[-122.390038,37.790665],"bearings":[45,135,240,315],"entry":[true,true,true,false],"in":3},{"out":0,"location":[-122.389245,37.790036],"bearings":[135,225,315],"entry":[true,true,false],"in":2},{"out":1,"location":[-122.38871,37.789596],"bearings":[45,150,210,315],"entry":[true,true,true,false],"in":3},{"out":1,"location":[-122.388618,37.789494],"bearings":[45,150,225,330],"entry":[true,true,true,false],"in":3},{"out":1,"location":[-122.388527,37.789394],"bearings":[45,150,225,330],"entry":[true,true,true,false],"in":3},{"out":1,"location":[-122.388005,37.787907],"bearings":[0,180,270],"entry":[false,true,true],"in":0},{"out":1,"location":[-122.387985,37.787622],"bearings":[0,180,240],"entry":[false,true,true],"in":0},{"out":2,"location":[-122.388005,37.787197],"bearings":[0,90,180,270],"entry":[false,true,true,true],"in":0},{"out":2,"location":[-122.388015,37.787093],"bearings":[0,90,180,270],"entry":[false,true,true,true],"in":0},{"out":2,"location":[-122.388022,37.786994],"bearings":[0,90,180,285],"entry":[false,true,true,true],"in":0},{"out":1,"location":[-122.388163,37.785186],"bearings":[0,180,315],"entry":[false,true,true],"in":0},{"out":1,"location":[-122.388184,37.784944],"bearings":[0,180,315],"entry":[false,true,true],"in":0},{"out":2,"location":[-122.388191,37.784855],"bearings":[0,90,180,270],"entry":[false,true,true,true],"in":0},{"out":2,"location":[-122.388198,37.784748],"bearings":[0,90,180,270],"entry":[false,true,true,true],"in":0},{"out":2,"location":[-122.388207,37.784633],"bearings":[0,90,180,270],"entry":[false,true,true,true],"in":0},{"out":2,"location":[-122.388309,37.783373],"bearings":[0,60,180,270],"entry":[false,true,true,true],"in":0},{"out":1,"location":[-122.388376,37.782545],"bearings":[0,180,315],"entry":[false,true,true],"in":0},{"out":1,"location":[-122.388394,37.782316],"bearings":[0,180,315],"entry":[false,true,true],"in":0}],"geometry":"eqteFdx_jVf@k@\\a@|@iAV[FGJMPOTOPKDAPITItAa@r@WXOXQXSTUTWRYNUNS|B}CdAwAPSTQRQ\\W^Q\\KZIrB]^EPCH?\\CZ?Z?\\?XBT@R?~IZF?H@f@@N@T@V@zFRbDLl@@pADV@","maneuver":{"bearing_after":139,"type":"turn","modifier":"left","bearing_before":226,"location":[-122.39251,37.793631],"instruction":"Turn left onto The Embarcadero"},"duration":1055.9,"distance":1450.3,"name":"The Embarcadero","mode":"walking"},{"intersections":[{"out":2,"location":[-122.388431,37.781791],"bearings":[0,90,180,285],"entry":[false,true,true,true],"in":0},{"out":2,"location":[-122.389672,37.779922],"bearings":[45,135,225,315],"entry":[false,true,true,true],"in":0},{"out":1,"location":[-122.390803,37.77905],"bearings":[45,225,315],"entry":[false,true,true],"in":0},{"out":2,"location":[-122.391916,37.778155],"bearings":[45,135,225,315],"entry":[false,true,true,true],"in":0},{"out":2,"location":[-122.393073,37.777251],"bearings":[45,75,225,315],"entry":[false,true,true,true],"in":0}],"geometry":"egreFt~~iVR@bABXDVDXHVNXNXVVZp@|@z@hAnCvDLRNTHLFJbArAzApBdB`CTZZb@\\b@@@pCvD","maneuver":{"bearing_after":183,"type":"new name","modifier":"straight","bearing_before":183,"location":[-122.388431,37.781791],"instruction":"Continue straight onto King Street"},"duration":567.4,"distance":782.5,"name":"King Street","mode":"walking"},{"intersections":[{"out":3,"location":[-122.394003,37.776513],"bearings":[45,135,225,300],"entry":[false,true,true,true],"in":0},{"out":2,"location":[-122.394218,37.776486],"bearings":[45,135,225,315],"entry":[false,true,true,true],"in":0}],"geometry":"efqeFna`jVGJ?NJNNR","maneuver":{"bearing_after":313,"type":"turn","modifier":"straight","bearing_before":225,"location":[-122.394003,37.776513],"instruction":"Go straight"},"duration":26.1,"distance":36.2,"name":"","mode":"walking"},{"intersections":[{"out":2,"location":[-122.394321,37.776405],"bearings":[45,180,315],"entry":[false,true,true],"in":0},{"out":1,"location":[-122.394729,37.776487],"bearings":[45,180],"entry":[false,true],"in":0}],"geometry":"qeqeFnc`jVe@p@A@V\\DF","maneuver":{"bearing_after":315,"type":"turn","modifier":"right","bearing_before":225,"location":[-122.394321,37.776405],"instruction":"Turn right"},"duration":39.9,"distance":55.6,"name":"","mode":"walking"},{"intersections":[{"in":0,"entry":[true],"bearings":[45],"location":[-122.394768,37.776455]}],"geometry":"{eqeFhf`jV","maneuver":{"bearing_after":0,"type":"arrive","modifier":"straight","bearing_before":225,"location":[-122.394729,37.776487],"instruction":"You have arrived at your destination, straight ahead"},"duration":0,"distance":0,"name":"","mode":"walking"}],"summary":"The Embarcadero, King Street","duration":1933.3,"distance":2657.8}],"geometry":"{_ueF|d`jV|LuLV\\`EyElHaD~I_LvB_AdGk@he@|AbBd@bZl`@R~@g@r@\\d@","duration":1933.3,"distance":2657.8}],"waypoints":[{"name":"The Embarcadero","location":[-122.394553,37.795984]},{"name":"","location":[-122.394768,37.776455]}],"code":"Ok"} |