Chocolate II - Baeza
'+
''+
'';
$(document).ready(function() {
var myOptions = {
zoom: 15,
center: {lng: -3.459706, lat: 37.997841},
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: 5
Mascotas: No
Piscina: Si
Habitaciones: 2
';
var item = new google.maps.LatLng(37.997841, -3.459706);
var marker = new google.maps.Marker({
position: item,
map: map,
title: 'Chocolate II'
});
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);
});
});