Commit 7723b474 authored by Eric - kg6wxc's avatar Eric - kg6wxc
Browse files

Bugfix: removed margin when map is embedded in iFrame.

Whoops! Much better now.
Also, changed the bottom attribution layer to better fit on small
screens.
parent 2e3a499c
......@@ -349,10 +349,11 @@ echo "<body>\n";
// "kg6wxc-host.local.mesh"
//)
if (isset($USER_SETTINGS['map_iFrame_Enabled']) && ($USER_SETTINGS['map_iFrame_Enabled'])) {
echo "<div id='meshmap'>\n"; // Closing tag at end of primary routine
if(isset($GLOBALS['map_div_embedded'])) {
echo "<div id='meshmap' style='margin: 0px;'>\n"; // Closing tag at end of primary routine
echo $GLOBALS['map_div_embedded'];
}else {
echo "<div id='meshmap'>\n"; // Closing tag at end of primary routine
echo "<div id='mapid'></div>\n";
}
}else {
......
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