Commit cd310d62 authored by DonLakeFlyer's avatar DonLakeFlyer

Use image for GCS location

parent 11e38d40
......@@ -185,6 +185,7 @@
<file alias="Play">resources/Play.svg</file>
<file alias="PowerButton">resources/PowerButton.svg</file>
<file alias="QGCLogoBlack">resources/QGCLogoBlack.svg</file>
<file alias="QGCLogoFull">resources/QGCLogoFull.svg</file>
<file alias="QGCLogoWhite">resources/QGCLogoWhite.svg</file>
<file alias="QGroundControlConnect">resources/QGroundControlConnect.svg</file>
<file alias="rtl.svg">resources/rtl.svg</file>
......
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 21.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 200 200" style="enable-background:new 0 0 200 200;" xml:space="preserve">
<style type="text/css">
.st0{fill:#FFFFFF;}
.st1{fill:#4B2C6D;}
.st2{fill:#5ECBF1;}
</style>
<rect x="25.6" y="24.6" class="st0" width="148.9" height="147.9"/>
<path class="st1" d="M141.8,0H58.2C26.1,0,0,26.1,0,58.2v83.6C0,173.9,26.1,200,58.2,200h83.6c32.1,0,58.2-26.1,58.2-58.2V58.2
C200,26.1,173.9,0,141.8,0z M140.2,157.9l-10.7-10.7c-8,4.8-17.4,7.5-27.4,7.5v0c-27.8,0-50.8-21.1-53.6-48.2h23.3
c2.8,15.3,16.9,26.6,33.4,25c2.4-0.2,4.8-0.8,7-1.6L101.3,119l16.4-16.4l11.9,11.8c1.6-3.3,2.7-6.9,3.1-10.7
c1.6-16.5-9.8-30.6-25.1-33.3V47.1c27.1,2.8,48.3,25.7,48.3,53.6h0c0,11.3-3.5,21.9-9.5,30.5l10.2,10.2L140.2,157.9z"/>
<path class="st2" d="M96.2,31.6c-0.1,0-0.4,0-0.4,0c-33.4,2.9-60,29.6-63,63c0,0,0,0.3,0,0.4c0,0,0,0.2,0,0.3c0,2.2,1.8,3.9,3.9,3.9
c2.1,0,3.8-1.7,3.9-3.7l0,0c2.5-29.7,26.2-53.4,55.8-56l0,0c2-0.1,3.6-1.7,3.7-3.7c0-0.1,0-0.1,0-0.2
C100.2,33.3,98.4,31.6,96.2,31.6z"/>
<path class="st2" d="M96.2,47.1c-0.1,0-0.3,0-0.4,0l-0.1,0c-25.1,2.9-45,23.3-47.4,47.6c0,0,0,0.3,0,0.5c0,2.2,1.8,3.9,3.9,3.9
c2.1,0,3.8-1.7,3.9-3.7c0,0,0,0,0-0.1c2.5-21.2,19.2-38,40.3-40.5v0c2-0.1,3.6-1.7,3.7-3.7c0-0.1,0-0.1,0-0.2
C100.2,48.8,98.4,47.1,96.2,47.1z"/>
<path class="st2" d="M96.2,62.7c-0.2,0-0.5,0-0.7,0.1C79.4,65.5,66.7,78.3,64,94.4c0,0,0,0.1,0,0.1c0,0.2-0.1,0.6-0.1,0.7
c0,2.2,1.7,3.9,3.9,3.9c0.2,0,0.3,0,0.5,0c1.8-0.2,3.3-1.7,3.4-3.5c0-0.1,0-0.3,0-0.4C74,82.7,83.9,72.8,96.5,70.5c0,0,0.1,0,0.2,0
c1.9-0.2,3.4-1.8,3.4-3.7c0-0.1,0-0.1,0-0.2C100.2,64.5,98.4,62.7,96.2,62.7z"/>
</svg>
......@@ -117,12 +117,16 @@ Map {
/// Ground Station location
MapQuickItem {
anchorPoint.x: sourceItem.anchorPointX
anchorPoint.y: sourceItem.anchorPointY
anchorPoint.x: sourceItem.width / 2
anchorPoint.y: sourceItem.height / 2
visible: gcsPosition.isValid
coordinate: gcsPosition
sourceItem: MissionItemIndexLabel {
label: QGroundControl.appName.charAt(0)
sourceItem: Image {
source: "/res/QGCLogoFull"
smooth: true
fillMode: Image.PreserveAspectFit
height: ScreenTools.defaultFontPixelHeight * 1.5
}
}
} // Map
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment