Caserio de Charca Cuca - Ubeda
'+
''+
'';
$(document).ready(function() {
var myOptions = {
zoom: 15,
center: {lng: -3.401684423542146, lat: 38.03145755099089},
scrollwheel: false,
mapTypeId: google.maps.MapTypeId.ROADMAP
};
var map = new google.maps.Map(document.getElementById("map"), myOptions);
var infoBoxes = [];
var boxText = document.createElement("div");
boxText.style.cssText = "";
boxText.innerHTML = '
Personas: 7
Mascotas: No
Piscina: Si
Habitaciones: 3
';
var item = new google.maps.LatLng(38.03145755099089, -3.401684423542146);
var marker = new google.maps.Marker({
position: item,
map: map,
title: 'Caserio de Charca Cuca'
});
var ib = new InfoBox({
content: boxText,
disableAutoPan: false,
maxWidth: 0,
pixelOffset: new google.maps.Size(40, -50),
zIndex: null,
boxStyle: {
opacity: 0.75,
width: "230px"
},
closeBoxMargin: "10px 2px 2px 2px",
closeBoxURL: "",
infoBoxClearance: new google.maps.Size(1, 1),
isHidden: false,
pane: "floatPane",
enableEventPropagation: false
});
infoBoxes.push(ib);
google.maps.event.addListener(marker, 'click', function() {
for (var i = 0; i < infoBoxes.length; i++) {
infoBoxes[i].close();
}
ib.open(map, marker);
});
});