var latitud = 36.177871; var longitud = -5.349074; var zoom = 15; function initialize() { var myLatlng = new google.maps.LatLng(latitud, longitud); var myOptions = { zoom: zoom, scrollwheel: false, center: myLatlng, mapTypeControl: true, mapTypeControlOptions: { style: google.maps.MapTypeControlStyle.DROPDOWN_MENU }, mapTypeId: google.maps.MapTypeId.ROADMAP } var map = new google.maps.Map(document.getElementById("map"), myOptions); function createMarker(lat, long, image, bocadi) { var markerLatLng = new google.maps.LatLng(lat, long); var marker = new google.maps.Marker({ position: markerLatLng, map: map, icon: image }); if (bocadi != '') { var infowindow = new google.maps.InfoWindow({ content: bocadi }); } google.maps.event.addListener(marker, 'click', function() { infowindow.open(map,marker); }); } createMarker(36.177871, -5.349074, 'https://www.tiendadeanimaleslagloria.com/templates/default/images/googlemaps.png', '

Tienda de animales La Gloria

Carretera del Higuerón 23. 11300 La Línea de la Concepción. Cádiz. España
Tlf.:(+34) 956 64 36 51'); } function addEvent(to, type, fn){ if(document.addEventListener){ to.addEventListener(type, fn, false); } else if(document.attachEvent){ to.attachEvent('on'+type, fn); } else { to['on'+type] = fn; } } addEvent(window, 'load', initialize);