Hola buenas a todos…
Estoy tratando de cargar un Google map en un formulario de velneo desktop y he estado viendo como se hace, solamente dice que se tiene que agregar un URL y ya, pero yo necesito agregar una lista de marcadores y esa forma no me sirve, asi que la estoy intentando agregar al visor HTML un codigo HTML con una funcion Javascript para cargar el mapa:
"<!DOCTYPE html>
<html>
<head>
<meta charset=\cutf-8\c>
<meta http-equiv=\cX-UA-Compatible\c content=\cIE=edge\c>
<title>Prueba</title>
</head>
<body height=\c500px\c width=\c500px\c>
<script async defer src=\chttps://maps.googleapis.com/maps/api/js?AQUI VA MI API KEY\c></script>
<script type=\ctext/javascript\c>
var g_map_test;
var markers = [];
function init_map(){
//clearMarkers();
g_map_test = new google.maps.Map(document.getElementById('g_map'), {
zoom: 10,
center: new google.maps.LatLng(12.429657, -86.15455),
mapTypeId: google.maps.MapTypeId.ROADMAP
});
}
</script>
</body>
</html>"
Ademas de esto necesito cargar coordenadas que estan almaecenadas en una tabla y no tengo ni idea de como hacerlo aca en velneo, espero su ayuda…
Saludos