Commit 7b6e8eee authored by Eric - kg6wxc's avatar Eric - kg6wxc

Merge branch 'non-mesh_popups_update' into 'master'

Non mesh popups update

See merge request !13
parents 2474129b b1b6d1b6
......@@ -649,9 +649,10 @@ function buildStationMarker($Marker)
* Now build the marker
*/
$markerList = "L.marker([" . $Marker['lat'] . "," . $Marker['lon'] . "], {title: '" . $Marker['name'] .
"', icon: " . $icon . "}).bindPopup(\" " . $Marker['name'] . "<br>" . $Marker['description'] .
"<br>" . $Marker['lat'] . ", " . $Marker['lon'] . "<br>TYPE: " . $Marker['type'] . "\")
.addTo(" . $AssignedLayer . ") ,\n";
"', icon: " . $icon . "}).bindPopup('<div class=\"popupTabs-nonmesh\">" . $Marker['name'] .
"<div class=\"popupTab\"><div class=\"popupTabContent-fw\">" .
$Marker['name'] . "<br>" . $Marker['description'] .
"<br>" . $Marker['lat'] . ", " . $Marker['lon'] . "<br>TYPE: " . $Marker['type'] . "</div></div></div>').addTo(" . $AssignedLayer . ") ,\n";
return $markerList;
}
......
......@@ -316,6 +316,15 @@ MAP_DETAILS {
border-top-right-radius: 15px;
border-top-left-radius: 15px;
}
.popupTabs-nonmesh {
position: relative;
min-height: 250px;
color: white;
font-weight: 900;
text-align: center;
clear: both;
margin: 18px 0;
}
.popupTab:target {
display: block;
}
\ No newline at end of file
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