Estancia CATEDRAL - Baeza
'+
''+
'';
$(document).ready(function() {
var myOptions = {
zoom: 15,
center: {lng: -3.469008207321167, lat: 37.991647634552386},
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: 4
Mascotas: No
Piscina: No
Habitaciones: 1
';
var item = new google.maps.LatLng(37.991647634552386, -3.469008207321167);
var marker = new google.maps.Marker({
position: item,
map: map,
title: 'Estancia CATEDRAL'
});
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);
});
});