maperohibrido

This commit is contained in:
humano 2020-04-24 08:55:58 -05:00
parent e048a5f82d
commit 4ae1394ca9
2 changed files with 12 additions and 4 deletions

View File

@ -280,9 +280,17 @@ print $css_adicional;
<script src="./librerias/bootstrap/js/bootstrap.min.js" ></script> <script src="./librerias/bootstrap/js/bootstrap.min.js" ></script>
<!-- <script src="librerias/jquery/jquery-2.1.4.min.js"></script> --> <!-- <script src="librerias/jquery/jquery-2.1.4.min.js"></script> -->
<?php $cadena_busqueda = $_REQUEST['buscar']; ?> <?php $cadena_busqueda = $_REQUEST['buscar'];
if(isset($_REQUEST['buscar']) == ""){
$geojson ="https://connectamericas.tupale.co/geojsoncaen.js.php";
<script type="text/javascript" src="https://connectamericas.tupale.co/geojsoncaen.js.php?id=<?php echo $_REQUEST['id'] ?>&buscar=<?php echo $cadena_busqueda ?>&item=<?php echo $_REQUEST['item'] ?>"></script> }else{
$geojson = "milfs/geojson.js.php?id=$_REQUEST[id]&buscar=$cadena_busqueda&item=$_REQUEST[item]";
}
?>
<script type="text/javascript" src="<?php echo $geojson; ?>"></script>
<script src="https://unpkg.com/leaflet-responsive-popup@0.6.4/leaflet.responsive.popup.js"></script> <script src="https://unpkg.com/leaflet-responsive-popup@0.6.4/leaflet.responsive.popup.js"></script>
<link rel="stylesheet" href="https://unpkg.com/leaflet-responsive-popup@0.6.4/leaflet.responsive.popup.css" /> <link rel="stylesheet" href="https://unpkg.com/leaflet-responsive-popup@0.6.4/leaflet.responsive.popup.css" />
@ -325,7 +333,7 @@ print $css_adicional;
} }
); );
layer.bindTooltip(feature.properties.title).openTooltip(); layer.bindTooltip(feature.properties.title).openTooltip();
} }
}); });

2
milfs

@ -1 +1 @@
Subproject commit ec812e6f85e61a72d19d214480cb466ae9bff522 Subproject commit 307bc9bc88bec68637485ee4343c6383ec5ee625