diff --git a/tabs/gps.css b/tabs/gps.css index 5fe96efd..4a813259 100644 --- a/tabs/gps.css +++ b/tabs/gps.css @@ -16,29 +16,88 @@ background-color: #ececec; } -.tab-gps a { - font-weight: bold; -} - -.tab-gps #map-canvas { - height: 100%; - background: #ccc; - width: 100%; - float: left; +.tab-gps #connect { + display:none; + text-align:center; + padding-top:40%; } .tab-gps #waiting { + margin-top: 0px; + display: none; + text-align: center; + padding-top: 0px; + background-image: url(../images/loading-bars.svg); + background-position: center 40%; + background-size: 15%; + height: 100%; + background-repeat: no-repeat; + float: left; width: 100%; } -.tab-gps iframe { - height: 100%; - width: 100%; +.tab-gps #waiting .info { + margin-top: 50%; } +.tab-gps #loadmap { + margin-top:0px; + display:none; +} + +.tab-gps #connect a { + font-weight: bold; + margin-top:10px; +} + + .tab-gps #loadmap { height: 100%; width: 100%; + float: left; +} + + +.tab-gps #loadmap .controls { + width: 100%; + float: left; + height: 33px; + border-bottom-left-radius: 3px; + border-bottom-right-radius: 3px; + background-color: #D1D1D1; +} + +.tab-gps #loadmap .controls a { + background-color: white; + border-radius: 4px; + border: 1px silver solid; + color: grey; + height: 10px; + width: 10px; + text-align: center; + font-size: 20px; + line-height: 10px; + padding: 6px; + margin-top: 5px; + float: right; +} + +.tab-gps #loadmap .controls a:first-child { + margin-left: -1px; + margin-right: 5px; + border-bottom-left-radius: 0px; + border-top-left-radius: 0px; +} +.tab-gps #loadmap .controls a:last-child { + margin-right: 0px; + border-bottom-right-radius: 0px; + border-top-right-radius: 0px; +} + +.tab-gps iframe { + height: 400px; + width: 100%; + float: left; } diff --git a/tabs/gps.html b/tabs/gps.html index 483f8699..ba744bd2 100644 --- a/tabs/gps.html +++ b/tabs/gps.html @@ -146,22 +146,22 @@
-
-
+
+
- diff --git a/tabs/map.html b/tabs/map.html index 0102ec5e..b5c93648 100644 --- a/tabs/map.html +++ b/tabs/map.html @@ -25,6 +25,7 @@ var map; function initialize() { var mapOptions = { zoom: 17, + zoomControl: false, streetViewControl: false, // mapTypeId: google.maps.MapTypeId.SATELLITE, center: {lat: 53.570645, lng: 10.001362}