Merge pull request #2803 from abarrau/ans-map-highlight-v2

[MAP] highlight ligne remove on all map
pull/2812/head
Andreas Kristiansen 2023-12-11 10:35:35 +01:00 zatwierdzone przez GitHub
commit bd0f079b4d
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
30 zmienionych plików z 39 dodań i 71 usunięć

Wyświetl plik

@ -129,7 +129,7 @@
</div>
<div id="gridmapcontainer">
<div id="gridsquare_map" style="width: 100%; height: 800px"></div>
<div id="gridsquare_map" class="map-leaflet" style="width: 100%; height: 800px"></div>
</div>
<div class="coordinates d-flex">
<div class="cohidden"><?php echo lang('gen_hamradio_latitude')?>:&nbsp;</div>

Wyświetl plik

@ -150,7 +150,7 @@
<div class="tab-pane fade" id="cqmaptab" role="tabpanel" aria-labelledby="home-tab">
<br />
<div id="cqmap"></div>
<div id="cqmap" class="map-leaflet" ></div>
</div>

Wyświetl plik

@ -195,7 +195,7 @@
<div class="tab-pane fade" id="dxccmaptab" role="tabpanel" aria-labelledby="home-tab">
<br />
<div id="dxccmap"></div>
<div id="dxccmap" class="map-leaflet" ></div>
</div>

Wyświetl plik

@ -65,7 +65,7 @@
</div>
<div id="gridmapcontainer">
<div id="gridsquare_map" style="width: 100%; height: 800px"></div>
<div id="gridsquare_map" class="map-leaflet" style="width: 100%; height: 800px"></div>
</div>
<div class="coordinates d-flex">
<div class="cohidden"><?php echo lang('gen_hamradio_latitude')?>: </div>

Wyświetl plik

@ -65,7 +65,7 @@
<div id="gridmapcontainer">
<div id="gridsquare_map" style="width: 100%; height: 800px"></div>
<div id="gridsquare_map" class="map-leaflet" style="width: 100%; height: 800px"></div>
</div>
<div class="coordinates d-flex">
<div class="cohidden"><?php echo lang('gen_hamradio_latitude')?>: </div>

Wyświetl plik

@ -177,7 +177,7 @@
<div class="tab-pane fade" id="iotamaptab" role="tabpanel" aria-labelledby="home-tab">
<br />
<div id="iotamap"></div>
<div id="iotamap" class="map-leaflet" ></div>
</div>

Wyświetl plik

@ -68,7 +68,7 @@
</div>
<div id="gridmapcontainer">
<div id="gridsquare_map" style="width: 100%; height: 800px"></div>
<div id="gridsquare_map" class="map-leaflet" style="width: 100%; height: 800px"></div>
</div>
<div class="coordinates d-flex">
<div class="cohidden"><?php echo lang('gen_hamradio_latitude')?>: </div>

Wyświetl plik

@ -169,7 +169,7 @@
<div class="tab-pane fade" id="wajamaptab" role="tabpanel" aria-labelledby="home-tab">
<br />
<div id="wajamap"></div>
<div id="wajamap" class="map-leaflet" ></div>
</div>

Wyświetl plik

@ -114,7 +114,7 @@ function echoQrbCalcLink($mygrid, $grid, $vucc) {
<?php if($this->optionslib->get_option('dashboard_map') != "false" && $this->optionslib->get_option('dashboard_map') != "map_at_right") { ?>
<!-- Map -->
<div id="map" style="width: 100%; height: 350px"></div>
<div id="map" class="map-leaflet" style="width: 100%; height: 350px"></div>
<?php } ?>
<div style="padding-top: 0px; margin-top: 5px;" class="container dashboard">
@ -184,7 +184,7 @@ function echoQrbCalcLink($mygrid, $grid, $vucc) {
<div class="col-sm-4">
<?php if($this->optionslib->get_option('dashboard_map') == "map_at_right") { ?>
<!-- Map -->
<div id="map" style="width: 100%; height: 350px; margin-bottom: 15px;"></div>
<div id="map" class="map-leaflet" style="width: 100%; height: 350px; margin-bottom: 15px;"></div>
<?php } ?>
<div class="table-responsive">

Wyświetl plik

@ -131,7 +131,7 @@
</div>
<div id="gridmapcontainer">
<div id="gridsquare_map" style="width: 100%; height: 800px"></div>
<div id="gridsquare_map" class="map-leaflet" style="width: 100%; height: 800px"></div>
</div>
<div class="coordinates d-flex">
<div class="cohidden"><?php echo lang('gen_hamradio_latitude')?>:&nbsp;</div>

Wyświetl plik

@ -88,6 +88,6 @@
</div>
<!-- Map -->
<div id="custommap" style="width: 100%; height: calc(100vh - 380px); max-height: 900px;"></div>
<div id="custommap" class="map-leaflet" style="width: 100%; height: calc(100vh - 380px); max-height: 900px;"></div>
<div class="alert alert-success" role="alert">Showing QSOs for Custom Date for Active Logbook <?php echo $logbook_name ?></div>

Wyświetl plik

@ -575,7 +575,7 @@
<!-- QSO Map -->
<div class="card qso-map">
<div id="qsomap" style="width: 100%; height: 200px;"></div>
<div id="qsomap" class="map-leaflet" style="width: 100%; height: 200px;"></div>
</div>
<div id="radio_status"></div>

Wyświetl plik

@ -18,7 +18,7 @@
<?php if($this->optionslib->get_option('logbook_map') != "false") { ?>
<!-- Map -->
<div id="map" style="width: 100%; height: 350px"></div>
<div id="map" class="map-leaflet" style="width: 100%; height: 350px"></div>
<?php } ?>
<div style="padding-top: 10px; margin-top: 0px;" class="container logbook">

Wyświetl plik

@ -372,7 +372,7 @@
<div class="col-md">
<div id="mapqso" style="width: 100%; height: 250px"></div>
<div id="mapqso" class="map-leaflet" style="width: 100%; height: 250px"></div>
<?php if(($this->config->item('use_auth') && ($this->session->userdata('user_type') >= 2)) || $this->config->item('use_auth') === FALSE) { ?>
<br>

Wyświetl plik

@ -51,12 +51,8 @@ path.grid-worked {
stroke: rgba(220, 50, 50, 0.4) !important;
}
#map,
#qsomap,
#mapqso,
#gridsquare_map,
#custommap {
background-color: #2e3e50;
.map-leaflet {
background-color: #2e3e50!important;
}
/*

Wyświetl plik

@ -51,12 +51,8 @@ path.grid-worked {
stroke: rgba(220, 50, 50, 0.4) !important;
}
#map,
#qsomap,
#mapqso,
#gridsquare_map,
#custommap {
background-color: #2e3e50;
.map-leaflet {
background-color: #2e3e50!important;
}
/*

Wyświetl plik

@ -40,12 +40,8 @@ path.grid-worked {
stroke: rgba(220, 50, 50, 0.25) !important;
}
#map,
#qsomap,
#mapqso,
#gridsquare_map,
#custommap {
background-color: #2d3537;
.map-leaflet {
background-color: #2d3537!important;
}
.leaflet-popup-content h3 {

Wyświetl plik

@ -40,12 +40,8 @@ path.grid-worked {
stroke: rgba(220, 50, 50, 0.25) !important;
}
#map,
#qsomap,
#mapqso,
#gridsquare_map,
#custommap {
background-color: #2d3537;
.map-leaflet {
background-color: #2d3537!important;
}
.leaflet-popup-content h3 {

Wyświetl plik

@ -63,12 +63,8 @@ path.grid-worked {
stroke: rgba(220, 50, 50, 0.25) !important;
}
#map,
#qsomap,
#mapqso,
#gridsquare_map,
#custommap {
background-color: #343d3f;
.map-leaflet {
background-color: #343d3f!important;
}
/*

Wyświetl plik

@ -63,12 +63,8 @@ path.grid-worked {
stroke: rgba(220, 50, 50, 0.25) !important;
}
#map,
#qsomap,
#mapqso,
#gridsquare_map,
#custommap {
background-color: #343d3f;
.map-leaflet {
background-color: #343d3f!important;
}
/*

Wyświetl plik

@ -51,12 +51,8 @@ path.grid-worked {
stroke: rgba(220, 50, 50, 0.4) !important;
}
#map,
#qsomap,
#mapqso,
#gridsquare_map,
#custommap {
background-color: #353c4a;
.map-leaflet {
background-color: #353c4a!important;
}
/*

Wyświetl plik

@ -62,12 +62,8 @@ path.grid-worked {
stroke: rgba(220, 50, 50, 0.4) !important;
}
#map,
#qsomap,
#mapqso,
#gridsquare_map,
#custommap {
background-color: #353c4a;
.map-leaflet {
background-color: #353c4a!important;
}
#map {

Wyświetl plik

@ -116,7 +116,7 @@ function load_cq_map2(data) {
if(container != null){
container._leaflet_id = null;
container.remove();
$("#cqmaptab").append('<div id="cqmap"></div>');
$("#cqmaptab").append('<div id="cqmap" class="map-leaflet" ></div>');
}
var map = new L.Map('cqmap', {

Wyświetl plik

@ -39,7 +39,7 @@ function load_dxcc_map2(data, worked, confirmed, notworked) {
if(container != null){
container._leaflet_id = null;
container.remove();
$("#dxccmaptab").append('<div id="dxccmap"></div>');
$("#dxccmaptab").append('<div id="dxccmap" class="map-leaflet" ></div>');
}
var map = new L.Map('dxccmap', {

Wyświetl plik

@ -13,7 +13,7 @@ function gridPlot(form) {
if(container != null){
container._leaflet_id = null;
container.remove();
$("#gridmapcontainer").append('<div id="gridsquare_map" style="width: 100%; height: 800px"></div>');
$("#gridmapcontainer").append('<div id="gridsquare_map" class="map-leaflet" style="width: 100%; height: 800px"></div>');
}
ajax_url = site_url + '/awards/getFfmaGridsjs';

Wyświetl plik

@ -27,7 +27,7 @@ function gridPlot(form, visitor=true) {
if(container != null){
container._leaflet_id = null;
container.remove();
$("#gridmapcontainer").append('<div id="gridsquare_map" style="width: 100%; height: 800px"></div>');
$("#gridmapcontainer").append('<div id="gridsquare_map" class="map-leaflet" style="width: 100%; height: 800px"></div>');
}
if (typeof type == 'undefined') { type=''; }

Wyświetl plik

@ -13,7 +13,7 @@ function gridPlot(form) {
if(container != null){
container._leaflet_id = null;
container.remove();
$("#gridmapcontainer").append('<div id="gridsquare_map" style="width: 100%; height: 800px"></div>');
$("#gridmapcontainer").append('<div id="gridsquare_map" class="map-leaflet" style="width: 100%; height: 800px"></div>');
}
ajax_url = site_url + '/awards/getGridmasterGridsjs';

Wyświetl plik

@ -39,7 +39,7 @@ function load_iota_map2(data, worked, confirmed, notworked) {
if(container != null){
container._leaflet_id = null;
container.remove();
$("#iotamaptab").append('<div id="iotamap"></div>');
$("#iotamaptab").append('<div id="iotamap" class="map-leaflet" ></div>');
}
var map = new L.Map('iotamap', {

Wyświetl plik

@ -13,7 +13,7 @@ function gridPlot(form) {
if(container != null){
container._leaflet_id = null;
container.remove();
$("#gridmapcontainer").append('<div id="gridsquare_map" style="width: 100%; height: 800px"></div>');
$("#gridmapcontainer").append('<div id="gridsquare_map" class="map-leaflet" style="width: 100%; height: 800px"></div>');
}
ajax_url = site_url + '/awards/getJaGridmasterGridsjs';

Wyświetl plik

@ -87,7 +87,7 @@ function load_waja_map2(data) {
if(container != null){
container._leaflet_id = null;
container.remove();
$("#wajamaptab").append('<div id="wajamap"></div>');
$("#wajamaptab").append('<div id="wajamap" class="map-leaflet"></div>');
}
map = new L.Map('wajamap', {