improved fullscreen layout
This commit is contained in:
parent
cb0b950d34
commit
32c76beaa2
@ -1,6 +1,7 @@
|
||||
html, body {
|
||||
html, body, .openwebrx-map {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
h3 {
|
||||
|
@ -9,5 +9,6 @@
|
||||
<meta charset="utf-8">
|
||||
</head>
|
||||
<body>
|
||||
<div class="openwebrx-map"></div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -121,7 +121,7 @@
|
||||
case "config":
|
||||
var config = json.value;
|
||||
$.getScript("https://maps.googleapis.com/maps/api/js?key=" + config.google_maps_api_key).done(function(){
|
||||
map = new google.maps.Map($('body')[0], {
|
||||
map = new google.maps.Map($('.openwebrx-map')[0], {
|
||||
center: {
|
||||
lat: config.receiver_gps[0],
|
||||
lng: config.receiver_gps[1]
|
||||
|
Loading…
Reference in New Issue
Block a user