This Jerez Airport Map shows popular places of interest & transport locations. Click the name in the
right column to highlight the location on the map.
//";
html += "" + entry["gsx$"+param_titleColumn].$t
+ "";
var label = entry["gsx$"+param_titleColumn].$t;
var rank = 0;
if(usingRank && entry["gsx$" + param_rankColumn]) {
rank = parseInt(entry["gsx$"+param_rankColumn].$t);
}
if(entry["gsx$" + param_descriptionColumn]) {
html += " " + entry["gsx$"+param_descriptionColumn].$t;
}
html += "
";
// create the marker
var marker = cm_createMarker(cm_map,point,label,html,rank);
// cm_map.addOverlay(marker);
cm_mapMarkers.push(marker);
cm_mapHTMLS.push(html);
bounds.extend(point);
if(param_useSidebar == true) {
var markerA = document.createElement("a");
markerA.setAttribute("href","javascript:cm_markerClicked('" + i +"')");
markerA.style.color = "#000000";
var sidebarText= "";
if(usingRank) {
sidebarText += rank + ") ";
}
sidebarText += label;
markerA.appendChild(document.createTextNode(sidebarText));
sidebarDIV.appendChild(markerA);
sidebarDIV.appendChild(document.createElement("br"));
sidebarDIV.appendChild(document.createElement("br"));
}
}
}
cm_map.fitBounds(bounds);
cm_map.setCenter(bounds.getCenter());
}
function cm_setInfowindow(newInfowindow) {
if (cm_openInfowindow != undefined) {
cm_openInfowindow.close();
}
cm_openInfowindow = newInfowindow;
}
/**
* Creates marker with ranked Icon or blank icon,
* depending if rank is defined. Assigns onclick function.
* @param {GLatLng} point Point to create marker at
* @param {String} title Tooltip title to display for marker
* @param {String} html HTML to display in InfoWindow
* @param {Number} rank Number rank of marker, used in creating icon
* @return {GMarker} Marker created
*/
function cm_createMarker(map, latlng, title, html, rank) {
var iconSize = new google.maps.Size(20, 34);
var iconShadowSize = new google.maps.Size(37, 34);
var iconHotSpotOffset = new google.maps.Point(9, 0); // Should this be (9, 34)?
var iconPosition = new google.maps.Point(0, 0);
var infoWindowAnchor = new google.maps.Point(9, 2);
var infoShadowAnchor = new google.maps.Point(18, 25);
var iconShadowUrl = "http://www.google.com/mapfiles/shadow50.png";
var iconImageUrl;
var iconImageOverUrl;
var iconImageOutUrl;
if(rank > 0 && rank < 100) {
iconImageOutUrl = "http://gmaps-samples.googlecode.com/svn/trunk/" +
"markers/" + param_iconType + "/marker" + rank + ".png";
iconImageOverUrl = "http://gmaps-samples.googlecode.com/svn/trunk/" +
"markers/" + param_iconOverType + "/marker" + rank + ".png";
iconImageUrl = iconImageOutUrl;
} else {
iconImageOutUrl = "http://gmaps-samples.googlecode.com/svn/trunk/" +
"markers/" + param_iconType + "/blank.png";
iconImageOverUrl = "http://gmaps-samples.googlecode.com/svn/trunk/" +
"markers/" + param_iconOverType + "/blank.png";
iconImageUrl = iconImageOutUrl;
}
var markerShadow =
new google.maps.MarkerImage(iconShadowUrl, iconShadowSize,
iconPosition, iconHotSpotOffset);
var markerImage =
new google.maps.MarkerImage(iconImageUrl, iconSize,
iconPosition, iconHotSpotOffset);
var markerImageOver =
new google.maps.MarkerImage(iconImageOverUrl, iconSize,
iconPosition, iconHotSpotOffset);
var markerImageOut =
new google.maps.MarkerImage(iconImageOutUrl, iconSize,
iconPosition, iconHotSpotOffset);
var markerOptions = {
title: title,
icon: markerImage,
shadow: markerShadow,
position: latlng,
map: map
}
var marker = new google.maps.Marker(markerOptions);
google.maps.event.addListener(marker, "click", function() {
var infowindowOptions = {
content: html
}
var infowindow = new google.maps.InfoWindow(infowindowOptions);
cm_setInfowindow(infowindow);
infowindow.open(map, marker);
marker.setIcon(markerImageOut);
});
google.maps.event.addListener(marker, "mouseover", function() {
marker.setIcon(markerImageOver);
});
google.maps.event.addListener(marker, "mouseout", function() {
marker.setIcon(markerImageOut);
});
return marker;
}
/**
* Creates a script tag in the page that loads in the
* JSON feed for the specified key/ID.
* Once loaded, it calls cm_loadMapJSON.
*/
function cm_getJSON() {
// Retrieve the JSON feed.
var script = document.createElement('script');
script.setAttribute('src', 'http://spreadsheets.google.com/feeds/list'
+ '/' + param_ssKey + '/' + param_wsId + '/public/values' +
'?alt=json-in-script&callback=cm_loadMapJSON');
script.setAttribute('id', 'jsonScript');
script.setAttribute('type', 'text/javascript');
document.getElementsByTagName("head")[0].appendChild(script);
}
setTimeout('cm_load()', 500);
//]]>
Alburejos
Algeciras
Arcos de la Frontera
Cadiz
Chiclana de la Frontera
Chipiona
Conil de la Frontera
Cordoba city
Gibraltar frontier La Linea
Jerez de la Frontera
Malaga city
Novo Sancti Petri
Puerto de Santa Maria
Ronda
Rota
Sanlucar de Barrameda
Sevilla city
Sotogrande
Zahara de los Atunes