2014-01-08 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_gis.php: fixed with a dirty hack the bug about the google maps with own old version of openlayer. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9295 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
fbe3c86dd4
commit
c57fc72220
|
@ -1,3 +1,8 @@
|
||||||
|
2014-01-08 Miguel de Dios <miguel.dedios@artica.es>
|
||||||
|
|
||||||
|
* include/functions_gis.php: fixed with a dirty hack the bug about
|
||||||
|
the google maps with own old version of openlayer.
|
||||||
|
|
||||||
2014-01-07 Miguel de Dios <miguel.dedios@artica.es>
|
2014-01-07 Miguel de Dios <miguel.dedios@artica.es>
|
||||||
|
|
||||||
* godmode/agentes/planned_downtime.list.php: fixed the manual stop
|
* godmode/agentes/planned_downtime.list.php: fixed the manual stop
|
||||||
|
|
|
@ -116,7 +116,6 @@ function gis_print_map($idDiv, $iniZoom, $latCenter, $lonCenter, $baselayers, $c
|
||||||
break;
|
break;
|
||||||
case 'Gmap':
|
case 'Gmap':
|
||||||
echo "baselayer['gmap_type'] = '" . $baselayer['gmap_type'] . "';";
|
echo "baselayer['gmap_type'] = '" . $baselayer['gmap_type'] . "';";
|
||||||
echo "controlsList = [];";
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -127,6 +126,30 @@ function gis_print_map($idDiv, $iniZoom, $latCenter, $lonCenter, $baselayers, $c
|
||||||
baselayerList, controlsList)";
|
baselayerList, controlsList)";
|
||||||
|
|
||||||
echo "</script>";
|
echo "</script>";
|
||||||
|
|
||||||
|
?>
|
||||||
|
<script type="text/javascript">
|
||||||
|
$(document).ready(function() {
|
||||||
|
setInterval(
|
||||||
|
function() {
|
||||||
|
|
||||||
|
$("img")
|
||||||
|
.filter(function() { return this.src.match(/mapcnt3/);})
|
||||||
|
.css('display', 'none');
|
||||||
|
|
||||||
|
$("img")
|
||||||
|
.filter(function() { return this.src.match(/cb_scout2/);})
|
||||||
|
.css('display', 'none');
|
||||||
|
|
||||||
|
$(".gm-style-mtc").css('display', 'none');
|
||||||
|
}
|
||||||
|
|
||||||
|
,3000);
|
||||||
|
});
|
||||||
|
|
||||||
|
|
||||||
|
</script>
|
||||||
|
<?php
|
||||||
}
|
}
|
||||||
|
|
||||||
function gis_make_layer($name, $visible = true, $dot = null, $idLayer = null, $public_console = 0, $id_map = 0) {
|
function gis_make_layer($name, $visible = true, $dot = null, $idLayer = null, $public_console = 0, $id_map = 0) {
|
||||||
|
|
Loading…
Reference in New Issue