//google.load('earth', '1');
var map;
// var googleEarth;
var javierposition = new google.maps.LatLng(35.67007,75.84961);
var javierMarker;
var javiericon = 'img/ferran.png';
var javierString = '
'+
'ÚLTIMA POSICIÓN DE FERRAN:
'+
'LATITUD: 35.67007
'+
'LONGITUD: 75.84961
'+
'A LAS: 05:25:54
'+
'DEL: 03/08/2014
'+
'
';
var trackPath;
var lailaposition = new google.maps.LatLng(35.88118292357264,76.51331803410991);
var lailaMarker;
var lailaicon = 'img/cima.png';
var routeLayer;
var commentPosition = new Array();
var commentMarker = new Array();
var commenticon = 'img/comentarios.png';
var commentString = new Array();
var infoComment = new Array();
var campPosition = new Array();
var campMarker = new Array();
var campicon = 'img/camp_on.png';
var campString = new Array();
var infoCamp = new Array();
function initialize() {
var mapOptions = {
zoom: 13,
center: new google.maps.LatLng(35.67007,75.84961),
mapTypeId: google.maps.MapTypeId.TERRAIN,
panControlOptions: {
position: google.maps.ControlPosition.RIGHT_TOP
},
mapTypeControlOptions: {
position: google.maps.ControlPosition.TOP_RIGHT
},
zoomControlOptions: {
position: google.maps.ControlPosition.RIGHT_TOP
},
streetViewControl: false
};
map = new google.maps.Map(document.getElementById('map_canvas'),
mapOptions);
//googleEarth = new GoogleEarth(map);
javierMarker = new google.maps.Marker({
map:map,
position: javierposition,
icon:javiericon
});
var infowindowAlex = new google.maps.InfoWindow({
content: javierString
});
google.maps.event.addListener(javierMarker, 'click', function() {
infowindowAlex.open(map,javierMarker);
});
var contentString = ''+
'
K2 |
---|
|
País | China Pakistán |
---|
Coordenadas | 35°52′52.86″N 76°30′48.43″E |
---|
Altitud | 8.611 msnm número 2 del mundo |
---|
Cordillera | Karakórum |
---|
Primera ascensión | 31 de julio de 1954 Lino Lacedelli y Achille Compagnoni |
---|
Ruta | Arista sureste: Espolón de los Abruzzos (Pakistán) |
---|
'+
'
';
var infowindow = new google.maps.InfoWindow({
content: contentString
});
lailaMarker = new google.maps.Marker({
map:map,
position: lailaposition,
icon:lailaicon
});
google.maps.event.addListener(lailaMarker, 'click', function() {
infowindow.open(map,lailaMarker);
});
routeLayer = new google.maps.KmlLayer('http://ferranlatorre.racetracker.es/k2/kml/Rutaprevista.kml');
//routeLayer.setMap(map);
var flightPlanCoordinates = [
new google.maps.LatLng(35.67007, 75.84961),new google.maps.LatLng(35.67131, 75.85715),new google.maps.LatLng(35.6717, 75.86324),new google.maps.LatLng(35.67632, 75.89654),new google.maps.LatLng(35.67584, 75.90317),new google.maps.LatLng(35.68017, 75.906),new google.maps.LatLng(35.68505, 75.90903),new google.maps.LatLng(35.68895, 75.9136),new google.maps.LatLng(35.6897, 75.91432),new google.maps.LatLng(35.68953, 75.91674),new google.maps.LatLng(35.68955, 75.91679),new google.maps.LatLng(35.68955, 75.91677),new google.maps.LatLng(35.68913, 75.9192),new google.maps.LatLng(35.688, 75.92683),new google.maps.LatLng(35.68731, 75.93552),new google.maps.LatLng(35.69637, 75.97418),new google.maps.LatLng(35.69633, 75.97421),new google.maps.LatLng(35.69629, 75.97421),new google.maps.LatLng(35.69668, 75.97404),new google.maps.LatLng(35.69634, 75.97421),new google.maps.LatLng(35.69655, 75.97421),new google.maps.LatLng(35.69634, 75.97412),new google.maps.LatLng(35.69665, 75.97392),new google.maps.LatLng(35.69639, 75.97417),new google.maps.LatLng(35.69618, 75.974),new google.maps.LatLng(35.69627, 75.974),new google.maps.LatLng(35.69627, 75.97402),new google.maps.LatLng(35.69665, 75.97432),new google.maps.LatLng(35.69626, 75.97405),new google.maps.LatLng(35.6963, 75.97405),new google.maps.LatLng(35.69621, 75.97402),new google.maps.LatLng(35.69625, 75.97402),new google.maps.LatLng(35.69625, 75.97402),new google.maps.LatLng(35.66788, 75.97775),new google.maps.LatLng(35.66385, 75.98135),new google.maps.LatLng(35.66069, 75.98649),new google.maps.LatLng(35.65854, 75.99095),new google.maps.LatLng(35.65794, 75.99301),new google.maps.LatLng(35.64946, 76.03337),new google.maps.LatLng(35.72668, 76.28175),new google.maps.LatLng(35.73171, 76.28852),new google.maps.LatLng(35.7342, 76.29255),new google.maps.LatLng(35.73527, 76.29737),new google.maps.LatLng(35.73637, 76.30159),new google.maps.LatLng(35.73852, 76.30425),new google.maps.LatLng(35.74114, 76.30682),new google.maps.LatLng(35.74179, 76.3112),new google.maps.LatLng(35.74166, 76.31505),new google.maps.LatLng(35.74213, 76.32683),new google.maps.LatLng(35.7417, 76.32929),new google.maps.LatLng(35.74119, 76.33454),new google.maps.LatLng(35.74092, 76.34072),new google.maps.LatLng(35.74131, 76.34578),new google.maps.LatLng(35.74118, 76.35196),new google.maps.LatLng(35.74104, 76.35626),new google.maps.LatLng(35.74063, 76.3591),new google.maps.LatLng(35.73981, 76.36373),new google.maps.LatLng(35.73998, 76.37051),new google.maps.LatLng(35.73956, 76.37635),new google.maps.LatLng(35.73974, 76.38034),new google.maps.LatLng(35.74068, 76.386),new google.maps.LatLng(35.7418, 76.39189),new google.maps.LatLng(35.74262, 76.39481),new google.maps.LatLng(35.74262, 76.39481),new google.maps.LatLng(35.74269, 76.39489),new google.maps.LatLng(35.74268, 76.39487),new google.maps.LatLng(35.74268, 76.39487),new google.maps.LatLng(35.74302, 76.3953),new google.maps.LatLng(35.74435, 76.40167),new google.maps.LatLng(35.74611, 76.40721),new google.maps.LatLng(35.74714, 76.41322),new google.maps.LatLng(35.74757, 76.42),new google.maps.LatLng(35.74682, 76.42671),new google.maps.LatLng(35.74489, 76.43315),new google.maps.LatLng(35.74329, 76.4377),new google.maps.LatLng(35.74193, 76.4415),new google.maps.LatLng(35.73987, 76.44647),new google.maps.LatLng(35.73784, 76.45182),new google.maps.LatLng(35.73602, 76.45827),new google.maps.LatLng(35.7352, 76.46196),new google.maps.LatLng(35.73487, 76.46849),new google.maps.LatLng(35.73523, 76.4752),new google.maps.LatLng(35.73628, 76.48153),new google.maps.LatLng(35.74064, 76.49319),new google.maps.LatLng(35.74231, 76.49876),new google.maps.LatLng(35.74218, 76.50288),new google.maps.LatLng(35.74228, 76.50915),new google.maps.LatLng(35.74229, 76.50909),new google.maps.LatLng(35.74224, 76.50915),new google.maps.LatLng(35.74227, 76.50906),new google.maps.LatLng(35.74224, 76.50909),new google.maps.LatLng(35.74212, 76.51147),new google.maps.LatLng(35.74275, 76.51418),new google.maps.LatLng(35.74422, 76.51707),new google.maps.LatLng(35.74648, 76.51879),new google.maps.LatLng(35.74807, 76.52239),new google.maps.LatLng(35.74877, 76.52167),new google.maps.LatLng(35.75302, 76.52342),new google.maps.LatLng(35.75827, 76.52533),new google.maps.LatLng(35.76321, 76.52516),new google.maps.LatLng(35.76805, 76.52377),new google.maps.LatLng(35.77337, 76.52222),new google.maps.LatLng(35.7788, 76.52068),new google.maps.LatLng(35.83566, 76.51012),new google.maps.LatLng(35.86045, 76.5438),new google.maps.LatLng(35.86074, 76.54349),new google.maps.LatLng(35.86194, 76.54195),new google.maps.LatLng(35.86232, 76.54152),new google.maps.LatLng(35.86219, 76.5417),new google.maps.LatLng(35.86322, 76.54067),new google.maps.LatLng(35.86495, 76.53857),new google.maps.LatLng(35.86504, 76.53806),new google.maps.LatLng(35.86337, 76.5408),new google.maps.LatLng(35.86545, 76.53713),new google.maps.LatLng(35.86571, 76.53662),new google.maps.LatLng(35.86592, 76.53628),new google.maps.LatLng(35.86709, 76.53518),new google.maps.LatLng(35.86763, 76.53498),new google.maps.LatLng(35.86754, 76.53498),new google.maps.LatLng(35.86715, 76.53505),new google.maps.LatLng(35.86685, 76.53514),new google.maps.LatLng(35.86672, 76.53514),new google.maps.LatLng(35.8688, 76.53346),new google.maps.LatLng(35.86889, 76.53328),new google.maps.LatLng(35.86908, 76.53314),new google.maps.LatLng(35.86925, 76.53305),new google.maps.LatLng(35.86916, 76.53288),new google.maps.LatLng(35.87016, 76.53256),new google.maps.LatLng(35.87023, 76.53269),new google.maps.LatLng(35.87023, 76.53269),new google.maps.LatLng(35.87023, 76.53269),new google.maps.LatLng(35.87016, 76.5327),new google.maps.LatLng(35.87016, 76.5327),new google.maps.LatLng(35.87046, 76.53254),new google.maps.LatLng(35.87083, 76.53242),new google.maps.LatLng(35.871, 76.53242),new google.maps.LatLng(35.87184, 76.53205),new google.maps.LatLng(35.8721, 76.53196),new google.maps.LatLng(35.8724, 76.53196),new google.maps.LatLng(35.87505, 76.53167),new google.maps.LatLng(35.87535, 76.53055),new google.maps.LatLng(35.87535, 76.53039),new google.maps.LatLng(35.87526, 76.53042),new google.maps.LatLng(35.87539, 76.53059),new google.maps.LatLng(35.87543, 76.5304),new google.maps.LatLng(35.8754, 76.53033),new google.maps.LatLng(35.87549, 76.53044),new google.maps.LatLng(35.87555, 76.52995),new google.maps.LatLng(35.87628, 76.52925),new google.maps.LatLng(35.87667, 76.52909),new google.maps.LatLng(35.87767, 76.52818),new google.maps.LatLng(35.87804, 76.52699),new google.maps.LatLng(35.8782, 76.5249),new google.maps.LatLng(35.87648, 76.52687),new google.maps.LatLng(35.87717, 76.52584),new google.maps.LatLng(35.87823, 76.52518),new google.maps.LatLng(35.87827, 76.52504),new google.maps.LatLng(35.87845, 76.52467),new google.maps.LatLng(35.87934, 76.5234),new google.maps.LatLng(35.87938, 76.52254),new google.maps.LatLng(35.88002, 76.5203),new google.maps.LatLng(35.88029, 76.51911),new google.maps.LatLng(35.88129, 76.51759),new google.maps.LatLng(35.88112, 76.51733),new google.maps.LatLng(35.88099, 76.51716),new google.maps.LatLng(35.88084, 76.51692),new google.maps.LatLng(35.88083, 76.5169),new google.maps.LatLng(35.88073, 76.51703),new google.maps.LatLng(35.88068, 76.51671),new google.maps.LatLng(35.88073, 76.51658),new google.maps.LatLng(35.88077, 76.51649),new google.maps.LatLng(35.88089, 76.51613),new google.maps.LatLng(35.88098, 76.51573),new google.maps.LatLng(35.88118, 76.51559),new google.maps.LatLng(35.88139, 76.51508),new google.maps.LatLng(35.88126, 76.5146),new google.maps.LatLng(35.88176, 76.51421),new google.maps.LatLng(35.88186, 76.51389),new google.maps.LatLng(35.88172, 76.51344),new google.maps.LatLng(35.8817, 76.51336),new google.maps.LatLng(35.88149, 76.51343),new google.maps.LatLng(35.88183, 76.51353),new google.maps.LatLng(35.88183, 76.51394),new google.maps.LatLng(35.88183, 76.51394),new google.maps.LatLng(35.88179, 76.51411),new google.maps.LatLng(35.88181, 76.51415),new google.maps.LatLng(35.88172, 76.51432),new google.maps.LatLng(35.88161, 76.51452),new google.maps.LatLng(35.88158, 76.51456),new google.maps.LatLng(35.88154, 76.51473),new google.maps.LatLng(35.88154, 76.51473),new google.maps.LatLng(35.88155, 76.51482),new google.maps.LatLng(35.88134, 76.51499),new google.maps.LatLng(35.8813, 76.51515),new google.maps.LatLng(35.88122, 76.51544),new google.maps.LatLng(35.88123, 76.51544),new google.maps.LatLng(35.88122, 76.51544),new google.maps.LatLng(35.88089, 76.51573),new google.maps.LatLng(35.88142, 76.51627),new google.maps.LatLng(35.88097, 76.51555),new google.maps.LatLng(35.88097, 76.51581),new google.maps.LatLng(35.88092, 76.51598),new google.maps.LatLng(35.88083, 76.51607),new google.maps.LatLng(35.88083, 76.51616),new google.maps.LatLng(35.88079, 76.51634),new google.maps.LatLng(35.88079, 76.51643),new google.maps.LatLng(35.88079, 76.51643),new google.maps.LatLng(35.88074, 76.51653),new google.maps.LatLng(35.8807, 76.51653),new google.maps.LatLng(35.88074, 76.51645),new google.maps.LatLng(35.8807, 76.51666),new google.maps.LatLng(35.8807, 76.51657),new google.maps.LatLng(35.88074, 76.51657),new google.maps.LatLng(35.8807, 76.51669),new google.maps.LatLng(35.88065, 76.51676),new google.maps.LatLng(35.8807, 76.51684),new google.maps.LatLng(35.88077, 76.5169),new google.maps.LatLng(35.88074, 76.51684),new google.maps.LatLng(35.88081, 76.51703),new google.maps.LatLng(35.88083, 76.51701),new google.maps.LatLng(35.88087, 76.51701),new google.maps.LatLng(35.88091, 76.51703),new google.maps.LatLng(35.88091, 76.51703),new google.maps.LatLng(35.88115, 76.51721),new google.maps.LatLng(35.88106, 76.51799),new google.maps.LatLng(35.88123, 76.51782),new google.maps.LatLng(35.88132, 76.51724),new google.maps.LatLng(35.88132, 76.51733),new google.maps.LatLng(35.88136, 76.51742),new google.maps.LatLng(35.88139, 76.51737),new google.maps.LatLng(35.88145, 76.51729),new google.maps.LatLng(35.88093, 76.51842),new google.maps.LatLng(35.88089, 76.51851),new google.maps.LatLng(35.88085, 76.5186),new google.maps.LatLng(35.88006, 76.52052),new google.maps.LatLng(35.87978, 76.52141),new google.maps.LatLng(35.87978, 76.52106),new google.maps.LatLng(35.8796, 76.52139),new google.maps.LatLng(35.87966, 76.52181),new google.maps.LatLng(35.87971, 76.52249),new google.maps.LatLng(35.87962, 76.52276),new google.maps.LatLng(35.87944, 76.52303),new google.maps.LatLng(35.87918, 76.52321),new google.maps.LatLng(35.87899, 76.52361),new google.maps.LatLng(35.87883, 76.52394),new google.maps.LatLng(35.87867, 76.52419),new google.maps.LatLng(35.87857, 76.52454),new google.maps.LatLng(35.8784, 76.52482),new google.maps.LatLng(35.87823, 76.52503),new google.maps.LatLng(35.87802, 76.52538),new google.maps.LatLng(35.87793, 76.52564),new google.maps.LatLng(35.87797, 76.52589),new google.maps.LatLng(35.8781, 76.52643),new google.maps.LatLng(35.87789, 76.52733),new google.maps.LatLng(35.87738, 76.5275),new google.maps.LatLng(35.87894, 76.52719),new google.maps.LatLng(35.87777, 76.52797),new google.maps.LatLng(35.87764, 76.52806),new google.maps.LatLng(35.87748, 76.5283),new google.maps.LatLng(35.87727, 76.52847),new google.maps.LatLng(35.87697, 76.52864),new google.maps.LatLng(35.87579, 76.52975),new google.maps.LatLng(35.87577, 76.52975),new google.maps.LatLng(35.87568, 76.53009),new google.maps.LatLng(35.87543, 76.53048),new google.maps.LatLng(35.87532, 76.53064),new google.maps.LatLng(35.87202, 76.53192),new google.maps.LatLng(35.87198, 76.53192),new google.maps.LatLng(35.87181, 76.53201),new google.maps.LatLng(35.87104, 76.53242),new google.maps.LatLng(35.87019, 76.53269),new google.maps.LatLng(35.8702, 76.53265),new google.maps.LatLng(35.86931, 76.53274),new google.maps.LatLng(35.86927, 76.533),new google.maps.LatLng(35.86888, 76.53326),new google.maps.LatLng(35.86884, 76.53351),new google.maps.LatLng(35.86863, 76.53368),new google.maps.LatLng(35.8685, 76.53394),new google.maps.LatLng(35.86806, 76.53467),new google.maps.LatLng(35.8679, 76.53471),new google.maps.LatLng(35.86721, 76.53505),new google.maps.LatLng(35.86704, 76.53531),new google.maps.LatLng(35.8667, 76.53555),new google.maps.LatLng(35.86647, 76.53583),new google.maps.LatLng(35.86626, 76.536),new google.maps.LatLng(35.86597, 76.53619),new google.maps.LatLng(35.866, 76.53628),new google.maps.LatLng(35.86529, 76.53722),new google.maps.LatLng(35.8591, 76.54255),new google.maps.LatLng(35.85708, 76.5417),new google.maps.LatLng(35.85518, 76.54203),new google.maps.LatLng(35.85355, 76.53877),new google.maps.LatLng(35.85134, 76.53488),new google.maps.LatLng(35.84924, 76.53175),new google.maps.LatLng(35.84688, 76.52772),new google.maps.LatLng(35.84409, 76.52137),new google.maps.LatLng(35.84176, 76.51761),new google.maps.LatLng(35.83569, 76.50986),new google.maps.LatLng(35.83569, 76.50986),new google.maps.LatLng(35.8356, 76.50999),new google.maps.LatLng(35.83612, 76.51074),new google.maps.LatLng(35.83805, 76.51289),new google.maps.LatLng(35.84073, 76.51617),new google.maps.LatLng(35.84378, 76.52063),new google.maps.LatLng(35.84596, 76.52664),new google.maps.LatLng(35.84807, 76.52902),new google.maps.LatLng(35.85086, 76.53408),new google.maps.LatLng(35.8535, 76.53861),new google.maps.LatLng(35.85506, 76.54218),new google.maps.LatLng(35.85733, 76.54183),new google.maps.LatLng(35.85922, 76.5427),new google.maps.LatLng(35.86141, 76.54243),new google.maps.LatLng(35.86283, 76.54123),new google.maps.LatLng(35.86433, 76.53951),new google.maps.LatLng(35.86787, 76.53471),new google.maps.LatLng(35.8683, 76.5342),new google.maps.LatLng(35.86843, 76.53386),new google.maps.LatLng(35.86879, 76.53353),new google.maps.LatLng(35.87014, 76.5325),new google.maps.LatLng(35.87001, 76.5325),new google.maps.LatLng(35.86961, 76.53263),new google.maps.LatLng(35.8693, 76.53269),new google.maps.LatLng(35.86931, 76.53263),new google.maps.LatLng(35.86919, 76.5331),new google.maps.LatLng(35.86893, 76.53327),new google.maps.LatLng(35.86882, 76.53342),new google.maps.LatLng(35.86809, 76.53449),new google.maps.LatLng(35.868, 76.53458),new google.maps.LatLng(35.86783, 76.53475),new google.maps.LatLng(35.86737, 76.53497),new google.maps.LatLng(35.86707, 76.53523),new google.maps.LatLng(35.86681, 76.53549),new google.maps.LatLng(35.86595, 76.53628),new google.maps.LatLng(35.86596, 76.53628),new google.maps.LatLng(35.86594, 76.5363),new google.maps.LatLng(35.86599, 76.53628),new google.maps.LatLng(35.86596, 76.53621),new google.maps.LatLng(35.86603, 76.53628),new google.maps.LatLng(35.86551, 76.53691),new google.maps.LatLng(35.86534, 76.53726),new google.maps.LatLng(35.86517, 76.53769),new google.maps.LatLng(35.86501, 76.53816),new google.maps.LatLng(35.86497, 76.53859),new google.maps.LatLng(35.86463, 76.53901),new google.maps.LatLng(35.86346, 76.54044),new google.maps.LatLng(35.86303, 76.54087),new google.maps.LatLng(35.86256, 76.54138),new google.maps.LatLng(35.86036, 76.54325),new google.maps.LatLng(35.85972, 76.5431),new google.maps.LatLng(35.85959, 76.54293),new google.maps.LatLng(35.85766, 76.54224),new google.maps.LatLng(35.84636, 76.5271),new google.maps.LatLng(35.84417, 76.52265),new google.maps.LatLng(35.84185, 76.51784),new google.maps.LatLng(35.8376, 76.51205),new google.maps.LatLng(35.83571, 76.51016),new google.maps.LatLng(35.83562, 76.51003),new google.maps.LatLng(35.83562, 76.51003),new google.maps.LatLng(35.83557, 76.51006),new google.maps.LatLng(35.83563, 76.50999),new google.maps.LatLng(35.83563, 76.50999),new google.maps.LatLng(35.83563, 76.50999),new google.maps.LatLng(35.83563, 76.50999),new google.maps.LatLng(35.83559, 76.51006),new google.maps.LatLng(35.8393, 76.51381),new google.maps.LatLng(35.84303, 76.51896),new google.maps.LatLng(35.84513, 76.52462),new google.maps.LatLng(35.84839, 76.52945),new google.maps.LatLng(35.85552, 76.54214),new google.maps.LatLng(35.85805, 76.54197),new google.maps.LatLng(35.85993, 76.54291),new google.maps.LatLng(35.86096, 76.54308),new google.maps.LatLng(35.86259, 76.54145),new google.maps.LatLng(35.87005, 76.53254),new google.maps.LatLng(35.87003, 76.53265),new google.maps.LatLng(35.86998, 76.53276),new google.maps.LatLng(35.87011, 76.53267),new google.maps.LatLng(35.86998, 76.53267),new google.maps.LatLng(35.87009, 76.53254),new google.maps.LatLng(35.87009, 76.53254),new google.maps.LatLng(35.86983, 76.53256),new google.maps.LatLng(35.86954, 76.53259),new google.maps.LatLng(35.86928, 76.53276),new google.maps.LatLng(35.86933, 76.53283),new google.maps.LatLng(35.86869, 76.53364),new google.maps.LatLng(35.8686, 76.53373),new google.maps.LatLng(35.86851, 76.53399),new google.maps.LatLng(35.86802, 76.53458),new google.maps.LatLng(35.86769, 76.53488),new google.maps.LatLng(35.86771, 76.53482),new google.maps.LatLng(35.86596, 76.53632),new google.maps.LatLng(35.86593, 76.53632),new google.maps.LatLng(35.86596, 76.53628),new google.maps.LatLng(35.8648, 76.53881),new google.maps.LatLng(35.85737, 76.5419),new google.maps.LatLng(35.85587, 76.5419),new google.maps.LatLng(35.85405, 76.53979),new google.maps.LatLng(35.85281, 76.53713),new google.maps.LatLng(35.85118, 76.53215),new google.maps.LatLng(35.8465, 76.52455),new google.maps.LatLng(35.84448, 76.52121),new google.maps.LatLng(35.84186, 76.517),new google.maps.LatLng(35.83931, 76.51375),new google.maps.LatLng(35.83554, 76.51012),new google.maps.LatLng(35.83545, 76.50997),new google.maps.LatLng(35.83469, 76.50931),new google.maps.LatLng(35.83186, 76.50691),new google.maps.LatLng(35.83049, 76.50408),new google.maps.LatLng(35.81916, 76.51299),new google.maps.LatLng(35.81478, 76.51402),new google.maps.LatLng(35.81313, 76.51441),new google.maps.LatLng(35.81295, 76.51439),new google.maps.LatLng(35.80521, 76.51658),new google.maps.LatLng(35.80346, 76.51703),new google.maps.LatLng(35.80341, 76.51705),new google.maps.LatLng(35.80344, 76.51705),new google.maps.LatLng(35.80159, 76.51734),new google.maps.LatLng(35.79655, 76.51774),new google.maps.LatLng(35.79203, 76.51795),new google.maps.LatLng(35.78671, 76.51881),new google.maps.LatLng(35.78145, 76.52003),new google.maps.LatLng(35.77646, 76.52151),new google.maps.LatLng(35.77148, 76.5228),new google.maps.LatLng(35.76642, 76.5246),new google.maps.LatLng(35.76099, 76.52527),new google.maps.LatLng(35.75593, 76.52452),new google.maps.LatLng(35.75271, 76.52355),new google.maps.LatLng(35.74943, 76.52321),new google.maps.LatLng(35.74801, 76.52303),new google.maps.LatLng(35.74616, 76.51849),new google.maps.LatLng(35.74419, 76.51855),new google.maps.LatLng(35.7418, 76.51662),new google.maps.LatLng(35.74147, 76.51053),new google.maps.LatLng(35.7422, 76.50924),new google.maps.LatLng(35.74215, 76.50919),new google.maps.LatLng(35.74215, 76.50919),new google.maps.LatLng(35.74215, 76.50919),new google.maps.LatLng(35.7422, 76.50919),new google.maps.LatLng(35.74225, 76.50621),new google.maps.LatLng(35.74237, 76.49995),new google.maps.LatLng(35.74122, 76.4939),new google.maps.LatLng(35.73902, 76.48887),new google.maps.LatLng(35.73845, 76.48684),new google.maps.LatLng(35.73634, 76.48199),new google.maps.LatLng(35.73524, 76.47474),new google.maps.LatLng(35.73479, 76.46838),new google.maps.LatLng(35.73479, 76.46751),new google.maps.LatLng(35.73512, 76.46281),new google.maps.LatLng(35.73672, 76.45598),new google.maps.LatLng(35.73816, 76.44992),new google.maps.LatLng(35.74059, 76.44482),new google.maps.LatLng(35.74139, 76.44259),new google.maps.LatLng(35.74347, 76.43684),new google.maps.LatLng(35.74484, 76.43331),new google.maps.LatLng(35.74604, 76.43022),new google.maps.LatLng(35.74763, 76.41946),new google.maps.LatLng(35.7475, 76.41594),new google.maps.LatLng(35.74665, 76.41019),new google.maps.LatLng(35.74579, 76.40616),new google.maps.LatLng(35.74506, 76.4044),new google.maps.LatLng(35.74431, 76.39951),new google.maps.LatLng(35.74305, 76.39547),new google.maps.LatLng(35.74282, 76.39523),new google.maps.LatLng(35.74265, 76.39525),new google.maps.LatLng(35.74268, 76.39507),new google.maps.LatLng(35.74101, 76.38921),new google.maps.LatLng(35.7404, 76.38437),new google.maps.LatLng(35.73956, 76.37846),new google.maps.LatLng(35.73972, 76.3723),new google.maps.LatLng(35.74002, 76.36581),new google.maps.LatLng(35.74046, 76.35947),new google.maps.LatLng(35.74107, 76.35638),new google.maps.LatLng(35.74102, 76.35635),new google.maps.LatLng(35.74101, 76.35635),new google.maps.LatLng(35.74098, 76.35586),new google.maps.LatLng(35.74117, 76.35048),new google.maps.LatLng(35.74106, 76.34386),new google.maps.LatLng(35.74096, 76.34016),new google.maps.LatLng(35.7411, 76.33481),new google.maps.LatLng(35.7417, 76.32953),new google.maps.LatLng(35.74271, 76.32361),new google.maps.LatLng(35.7425, 76.31944),new google.maps.LatLng(35.74167, 76.31209),new google.maps.LatLng(35.74201, 76.30986),new google.maps.LatLng(35.74018, 76.30597),new google.maps.LatLng(35.73821, 76.30401),new google.maps.LatLng(35.73593, 76.30183),new google.maps.LatLng(35.7352, 76.29666),new google.maps.LatLng(35.73525, 76.2947),new google.maps.LatLng(35.73297, 76.29012),new google.maps.LatLng(35.73143, 76.28722),new google.maps.LatLng(35.72903, 76.28601),new google.maps.LatLng(35.72843, 76.28601),new google.maps.LatLng(35.7271, 76.28421),new google.maps.LatLng(35.72711, 76.2841),new google.maps.LatLng(35.72717, 76.284),new google.maps.LatLng(35.72713, 76.28409),new google.maps.LatLng(35.72812, 76.28255),new google.maps.LatLng(35.72698, 76.27746),new google.maps.LatLng(35.72698, 76.27198),new google.maps.LatLng(35.72612, 76.26889),new google.maps.LatLng(35.72591, 76.266),new google.maps.LatLng(35.72462, 76.26052),new google.maps.LatLng(35.72363, 76.25691),new google.maps.LatLng(35.72326, 76.25201),new google.maps.LatLng(35.72206, 76.24695),new google.maps.LatLng(35.72034, 76.24266),new google.maps.LatLng(35.71927, 76.23752),new google.maps.LatLng(35.71674, 76.23383),new google.maps.LatLng(35.71631, 76.2328),new google.maps.LatLng(35.71622, 76.23271),new google.maps.LatLng(35.71626, 76.23271),new google.maps.LatLng(35.71622, 76.23271),new google.maps.LatLng(35.71622, 76.23271),new google.maps.LatLng(35.71622, 76.23271),new google.maps.LatLng(35.71708, 76.23108),new google.maps.LatLng(35.71773, 76.22842),new google.maps.LatLng(35.71791, 76.22565),new google.maps.LatLng(35.71632, 76.22526),new google.maps.LatLng(35.71559, 76.22252),new google.maps.LatLng(35.71568, 76.21805),new google.maps.LatLng(35.71279, 76.20947),new google.maps.LatLng(35.7091, 76.20415),new google.maps.LatLng(35.70498, 76.19952),new google.maps.LatLng(35.70252, 76.19529),new google.maps.LatLng(35.69991, 76.19259),new google.maps.LatLng(35.69905, 76.18864),new google.maps.LatLng(35.69653, 76.18546),new google.maps.LatLng(35.6955, 76.181),new google.maps.LatLng(35.6946, 76.1786),new google.maps.LatLng(35.69444, 76.17851),new google.maps.LatLng(35.69225, 76.17628),new google.maps.LatLng(35.69152, 76.17456),new google.maps.LatLng(35.69079, 76.17265),new google.maps.LatLng(35.69103, 76.16444),new google.maps.LatLng(35.69315, 76.15579),new google.maps.LatLng(35.68888, 76.14918),new google.maps.LatLng(35.68605, 76.14729),new google.maps.LatLng(35.68601, 76.14729),new google.maps.LatLng(35.68591, 76.14727),new google.maps.LatLng(35.68402, 76.14444),new google.maps.LatLng(35.68187, 76.13885),new google.maps.LatLng(35.68076, 76.13573),new google.maps.LatLng(35.67878, 76.12891),new google.maps.LatLng(35.67701, 76.12562),new google.maps.LatLng(35.67699, 76.12566),new google.maps.LatLng(35.67699, 76.12566),new google.maps.LatLng(35.67698, 76.12562),new google.maps.LatLng(35.67699, 76.12564),new google.maps.LatLng(35.67699, 76.12569),new google.maps.LatLng(35.67699, 76.12569),new google.maps.LatLng(35.67696, 76.12572),new google.maps.LatLng(35.67695, 76.12569),new google.maps.LatLng(35.67696, 76.12572),new google.maps.LatLng(35.67695, 76.12572),new google.maps.LatLng(35.67696, 76.12569),new google.maps.LatLng(35.67696, 76.12569),new google.maps.LatLng(35.67695, 76.12569),new google.maps.LatLng(35.66803, 76.10841),new google.maps.LatLng(35.66618, 76.10463),new google.maps.LatLng(35.66232, 76.10128),new google.maps.LatLng(35.65894, 76.09661),new google.maps.LatLng(35.65894, 76.09),new google.maps.LatLng(35.66173, 76.08399),new google.maps.LatLng(35.66185, 76.07993),new google.maps.LatLng(35.66039, 76.07246),new google.maps.LatLng(35.65802, 76.06573),new google.maps.LatLng(35.6542, 76.06058),new google.maps.LatLng(35.65381, 76.05492),new google.maps.LatLng(35.65385, 76.05492),new google.maps.LatLng(35.65397, 76.05486),new google.maps.LatLng(35.65324, 76.04864),new google.maps.LatLng(35.65127, 76.04015),new google.maps.LatLng(35.64981, 76.03328),new google.maps.LatLng(35.66086, 75.98596),new google.maps.LatLng(35.66442, 75.98048),new google.maps.LatLng(35.66923, 75.9761),new google.maps.LatLng(35.67335, 75.97091),new google.maps.LatLng(35.67713, 75.96782),new google.maps.LatLng(35.68153, 75.96615),new google.maps.LatLng(35.69573, 75.97427),new google.maps.LatLng(35.69623, 75.97387),new google.maps.LatLng(35.69623, 75.97387),new google.maps.LatLng(35.69623, 75.97387),new google.maps.LatLng(35.69621, 75.97387),new google.maps.LatLng(35.69638, 75.97387),new google.maps.LatLng(35.70063, 75.97292),new google.maps.LatLng(35.7029, 75.97206),new google.maps.LatLng(35.69726, 75.97085),new google.maps.LatLng(35.69149, 75.96996),new google.maps.LatLng(35.68557, 75.96447),new google.maps.LatLng(35.684, 75.96061),new google.maps.LatLng(35.68822, 75.93035),new google.maps.LatLng(35.68857, 75.92258),new google.maps.LatLng(35.68964, 75.91605),new google.maps.LatLng(35.68958, 75.91431),new google.maps.LatLng(35.68845, 75.91316),new google.maps.LatLng(35.68377, 75.90781),new google.maps.LatLng(35.67961, 75.90591),new google.maps.LatLng(35.67476, 75.90429),new google.maps.LatLng(35.67622, 75.89673),new google.maps.LatLng(35.67837, 75.88822),new google.maps.LatLng(35.6773, 75.88025),new google.maps.LatLng(35.67323, 75.87042),new google.maps.LatLng(35.67241, 75.86587),new google.maps.LatLng(35.67083, 75.85818),new google.maps.LatLng(35.67032, 75.84995),new google.maps.LatLng(35.66982, 75.84911),new google.maps.LatLng(35.67561, 75.8447),new google.maps.LatLng(35.68311, 75.81704),new google.maps.LatLng(35.68311, 75.81704),new google.maps.LatLng(35.68311, 75.81704),new google.maps.LatLng(35.68309, 75.81712),new google.maps.LatLng(35.68309, 75.81712),new google.maps.LatLng(35.68308, 75.81717),new google.maps.LatLng(35.68311, 75.8171),new google.maps.LatLng(35.68311, 75.8171),new google.maps.LatLng(35.6831, 75.81717),new google.maps.LatLng(35.6831, 75.81717),new google.maps.LatLng(35.6831, 75.81717),new google.maps.LatLng(35.68316, 75.81712),new google.maps.LatLng(35.68316, 75.81712),new google.maps.LatLng(35.68312, 75.81712),new google.maps.LatLng(35.68311, 75.81708),new google.maps.LatLng(35.68315, 75.81708),new google.maps.LatLng(35.68315, 75.81708),new google.maps.LatLng(35.68319, 75.81717),new google.maps.LatLng(35.29505, 75.65141),new google.maps.LatLng(35.29504, 75.65138),new google.maps.LatLng(35.29504, 75.65136),new google.maps.LatLng(35.29505, 75.65138),new google.maps.LatLng(35.29506, 75.65136),new google.maps.LatLng(35.29505, 75.65136),new google.maps.LatLng(35.29505, 75.65136),new google.maps.LatLng(35.29507, 75.65138),new google.maps.LatLng(35.29507, 75.65138),new google.maps.LatLng(33.71078, 73.05945),new google.maps.LatLng(33.71073, 73.05945),new google.maps.LatLng(33.71077, 73.05947),new google.maps.LatLng(33.71073, 73.05945),new google.maps.LatLng(33.71071, 73.05947),new google.maps.LatLng(33.71075, 73.0594),new google.maps.LatLng(33.71078, 73.05938),new google.maps.LatLng(33.71077, 73.05943),new google.maps.LatLng(41.372671, 2.172093) ];
trackPath = new google.maps.Polyline({
path: flightPlanCoordinates,
strokeColor: '#FF0000',
strokeOpacity: 1.0,
strokeWeight: 2
});
trackPath.setMap(map);
commentString[1] = ''+
'
Cim del K2!!! |
|
|
'+
'
';
infoComment[1] = new google.maps.InfoWindow({
content: commentString[1]
});
commentPosition[1] = new google.maps.LatLng(35.881437,76.513395);
commentMarker[1] = new google.maps.Marker({
map:map,
position: commentPosition[1],
icon:commenticon
});
google.maps.event.addListener(commentMarker[1], 'click', function() {
infoComment[1].open(map,commentMarker[1]);
});
commentString[2] = ''+
'
A cinc metres del cim |
|
quina emoció!! |
'+
'
';
infoComment[2] = new google.maps.InfoWindow({
content: commentString[2]
});
commentPosition[2] = new google.maps.LatLng(35.88181,76.513768);
commentMarker[2] = new google.maps.Marker({
map:map,
position: commentPosition[2],
icon:commenticon
});
google.maps.event.addListener(commentMarker[2], 'click', function() {
infoComment[2].open(map,commentMarker[2]);
});
commentString[3] = ''+
'
A cent metres del cim |
|
|
'+
'
';
infoComment[3] = new google.maps.InfoWindow({
content: commentString[3]
});
commentPosition[3] = new google.maps.LatLng(35.880985,76.515511);
commentMarker[3] = new google.maps.Marker({
map:map,
position: commentPosition[3],
icon:commenticon
});
google.maps.event.addListener(commentMarker[3], 'click', function() {
infoComment[3].open(map,commentMarker[3]);
});
commentString[4] = ''+
'
Arribant a l\'aresta final |
|
|
'+
'
';
infoComment[4] = new google.maps.InfoWindow({
content: commentString[4]
});
commentPosition[4] = new google.maps.LatLng(35.881387,76.514728);
commentMarker[4] = new google.maps.Marker({
map:map,
position: commentPosition[4],
icon:commenticon
});
google.maps.event.addListener(commentMarker[4], 'click', function() {
infoComment[4].open(map,commentMarker[4]);
});
commentString[5] = ''+
'
Des del Coll d\'ampolla |
|
la famosa espatlla del K2 on hi ha el C4 |
'+
'
';
infoComment[5] = new google.maps.InfoWindow({
content: commentString[5]
});
commentPosition[5] = new google.maps.LatLng(35.881363,76.517493);
commentMarker[5] = new google.maps.Marker({
map:map,
position: commentPosition[5],
icon:commenticon
});
google.maps.event.addListener(commentMarker[5], 'click', function() {
infoComment[5].open(map,commentMarker[5]);
});
commentString[6] = ''+
'
Sortida de sol des del Coll d\'ampolla |
|
|
'+
'
';
infoComment[6] = new google.maps.InfoWindow({
content: commentString[6]
});
commentPosition[6] = new google.maps.LatLng(35.880819,76.516109);
commentMarker[6] = new google.maps.Marker({
map:map,
position: commentPosition[6],
icon:commenticon
});
google.maps.event.addListener(commentMarker[6], 'click', function() {
infoComment[6].open(map,commentMarker[6]);
});
commentString[7] = ''+
'
Vistas desde el Campo 1 (6100 m) |
|
Buenas noches! |
'+
'
';
infoComment[7] = new google.maps.InfoWindow({
content: commentString[7]
});
commentPosition[7] = new google.maps.LatLng(35.865718,76.536396);
commentMarker[7] = new google.maps.Marker({
map:map,
position: commentPosition[7],
icon:commenticon
});
google.maps.event.addListener(commentMarker[7], 'click', function() {
infoComment[7].open(map,commentMarker[7]);
});
commentString[8] = ''+
'
Al CB del K2. La meva casa per dies |
|
|
'+
'
';
infoComment[8] = new google.maps.InfoWindow({
content: commentString[8]
});
commentPosition[8] = new google.maps.LatLng(35.835188,76.509977);
commentMarker[8] = new google.maps.Marker({
map:map,
position: commentPosition[8],
icon:commenticon
});
google.maps.event.addListener(commentMarker[8], 'click', function() {
infoComment[8].open(map,commentMarker[8]);
});
campString[1] = '';
infoCamp[1] = new google.maps.InfoWindow({
content: campString[1]
});
campPosition[1] = new google.maps.LatLng(35.83566,76.51012);
campMarker[1] = new google.maps.Marker({
map:map,
position: campPosition[1],
icon:campicon
});
google.maps.event.addListener(campMarker[1], 'click', function() {
infoCamp[1].open(map,campMarker[1]);
});
campString[2] = '';
infoCamp[2] = new google.maps.InfoWindow({
content: campString[2]
});
campPosition[2] = new google.maps.LatLng(35.87823,76.52503);
campMarker[2] = new google.maps.Marker({
map:map,
position: campPosition[2],
icon:campicon
});
google.maps.event.addListener(campMarker[2], 'click', function() {
infoCamp[2].open(map,campMarker[2]);
});
campString[3] = '';
infoCamp[3] = new google.maps.InfoWindow({
content: campString[3]
});
campPosition[3] = new google.maps.LatLng(35.87543,76.53048);
campMarker[3] = new google.maps.Marker({
map:map,
position: campPosition[3],
icon:campicon
});
google.maps.event.addListener(campMarker[3], 'click', function() {
infoCamp[3].open(map,campMarker[3]);
});
campString[4] = '';
infoCamp[4] = new google.maps.InfoWindow({
content: campString[4]
});
campPosition[4] = new google.maps.LatLng(35.87019,76.53269);
campMarker[4] = new google.maps.Marker({
map:map,
position: campPosition[4],
icon:campicon
});
google.maps.event.addListener(campMarker[4], 'click', function() {
infoCamp[4].open(map,campMarker[4]);
});
campString[5] = '';
infoCamp[5] = new google.maps.InfoWindow({
content: campString[5]
});
campPosition[5] = new google.maps.LatLng(35.8356,76.50999);
campMarker[5] = new google.maps.Marker({
map:map,
position: campPosition[5],
icon:campicon
});
google.maps.event.addListener(campMarker[5], 'click', function() {
infoCamp[5].open(map,campMarker[5]);
});
campString[6] = '';
infoCamp[6] = new google.maps.InfoWindow({
content: campString[6]
});
campPosition[6] = new google.maps.LatLng(35.8356,76.50999);
campMarker[6] = new google.maps.Marker({
map:map,
position: campPosition[6],
icon:campicon
});
google.maps.event.addListener(campMarker[6], 'click', function() {
infoCamp[6].open(map,campMarker[6]);
});
campString[7] = '';
infoCamp[7] = new google.maps.InfoWindow({
content: campString[7]
});
campPosition[7] = new google.maps.LatLng(35.83559,76.51006);
campMarker[7] = new google.maps.Marker({
map:map,
position: campPosition[7],
icon:campicon
});
google.maps.event.addListener(campMarker[7], 'click', function() {
infoCamp[7].open(map,campMarker[7]);
});
campString[8] = '';
infoCamp[8] = new google.maps.InfoWindow({
content: campString[8]
});
campPosition[8] = new google.maps.LatLng(35.86596,76.53632);
campMarker[8] = new google.maps.Marker({
map:map,
position: campPosition[8],
icon:campicon
});
google.maps.event.addListener(campMarker[8], 'click', function() {
infoCamp[8].open(map,campMarker[8]);
});
campString[9] = '';
infoCamp[9] = new google.maps.InfoWindow({
content: campString[9]
});
campPosition[9] = new google.maps.LatLng(35.83545,76.50997);
campMarker[9] = new google.maps.Marker({
map:map,
position: campPosition[9],
icon:campicon
});
google.maps.event.addListener(campMarker[9], 'click', function() {
infoCamp[9].open(map,campMarker[9]);
});
campString[10] = '';
infoCamp[10] = new google.maps.InfoWindow({
content: campString[10]
});
campPosition[10] = new google.maps.LatLng(35.80344,76.51705);
campMarker[10] = new google.maps.Marker({
map:map,
position: campPosition[10],
icon:campicon
});
google.maps.event.addListener(campMarker[10], 'click', function() {
infoCamp[10].open(map,campMarker[10]);
});
campString[11] = '';
infoCamp[11] = new google.maps.InfoWindow({
content: campString[11]
});
campPosition[11] = new google.maps.LatLng(35.74265,76.39525);
campMarker[11] = new google.maps.Marker({
map:map,
position: campPosition[11],
icon:campicon
});
google.maps.event.addListener(campMarker[11], 'click', function() {
infoCamp[11].open(map,campMarker[11]);
});
campString[12] = '';
infoCamp[12] = new google.maps.InfoWindow({
content: campString[12]
});
campPosition[12] = new google.maps.LatLng(35.72711,76.2841);
campMarker[12] = new google.maps.Marker({
map:map,
position: campPosition[12],
icon:campicon
});
google.maps.event.addListener(campMarker[12], 'click', function() {
infoCamp[12].open(map,campMarker[12]);
});
campString[13] = '';
infoCamp[13] = new google.maps.InfoWindow({
content: campString[13]
});
campPosition[13] = new google.maps.LatLng(35.67695,76.12569);
campMarker[13] = new google.maps.Marker({
map:map,
position: campPosition[13],
icon:campicon
});
google.maps.event.addListener(campMarker[13], 'click', function() {
infoCamp[13].open(map,campMarker[13]);
});
campString[14] = '';
infoCamp[14] = new google.maps.InfoWindow({
content: campString[14]
});
campPosition[14] = new google.maps.LatLng(35.69621,75.97387);
campMarker[14] = new google.maps.Marker({
map:map,
position: campPosition[14],
icon:campicon
});
google.maps.event.addListener(campMarker[14], 'click', function() {
infoCamp[14].open(map,campMarker[14]);
});
google.maps.event.addListener(map, 'center_changed', centerChanged);
centerChanged();
}
google.maps.event.addDomListener(window, 'load', initialize);
function getCenterLatLngText() {
return 'Latitud: ' + round(map.getCenter().lat(),6) +' Longitud: '+ round(map.getCenter().lng(),6) +'';
}
function centerChanged() {
var latlng = getCenterLatLngText();
document.getElementById('contentbottom').innerHTML = latlng;
}