MD en api
This commit is contained in:
parent
153517f962
commit
b0195711df
3
api.php
3
api.php
@ -4,9 +4,10 @@ ini_set('display_errors', 'On');
|
||||
|
||||
require ('xajax/xajax.inc.php');
|
||||
$xajax = new xajax();
|
||||
include ('librerias/parsedown/Parsedown.php');
|
||||
require ('funciones/funciones.php');
|
||||
require ('funciones/convert.php');
|
||||
require ("includes/markdown.php");
|
||||
//require ("includes/markdown.php");
|
||||
require ("funciones/conex.php");
|
||||
@$datos['id']=$_REQUEST['id'];
|
||||
@$datos['identificador']=$_REQUEST['identificador'];
|
||||
|
@ -13691,7 +13691,7 @@ if (mysqli_num_rows($sql)!='0'){
|
||||
$contenido = "
|
||||
|
||||
<img class='xx mapa_estatico lazy img img-rounded img-responsive' style='' src ='https://staticmap.openstreetmap.co/staticmap.php?center=$lon,$lat&zoom=$zoom&size=1000x100&maptype=mapnik&markers=$lon,$lat,red-pushpin' >
|
||||
<a href='https://www.openstreetmap.org/?mlat=$lon&mlon=$lat#map=$zoom/$lon/$lat' target='mapa'>Ampliar mapa xx</a>
|
||||
<a href='https://www.openstreetmap.org/?mlat=$lon&mlon=$lat#map=$zoom/$lon/$lat' target='mapa'>Ampliar mapa </a>
|
||||
"; }else{ $contenido ="<div class='alert alert-danger'>No se ha definido un token de mapbox</div>";}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user