//google.load('earth', '1');
var map;
// var googleEarth;
var javierposition = new google.maps.LatLng(35.69334,75.97114);
var javierMarker;
var javiericon = 'img/Jordi Cardona.png';
var javierString = '
'+
'ÚLTIMA POSICIÓN DE JORDI:
'+
'LATITUD: 35.69334
'+
'LONGITUD: 75.97114
'+
'A LAS: 07:43:19
'+
'DEL: 01/08/2014
'+
'
';
var javier2position = new google.maps.LatLng(40.49292,-3.70633);
var javier2Marker;
var javier2icon = 'img/Joan Marc Flores.png';
var javier2String = ''+
'ÚLTIMA POSICIÓN DE JOAN:
'+
'LATITUD: 40.49292
'+
'LONGITUD: -3.70633
'+
'A LAS: 16:21:28
'+
'DEL: 02/10/2014
'+
'
';
var javier3position = new google.maps.LatLng(35.2951,75.65132);
var javier3Marker;
var javier3icon = 'img/Xavier Garcia.png';
var javier3String = ''+
'ÚLTIMA POSICIÓN DE XAVIER:
'+
'LATITUD: 35.2951
'+
'LONGITUD: 75.65132
'+
'A LAS: 11:51:01
'+
'DEL: 02/08/2014
'+
'
';
var trackPath;
var lailaposition = new google.maps.LatLng(35.81380128890783,76.56571495770793);
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(40.49292,-3.70633),
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);
});
javier2Marker = new google.maps.Marker({
map:map,
position: javier2position,
icon:javier2icon
});
var infowindowAlex2 = new google.maps.InfoWindow({
content: javier2String
});
google.maps.event.addListener(javier2Marker, 'click', function() {
infowindowAlex2.open(map,javier2Marker);
});
javier3Marker = new google.maps.Marker({
map:map,
position: javier3position,
icon:javier3icon
});
var infowindowAlex3 = new google.maps.InfoWindow({
content: javier3String
});
google.maps.event.addListener(javier3Marker, 'click', function() {
infowindowAlex3.open(map,javier3Marker);
});
var contentString = ''+
'
Broad Peak |
---|
|
País | China Pakistán |
---|
Coordenadas | 35°48′39″N 76°34′06″E |
---|
Altitud | 8.051 msnm |
---|
Prominencia | 1.701 m |
---|
Cordillera | Karakórum |
---|
Primera ascensión | 9 junio de 1957 Expedición austríaca |
---|
'+
'
';
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://broadpeak2014.racetracker.es/kml/Ruta_broadPeak.kml',{
preserveViewport:true});
routeLayer.setMap(map);
var flightPlanCoordinates = [
new google.maps.LatLng(35.69334, 75.97114),new google.maps.LatLng(35.69553, 75.97387),new google.maps.LatLng(35.68954, 75.97177),new google.maps.LatLng(35.6843, 75.96756),new google.maps.LatLng(35.67859, 75.96713),new google.maps.LatLng(35.67197, 75.97127),new google.maps.LatLng(35.66922, 75.97626),new google.maps.LatLng(35.66437, 75.98048),new google.maps.LatLng(35.66059, 75.98657),new google.maps.LatLng(35.65849, 75.99163),new google.maps.LatLng(35.65757, 75.99451),new google.maps.LatLng(35.65525, 76.00069),new google.maps.LatLng(35.65523, 76.00072),new google.maps.LatLng(35.65353, 76.00557),new google.maps.LatLng(35.64962, 76.03292),new google.maps.LatLng(35.65066, 76.0386),new google.maps.LatLng(35.65285, 76.04745),new google.maps.LatLng(35.65397, 76.055),new google.maps.LatLng(35.65401, 76.05491),new google.maps.LatLng(35.65407, 76.0597),new google.maps.LatLng(35.65613, 76.06373),new google.maps.LatLng(35.65937, 76.06957),new google.maps.LatLng(35.66156, 76.07901),new google.maps.LatLng(35.66182, 76.08329),new google.maps.LatLng(35.65866, 76.0939),new google.maps.LatLng(35.65887, 76.09647),new google.maps.LatLng(35.66157, 76.10016),new google.maps.LatLng(35.66882, 76.11056),new google.maps.LatLng(35.6715, 76.11494),new google.maps.LatLng(35.67725, 76.12585),new google.maps.LatLng(35.67902, 76.12989),new google.maps.LatLng(35.68372, 76.14294),new google.maps.LatLng(35.68466, 76.1456),new google.maps.LatLng(35.6847, 76.14564),new google.maps.LatLng(35.68806, 76.14873),new google.maps.LatLng(35.69184, 76.15268),new google.maps.LatLng(35.69313, 76.15731),new google.maps.LatLng(35.6926, 76.1604),new google.maps.LatLng(35.69128, 76.16283),new google.maps.LatLng(35.69098, 76.16704),new google.maps.LatLng(35.69059, 76.17133),new google.maps.LatLng(35.69163, 76.17482),new google.maps.LatLng(35.69476, 76.17894),new google.maps.LatLng(35.69553, 76.18138),new google.maps.LatLng(35.69603, 76.18557),new google.maps.LatLng(35.69933, 76.18908),new google.maps.LatLng(35.69993, 76.19166),new google.maps.LatLng(35.69981, 76.19225),new google.maps.LatLng(35.69994, 76.19354),new google.maps.LatLng(35.70329, 76.19637),new google.maps.LatLng(35.70501, 76.1995),new google.maps.LatLng(35.70922, 76.20405),new google.maps.LatLng(35.71244, 76.20877),new google.maps.LatLng(35.71518, 76.22029),new google.maps.LatLng(35.71411, 76.22525),new google.maps.LatLng(35.71103, 76.22402),new google.maps.LatLng(35.71081, 76.22568),new google.maps.LatLng(35.71613, 76.23282),new google.maps.LatLng(35.71812, 76.23717),new google.maps.LatLng(35.71883, 76.23799),new google.maps.LatLng(35.72037, 76.24288),new google.maps.LatLng(35.72203, 76.24706),new google.maps.LatLng(35.72293, 76.25243),new google.maps.LatLng(35.7236, 76.25548),new google.maps.LatLng(35.72466, 76.25758),new google.maps.LatLng(35.72496, 76.26187),new google.maps.LatLng(35.72597, 76.26662),new google.maps.LatLng(35.72588, 76.27014),new google.maps.LatLng(35.72734, 76.27435),new google.maps.LatLng(35.72702, 76.27876),new google.maps.LatLng(35.72734, 76.28428),new google.maps.LatLng(35.72715, 76.2841),new google.maps.LatLng(35.72723, 76.28415),new google.maps.LatLng(35.7385, 76.30425),new google.maps.LatLng(35.74111, 76.30685),new google.maps.LatLng(35.74184, 76.31101),new google.maps.LatLng(35.74191, 76.31773),new google.maps.LatLng(35.74277, 76.32281),new google.maps.LatLng(35.74153, 76.32975),new google.maps.LatLng(35.74102, 76.33427),new google.maps.LatLng(35.74085, 76.34058),new google.maps.LatLng(35.74094, 76.34702),new google.maps.LatLng(35.74095, 76.35464),new google.maps.LatLng(35.74073, 76.35872),new google.maps.LatLng(35.73997, 76.3647),new google.maps.LatLng(35.73975, 76.37202),new google.maps.LatLng(35.73945, 76.37743),new google.maps.LatLng(35.74023, 76.38334),new google.maps.LatLng(35.74117, 76.39055),new google.maps.LatLng(35.74288, 76.39455),new google.maps.LatLng(35.74295, 76.39462),new google.maps.LatLng(35.74337, 76.39635),new google.maps.LatLng(35.74436, 76.4015),new google.maps.LatLng(35.74603, 76.40716),new google.maps.LatLng(35.74746, 76.42341),new google.maps.LatLng(35.74683, 76.42667),new google.maps.LatLng(35.74537, 76.43182),new google.maps.LatLng(35.74327, 76.43774),new google.maps.LatLng(35.74143, 76.4425),new google.maps.LatLng(35.73919, 76.44777),new google.maps.LatLng(35.73781, 76.45232),new google.maps.LatLng(35.73606, 76.45824),new google.maps.LatLng(35.73477, 76.46426),new google.maps.LatLng(35.73477, 76.46426),new google.maps.LatLng(35.73484, 76.46963),new google.maps.LatLng(35.73528, 76.47636),new google.maps.LatLng(35.73667, 76.48265),new google.maps.LatLng(35.73873, 76.48851),new google.maps.LatLng(35.74111, 76.49379),new google.maps.LatLng(35.74248, 76.49867),new google.maps.LatLng(35.74228, 76.5061),new google.maps.LatLng(35.74196, 76.50868),new google.maps.LatLng(35.74207, 76.50873),new google.maps.LatLng(35.74202, 76.5087),new google.maps.LatLng(35.74203, 76.50874),new google.maps.LatLng(35.74202, 76.50866),new google.maps.LatLng(35.74203, 76.50865),new google.maps.LatLng(35.74335, 76.50905),new google.maps.LatLng(35.74532, 76.51137),new google.maps.LatLng(35.747, 76.51148),new google.maps.LatLng(35.74798, 76.51343),new google.maps.LatLng(35.74801, 76.51743),new google.maps.LatLng(35.74791, 76.52197),new google.maps.LatLng(35.74871, 76.51984),new google.maps.LatLng(35.75131, 76.52231),new google.maps.LatLng(35.75319, 76.52471),new google.maps.LatLng(35.75905, 76.52512),new google.maps.LatLng(35.76507, 76.52503),new google.maps.LatLng(35.77025, 76.52368),new google.maps.LatLng(35.77411, 76.52204),new google.maps.LatLng(35.77958, 76.52065),new google.maps.LatLng(35.78509, 76.51913),new google.maps.LatLng(35.79016, 76.51806),new google.maps.LatLng(35.79555, 76.51791),new google.maps.LatLng(35.80048, 76.51743),new google.maps.LatLng(35.80301, 76.51716),new google.maps.LatLng(35.80321, 76.51705),new google.maps.LatLng(35.80334, 76.51707),new google.maps.LatLng(35.80312, 76.51703),new google.maps.LatLng(35.80317, 76.51705),new google.maps.LatLng(35.80682, 76.5163),new google.maps.LatLng(35.81147, 76.51476),new google.maps.LatLng(35.81683, 76.51353),new google.maps.LatLng(35.82169, 76.51199),new google.maps.LatLng(35.82507, 76.51119),new google.maps.LatLng(35.82906, 76.5087),new google.maps.LatLng(35.83297, 76.50836),new google.maps.LatLng(35.83551, 76.51003),new google.maps.LatLng(35.83548, 76.51003),new google.maps.LatLng(35.83548, 76.51003),new google.maps.LatLng(35.83548, 76.51003),new google.maps.LatLng(35.83546, 76.51003),new google.maps.LatLng(35.83546, 76.50999),new google.maps.LatLng(35.83559, 76.50999),new google.maps.LatLng(35.83556, 76.51003),new google.maps.LatLng(35.8341, 76.50874),new google.maps.LatLng(35.83144, 76.50668),new google.maps.LatLng(35.83123, 76.50404),new google.maps.LatLng(35.83127, 76.50369),new google.maps.LatLng(35.83123, 76.50369),new google.maps.LatLng(35.83092, 76.50501),new google.maps.LatLng(35.83036, 76.50758),new google.maps.LatLng(35.82954, 76.50834),new google.maps.LatLng(35.82652, 76.51038),new google.maps.LatLng(35.82409, 76.51151),new google.maps.LatLng(35.82281, 76.51151),new google.maps.LatLng(35.82046, 76.51257),new google.maps.LatLng(35.81625, 76.51376),new google.maps.LatLng(35.81329, 76.51445),new google.maps.LatLng(35.80864, 76.51579),new google.maps.LatLng(35.80615, 76.51671),new google.maps.LatLng(35.80383, 76.51682),new google.maps.LatLng(35.80325, 76.51707),new google.maps.LatLng(35.80342, 76.51703),new google.maps.LatLng(35.8056, 76.51879),new google.maps.LatLng(35.8064, 76.51978),new google.maps.LatLng(35.80839, 76.52097),new google.maps.LatLng(35.80974, 76.52284),new google.maps.LatLng(35.81164, 76.52379),new google.maps.LatLng(35.81229, 76.52666),new google.maps.LatLng(35.81226, 76.52673),new google.maps.LatLng(35.81303, 76.52905),new google.maps.LatLng(35.81287, 76.5307),new google.maps.LatLng(35.81269, 76.53095),new google.maps.LatLng(35.81265, 76.5313),new google.maps.LatLng(35.81216, 76.53167),new google.maps.LatLng(35.81194, 76.53184),new google.maps.LatLng(35.81133, 76.53185),new google.maps.LatLng(35.80878, 76.53494),new google.maps.LatLng(35.80875, 76.53497),new google.maps.LatLng(35.80873, 76.53498),new google.maps.LatLng(35.8088, 76.53494),new google.maps.LatLng(35.80876, 76.53497),new google.maps.LatLng(35.80876, 76.53494),new google.maps.LatLng(35.80891, 76.53475),new google.maps.LatLng(35.80891, 76.53452),new google.maps.LatLng(35.80891, 76.53428),new google.maps.LatLng(35.80897, 76.53409),new google.maps.LatLng(35.80907, 76.53394),new google.maps.LatLng(35.80917, 76.53381),new google.maps.LatLng(35.80926, 76.53364),new google.maps.LatLng(35.80943, 76.53349),new google.maps.LatLng(35.80973, 76.53316),new google.maps.LatLng(35.80994, 76.53299),new google.maps.LatLng(35.81018, 76.53274),new google.maps.LatLng(35.81039, 76.53252),new google.maps.LatLng(35.81069, 76.53224),new google.maps.LatLng(35.81096, 76.5318),new google.maps.LatLng(35.81094, 76.53185),new google.maps.LatLng(35.81124, 76.53185),new google.maps.LatLng(35.81155, 76.53189),new google.maps.LatLng(35.81191, 76.53197),new google.maps.LatLng(35.81208, 76.53197),new google.maps.LatLng(35.81231, 76.5318),new google.maps.LatLng(35.8124, 76.53164),new google.maps.LatLng(35.81253, 76.53147),new google.maps.LatLng(35.81265, 76.531),new google.maps.LatLng(35.81287, 76.53073),new google.maps.LatLng(35.81292, 76.53059),new google.maps.LatLng(35.81292, 76.53016),new google.maps.LatLng(35.81287, 76.52967),new google.maps.LatLng(35.81285, 76.52922),new google.maps.LatLng(35.81272, 76.52862),new google.maps.LatLng(35.81231, 76.52715),new google.maps.LatLng(35.81229, 76.52679),new google.maps.LatLng(35.81229, 76.52679),new google.maps.LatLng(35.81216, 76.52619),new google.maps.LatLng(35.81207, 76.52531),new google.maps.LatLng(35.81181, 76.52316),new google.maps.LatLng(35.80928, 76.52222),new google.maps.LatLng(35.80827, 76.52033),new google.maps.LatLng(35.80571, 76.51991),new google.maps.LatLng(35.80447, 76.51904),new google.maps.LatLng(35.80357, 76.51808),new google.maps.LatLng(35.8035, 76.51714),new google.maps.LatLng(35.80332, 76.51703),new google.maps.LatLng(35.80336, 76.51769),new google.maps.LatLng(35.80492, 76.51817),new google.maps.LatLng(35.80565, 76.51808),new google.maps.LatLng(35.8053, 76.51859),new google.maps.LatLng(35.80532, 76.51958),new google.maps.LatLng(35.8083, 76.5202),new google.maps.LatLng(35.80902, 76.52204),new google.maps.LatLng(35.81059, 76.52364),new google.maps.LatLng(35.81226, 76.52675),new google.maps.LatLng(35.81226, 76.52673),new google.maps.LatLng(35.81252, 76.52785),new google.maps.LatLng(35.81321, 76.52879),new google.maps.LatLng(35.81268, 76.53102),new google.maps.LatLng(35.81239, 76.53167),new google.maps.LatLng(35.81201, 76.53194),new google.maps.LatLng(35.81103, 76.5318),new google.maps.LatLng(35.81103, 76.5318),new google.maps.LatLng(35.81064, 76.53224),new google.maps.LatLng(35.80976, 76.53316),new google.maps.LatLng(35.80909, 76.53386),new google.maps.LatLng(35.80893, 76.53449),new google.maps.LatLng(35.80878, 76.53489),new google.maps.LatLng(35.80876, 76.53494),new google.maps.LatLng(35.80857, 76.53452),new google.maps.LatLng(35.8088, 76.53628),new google.maps.LatLng(35.809, 76.53681),new google.maps.LatLng(35.80891, 76.53672),new google.maps.LatLng(35.80882, 76.53637),new google.maps.LatLng(35.8088, 76.53613),new google.maps.LatLng(35.8088, 76.53579),new google.maps.LatLng(35.80894, 76.53534),new google.maps.LatLng(35.80886, 76.53507),new google.maps.LatLng(35.80897, 76.53525),new google.maps.LatLng(35.80895, 76.53482),new google.maps.LatLng(35.80895, 76.5344),new google.maps.LatLng(35.80921, 76.53431),new google.maps.LatLng(35.80917, 76.53379),new google.maps.LatLng(35.80938, 76.53351),new google.maps.LatLng(35.8097, 76.53319),new google.maps.LatLng(35.81008, 76.53283),new google.maps.LatLng(35.81048, 76.53242),new google.maps.LatLng(35.81099, 76.53179),new google.maps.LatLng(35.81095, 76.53191),new google.maps.LatLng(35.81098, 76.53189),new google.maps.LatLng(35.81097, 76.53185),new google.maps.LatLng(35.81097, 76.53188),new google.maps.LatLng(35.81102, 76.53188),new google.maps.LatLng(35.81081, 76.53205),new google.maps.LatLng(35.80841, 76.53428),new google.maps.LatLng(35.811, 76.53185),new google.maps.LatLng(35.811, 76.53188),new google.maps.LatLng(35.81118, 76.53211),new google.maps.LatLng(35.81139, 76.53211),new google.maps.LatLng(35.8118, 76.53207),new google.maps.LatLng(35.81215, 76.53201),new google.maps.LatLng(35.81233, 76.53184),new google.maps.LatLng(35.81242, 76.53167),new google.maps.LatLng(35.81253, 76.5314),new google.maps.LatLng(35.81266, 76.53106),new google.maps.LatLng(35.81257, 76.53106),new google.maps.LatLng(35.8125, 76.53104),new google.maps.LatLng(35.8128, 76.53081),new google.maps.LatLng(35.8128, 76.53046),new google.maps.LatLng(35.8128, 76.52987),new google.maps.LatLng(35.81206, 76.52664),new google.maps.LatLng(35.81201, 76.52589),new google.maps.LatLng(35.81172, 76.52392),new google.maps.LatLng(35.80949, 76.52272),new google.maps.LatLng(35.80837, 76.52066),new google.maps.LatLng(35.80596, 76.5198),new google.maps.LatLng(35.8048, 76.51911),new google.maps.LatLng(35.80344, 76.51787),new google.maps.LatLng(35.80322, 76.51703),new google.maps.LatLng(35.80357, 76.51676),new google.maps.LatLng(35.80459, 76.51885),new google.maps.LatLng(35.80672, 76.51969),new google.maps.LatLng(35.80882, 76.52177),new google.maps.LatLng(35.81114, 76.5228),new google.maps.LatLng(35.81221, 76.5267),new google.maps.LatLng(35.81224, 76.52632),new google.maps.LatLng(35.81211, 76.52503),new google.maps.LatLng(35.81134, 76.52297),new google.maps.LatLng(35.80882, 76.52146),new google.maps.LatLng(35.80737, 76.51973),new google.maps.LatLng(35.8054, 76.51956),new google.maps.LatLng(35.80434, 76.51891),new google.maps.LatLng(35.80322, 76.51707),new google.maps.LatLng(35.80323, 76.51707),new google.maps.LatLng(35.80323, 76.51707),new google.maps.LatLng(35.8034, 76.51705),new google.maps.LatLng(35.80341, 76.51705),new google.maps.LatLng(35.79938, 76.51739),new google.maps.LatLng(35.79558, 76.51782),new google.maps.LatLng(35.79271, 76.51808),new google.maps.LatLng(35.78831, 76.51877),new google.maps.LatLng(35.78419, 76.51954),new google.maps.LatLng(35.78084, 76.52023),new google.maps.LatLng(35.76977, 76.52351),new google.maps.LatLng(35.76579, 76.52495),new google.maps.LatLng(35.76257, 76.52521),new google.maps.LatLng(35.75848, 76.52504),new google.maps.LatLng(35.75294, 76.5236),new google.maps.LatLng(35.75065, 76.52298),new google.maps.LatLng(35.74878, 76.5231),new google.maps.LatLng(35.74695, 76.51985),new google.maps.LatLng(35.74475, 76.51755),new google.maps.LatLng(35.74249, 76.51808),new google.maps.LatLng(35.74152, 76.51231),new google.maps.LatLng(35.74231, 76.50926),new google.maps.LatLng(35.74223, 76.50924),new google.maps.LatLng(35.74226, 76.50926),new google.maps.LatLng(35.74205, 76.50885),new google.maps.LatLng(35.74232, 76.50336),new google.maps.LatLng(35.74237, 76.49879),new google.maps.LatLng(35.74047, 76.49281),new google.maps.LatLng(35.73856, 76.48782),new google.maps.LatLng(35.73835, 76.4866),new google.maps.LatLng(35.73758, 76.48536),new google.maps.LatLng(35.73632, 76.4813),new google.maps.LatLng(35.73542, 76.47832),new google.maps.LatLng(35.73491, 76.47266),new google.maps.LatLng(35.73483, 76.46789),new google.maps.LatLng(35.73506, 76.46287),new google.maps.LatLng(35.73632, 76.45742),new google.maps.LatLng(35.73782, 76.45177),new google.maps.LatLng(35.738, 76.45016),new google.maps.LatLng(35.73987, 76.4466),new google.maps.LatLng(35.74171, 76.4418),new google.maps.LatLng(35.74336, 76.43742),new google.maps.LatLng(35.74489, 76.43294),new google.maps.LatLng(35.74516, 76.43237),new google.maps.LatLng(35.74675, 76.42785),new google.maps.LatLng(35.74737, 76.42255),new google.maps.LatLng(35.74778, 76.41807),new google.maps.LatLng(35.74716, 76.4133),new google.maps.LatLng(35.74659, 76.40985),new google.maps.LatLng(35.74542, 76.4051),new google.maps.LatLng(35.74468, 76.4023),new google.maps.LatLng(35.74361, 76.39753),new google.maps.LatLng(35.74279, 76.39525),new google.maps.LatLng(35.74281, 76.39521),new google.maps.LatLng(35.74292, 76.39532),new google.maps.LatLng(35.74135, 76.39143),new google.maps.LatLng(35.74075, 76.38621),new google.maps.LatLng(35.74002, 76.38073),new google.maps.LatLng(35.73953, 76.37817),new google.maps.LatLng(35.73957, 76.37291),new google.maps.LatLng(35.74, 76.36811),new google.maps.LatLng(35.7397, 76.3618),new google.maps.LatLng(35.74111, 76.35638),new google.maps.LatLng(35.74121, 76.35213),new google.maps.LatLng(35.74119, 76.35066),new google.maps.LatLng(35.74126, 76.3502),new google.maps.LatLng(35.74135, 76.34522),new google.maps.LatLng(35.74102, 76.34023),new google.maps.LatLng(35.74118, 76.33578),new google.maps.LatLng(35.74157, 76.32977),new google.maps.LatLng(35.74209, 76.3276),new google.maps.LatLng(35.74273, 76.32256),new google.maps.LatLng(35.742, 76.31743),new google.maps.LatLng(35.74166, 76.31241),new google.maps.LatLng(35.74187, 76.30941),new google.maps.LatLng(35.74018, 76.30597),new google.maps.LatLng(35.73773, 76.30367),new google.maps.LatLng(35.73689, 76.30202),new google.maps.LatLng(35.73543, 76.30005),new google.maps.LatLng(35.73519, 76.29482),new google.maps.LatLng(35.73371, 76.29123),new google.maps.LatLng(35.73169, 76.28758),new google.maps.LatLng(35.73007, 76.28694),new google.maps.LatLng(35.72845, 76.28587),new google.maps.LatLng(35.72743, 76.28452),new google.maps.LatLng(35.72711, 76.28417),new google.maps.LatLng(35.72695, 76.2843),new google.maps.LatLng(35.72704, 76.28431),new google.maps.LatLng(35.72708, 76.28431),new google.maps.LatLng(35.72699, 76.28449),new google.maps.LatLng(35.72688, 76.28557),new google.maps.LatLng(35.72671, 76.28658),new google.maps.LatLng(35.72585, 76.28574),new google.maps.LatLng(35.72546, 76.28583),new google.maps.LatLng(35.72698, 76.28422),new google.maps.LatLng(35.72724, 76.28377),new google.maps.LatLng(35.72768, 76.281),new google.maps.LatLng(35.72724, 76.27687),new google.maps.LatLng(35.72701, 76.27252),new google.maps.LatLng(35.72654, 76.27003),new google.maps.LatLng(35.72705, 76.26814),new google.maps.LatLng(35.72585, 76.26598),new google.maps.LatLng(35.72505, 76.26176),new google.maps.LatLng(35.72402, 76.2585),new google.maps.LatLng(35.7252, 76.25739),new google.maps.LatLng(35.72581, 76.25396),new google.maps.LatLng(35.72459, 76.25288),new google.maps.LatLng(35.723, 76.25245),new google.maps.LatLng(35.72283, 76.24919),new google.maps.LatLng(35.71745, 76.23604),new google.maps.LatLng(35.71636, 76.23269),new google.maps.LatLng(35.7164, 76.23269),new google.maps.LatLng(35.71643, 76.23265),new google.maps.LatLng(35.71752, 76.22967),new google.maps.LatLng(35.71799, 76.22756),new google.maps.LatLng(35.71786, 76.22565),new google.maps.LatLng(35.71572, 76.22516),new google.maps.LatLng(35.71546, 76.22055),new google.maps.LatLng(35.71621, 76.21823),new google.maps.LatLng(35.71558, 76.2159),new google.maps.LatLng(35.71537, 76.2129),new google.maps.LatLng(35.71437, 76.20923),new google.maps.LatLng(35.71308, 76.20759),new google.maps.LatLng(35.7121, 76.20516),new google.maps.LatLng(35.71206, 76.20283),new google.maps.LatLng(35.71128, 76.20368),new google.maps.LatLng(35.71117, 76.20482),new google.maps.LatLng(35.70955, 76.20462),new google.maps.LatLng(35.70689, 76.20152),new google.maps.LatLng(35.70443, 76.19774),new google.maps.LatLng(35.70261, 76.19525),new google.maps.LatLng(35.69997, 76.19338),new google.maps.LatLng(35.69993, 76.19338),new google.maps.LatLng(35.69993, 76.19269),new google.maps.LatLng(35.69963, 76.18974),new google.maps.LatLng(35.69822, 76.18765),new google.maps.LatLng(35.69627, 76.18536),new google.maps.LatLng(35.69555, 76.18276),new google.maps.LatLng(35.69536, 76.18004),new google.maps.LatLng(35.69454, 76.17842),new google.maps.LatLng(35.69416, 76.17825),new google.maps.LatLng(35.6919, 76.17558),new google.maps.LatLng(35.69125, 76.17346),new google.maps.LatLng(35.69077, 76.17017),new google.maps.LatLng(35.69092, 76.16643),new google.maps.LatLng(35.69116, 76.16296),new google.maps.LatLng(35.69273, 76.16034),new google.maps.LatLng(35.6931, 76.15871),new google.maps.LatLng(35.69318, 76.15622),new google.maps.LatLng(35.69204, 76.15371),new google.maps.LatLng(35.69024, 76.15018),new google.maps.LatLng(35.68603, 76.14727),new google.maps.LatLng(35.68588, 76.14725),new google.maps.LatLng(35.68411, 76.14429),new google.maps.LatLng(35.68213, 76.13921),new google.maps.LatLng(35.68039, 76.13478),new google.maps.LatLng(35.67927, 76.13032),new google.maps.LatLng(35.67724, 76.12616),new google.maps.LatLng(35.67721, 76.12609),new google.maps.LatLng(35.67712, 76.12581),new google.maps.LatLng(35.67487, 76.1215),new google.maps.LatLng(35.66726, 76.1059),new google.maps.LatLng(35.66301, 76.10174),new google.maps.LatLng(35.65958, 76.09748),new google.maps.LatLng(35.6587, 76.09068),new google.maps.LatLng(35.66106, 76.08785),new google.maps.LatLng(35.66153, 76.08313),new google.maps.LatLng(35.66132, 76.07674),new google.maps.LatLng(35.65909, 76.06876),new google.maps.LatLng(35.65922, 76.06798),new google.maps.LatLng(35.65871, 76.06728),new google.maps.LatLng(35.65416, 76.06093),new google.maps.LatLng(35.6539, 76.05492),new google.maps.LatLng(35.65298, 76.04783),new google.maps.LatLng(35.6552, 76.00123),new google.maps.LatLng(35.65782, 75.99428),new google.maps.LatLng(35.66052, 75.98681),new google.maps.LatLng(35.66747, 75.97801),new google.maps.LatLng(35.68502, 75.96819),new google.maps.LatLng(35.69189, 75.97257),new google.maps.LatLng(35.69526, 75.97405),new google.maps.LatLng(35.69787, 75.9735),new google.maps.LatLng(35.70336, 75.97333),new google.maps.LatLng(35.6995, 75.97179),new google.maps.LatLng(35.69309, 75.97095),new google.maps.LatLng(35.68803, 75.96692),new google.maps.LatLng(35.68528, 75.964),new google.maps.LatLng(35.68282, 75.95679),new google.maps.LatLng(35.68369, 75.95301),new google.maps.LatLng(35.6833, 75.94511),new google.maps.LatLng(35.68609, 75.93859),new google.maps.LatLng(35.68826, 75.93047),new google.maps.LatLng(35.68854, 75.9225),new google.maps.LatLng(35.68969, 75.91619),new google.maps.LatLng(35.68671, 75.91167),new google.maps.LatLng(35.68242, 75.90689),new google.maps.LatLng(35.67694, 75.90439),new google.maps.LatLng(35.67582, 75.90106),new google.maps.LatLng(35.67752, 75.89368),new google.maps.LatLng(35.67886, 75.88596),new google.maps.LatLng(35.67633, 75.87797),new google.maps.LatLng(35.67388, 75.87103),new google.maps.LatLng(35.6832, 75.82071),new google.maps.LatLng(35.68276, 75.81699),new google.maps.LatLng(35.68316, 75.81704),new google.maps.LatLng(35.72194, 75.68486),new google.maps.LatLng(35.72196, 75.68486),new google.maps.LatLng(35.29517, 75.65116),new google.maps.LatLng(35.29519, 75.65116),new google.maps.LatLng(35.32743, 75.72977),new google.maps.LatLng(35.32683, 75.73009),new google.maps.LatLng(35.3264, 75.72992),new google.maps.LatLng(35.32623, 75.72949),new google.maps.LatLng(35.31927, 75.73938),new google.maps.LatLng(35.31345, 75.74473),new google.maps.LatLng(35.30899, 75.74826),new google.maps.LatLng(35.30448, 75.74817),new google.maps.LatLng(35.29865, 75.73372),new google.maps.LatLng(35.2965, 75.72578),new google.maps.LatLng(35.29695, 75.71793),new google.maps.LatLng(35.29701, 75.70932),new google.maps.LatLng(35.298, 75.70773),new google.maps.LatLng(35.29807, 75.7079),new google.maps.LatLng(35.29837, 75.70493),new google.maps.LatLng(35.29794, 75.69661),new google.maps.LatLng(35.29518, 75.68891),new google.maps.LatLng(35.29181, 75.68241),new google.maps.LatLng(35.2896, 75.67646),new google.maps.LatLng(35.28632, 75.6697),new google.maps.LatLng(35.28699, 75.66271),new google.maps.LatLng(35.2915, 75.65752),new google.maps.LatLng(35.29517, 75.65125),new google.maps.LatLng(35.29533, 75.65111),new google.maps.LatLng(35.2952, 75.65115),new google.maps.LatLng(34.89985, 72.86145),new google.maps.LatLng(33.70947, 73.05865),new google.maps.LatLng(41.67836, 2.28486),new google.maps.LatLng(41.67833, 2.28483),new google.maps.LatLng(41.48311, 1.88034),new google.maps.LatLng(41.48313, 1.88029),new google.maps.LatLng(41.67834, 2.28483),new google.maps.LatLng(41.67834, 2.28486),new google.maps.LatLng(41.39892, 2.14154) ];
trackPath = new google.maps.Polyline({
path: flightPlanCoordinates,
strokeColor: '#FF0000',
strokeOpacity: 1.0,
strokeWeight: 2
});
//trackPath.setMap(map);
campString[1] = '';
infoCamp[1] = new google.maps.InfoWindow({
content: campString[1]
});
campPosition[1] = new google.maps.LatLng(35.2951,75.65132);
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.29503,75.65128);
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.68284,75.81755);
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.68288,75.81753);
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.6781,76.12536);
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.67733,76.12648);
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.72737,76.28426);
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.74295,76.39462);
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.74287,76.39465);
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.74286,76.39464);
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.74202,76.50877);
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.80301,76.5172);
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.81072,76.54174);
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.81266,76.55479);
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]);
});
campString[15] = '';
infoCamp[15] = new google.maps.InfoWindow({
content: campString[15]
});
campPosition[15] = new google.maps.LatLng(35.81278,76.55477);
campMarker[15] = new google.maps.Marker({
map:map,
position: campPosition[15],
icon:campicon
});
google.maps.event.addListener(campMarker[15], 'click', function() {
infoCamp[15].open(map,campMarker[15]);
});
campString[16] = '';
infoCamp[16] = new google.maps.InfoWindow({
content: campString[16]
});
campPosition[16] = new google.maps.LatLng(35.81773,76.53619);
campMarker[16] = new google.maps.Marker({
map:map,
position: campPosition[16],
icon:campicon
});
google.maps.event.addListener(campMarker[16], 'click', function() {
infoCamp[16].open(map,campMarker[16]);
});
campString[17] = '';
infoCamp[17] = new google.maps.InfoWindow({
content: campString[17]
});
campPosition[17] = new google.maps.LatLng(35.80302,76.51676);
campMarker[17] = new google.maps.Marker({
map:map,
position: campPosition[17],
icon:campicon
});
google.maps.event.addListener(campMarker[17], 'click', function() {
infoCamp[17].open(map,campMarker[17]);
});
campString[18] = '';
infoCamp[18] = new google.maps.InfoWindow({
content: campString[18]
});
campPosition[18] = new google.maps.LatLng(35.80911,76.53507);
campMarker[18] = new google.maps.Marker({
map:map,
position: campPosition[18],
icon:campicon
});
google.maps.event.addListener(campMarker[18], 'click', function() {
infoCamp[18].open(map,campMarker[18]);
});
campString[19] = '';
infoCamp[19] = new google.maps.InfoWindow({
content: campString[19]
});
campPosition[19] = new google.maps.LatLng(35.81104,76.53179);
campMarker[19] = new google.maps.Marker({
map:map,
position: campPosition[19],
icon:campicon
});
google.maps.event.addListener(campMarker[19], 'click', function() {
infoCamp[19].open(map,campMarker[19]);
});
campString[20] = '';
infoCamp[20] = new google.maps.InfoWindow({
content: campString[20]
});
campPosition[20] = new google.maps.LatLng(35.80312,76.51703);
campMarker[20] = new google.maps.Marker({
map:map,
position: campPosition[20],
icon:campicon
});
google.maps.event.addListener(campMarker[20], 'click', function() {
infoCamp[20].open(map,campMarker[20]);
});
campString[21] = '';
infoCamp[21] = new google.maps.InfoWindow({
content: campString[21]
});
campPosition[21] = new google.maps.LatLng(35.83548,76.50995);
campMarker[21] = new google.maps.Marker({
map:map,
position: campPosition[21],
icon:campicon
});
google.maps.event.addListener(campMarker[21], 'click', function() {
infoCamp[21].open(map,campMarker[21]);
});
campString[22] = '';
infoCamp[22] = new google.maps.InfoWindow({
content: campString[22]
});
campPosition[22] = new google.maps.LatLng(35.80342,76.51703);
campMarker[22] = new google.maps.Marker({
map:map,
position: campPosition[22],
icon:campicon
});
google.maps.event.addListener(campMarker[22], 'click', function() {
infoCamp[22].open(map,campMarker[22]);
});
campString[23] = '';
infoCamp[23] = new google.maps.InfoWindow({
content: campString[23]
});
campPosition[23] = new google.maps.LatLng(35.80878,76.53494);
campMarker[23] = new google.maps.Marker({
map:map,
position: campPosition[23],
icon:campicon
});
google.maps.event.addListener(campMarker[23], 'click', function() {
infoCamp[23].open(map,campMarker[23]);
});
campString[24] = '';
infoCamp[24] = new google.maps.InfoWindow({
content: campString[24]
});
campPosition[24] = new google.maps.LatLng(35.724281,76.258838);
campMarker[24] = new google.maps.Marker({
map:map,
position: campPosition[24],
icon:campicon
});
google.maps.event.addListener(campMarker[24], 'click', function() {
infoCamp[24].open(map,campMarker[24]);
});
campString[25] = '';
infoCamp[25] = new google.maps.InfoWindow({
content: campString[25]
});
campPosition[25] = new google.maps.LatLng(35.81077,76.54169);
campMarker[25] = new google.maps.Marker({
map:map,
position: campPosition[25],
icon:campicon
});
google.maps.event.addListener(campMarker[25], 'click', function() {
infoCamp[25].open(map,campMarker[25]);
});
campString[26] = '';
infoCamp[26] = new google.maps.InfoWindow({
content: campString[26]
});
campPosition[26] = new google.maps.LatLng(35.81114,76.55159);
campMarker[26] = new google.maps.Marker({
map:map,
position: campPosition[26],
icon:campicon
});
google.maps.event.addListener(campMarker[26], 'click', function() {
infoCamp[26].open(map,campMarker[26]);
});
campString[27] = '';
infoCamp[27] = new google.maps.InfoWindow({
content: campString[27]
});
campPosition[27] = new google.maps.LatLng(35.80876,76.53494);
campMarker[27] = new google.maps.Marker({
map:map,
position: campPosition[27],
icon:campicon
});
google.maps.event.addListener(campMarker[27], 'click', function() {
infoCamp[27].open(map,campMarker[27]);
});
campString[28] = '';
infoCamp[28] = new google.maps.InfoWindow({
content: campString[28]
});
campPosition[28] = new google.maps.LatLng(35.81099,76.53189);
campMarker[28] = new google.maps.Marker({
map:map,
position: campPosition[28],
icon:campicon
});
google.maps.event.addListener(campMarker[28], 'click', function() {
infoCamp[28].open(map,campMarker[28]);
});
campString[29] = '';
infoCamp[29] = new google.maps.InfoWindow({
content: campString[29]
});
campPosition[29] = new google.maps.LatLng(35.80322,76.51703);
campMarker[29] = new google.maps.Marker({
map:map,
position: campPosition[29],
icon:campicon
});
google.maps.event.addListener(campMarker[29], 'click', function() {
infoCamp[29].open(map,campMarker[29]);
});
campString[30] = '';
infoCamp[30] = new google.maps.InfoWindow({
content: campString[30]
});
campPosition[30] = new google.maps.LatLng(35.83529,76.50997);
campMarker[30] = new google.maps.Marker({
map:map,
position: campPosition[30],
icon:campicon
});
google.maps.event.addListener(campMarker[30], 'click', function() {
infoCamp[30].open(map,campMarker[30]);
});
campString[31] = '';
infoCamp[31] = new google.maps.InfoWindow({
content: campString[31]
});
campPosition[31] = new google.maps.LatLng(35.74265,76.39525);
campMarker[31] = new google.maps.Marker({
map:map,
position: campPosition[31],
icon:campicon
});
google.maps.event.addListener(campMarker[31], 'click', function() {
infoCamp[31].open(map,campMarker[31]);
});
campString[32] = '';
infoCamp[32] = new google.maps.InfoWindow({
content: campString[32]
});
campPosition[32] = new google.maps.LatLng(35.67707,76.12575);
campMarker[32] = new google.maps.Marker({
map:map,
position: campPosition[32],
icon:campicon
});
google.maps.event.addListener(campMarker[32], 'click', function() {
infoCamp[32].open(map,campMarker[32]);
});
campString[33] = '';
infoCamp[33] = new google.maps.InfoWindow({
content: campString[33]
});
campPosition[33] = new google.maps.LatLng(35.68307,75.81708);
campMarker[33] = new google.maps.Marker({
map:map,
position: campPosition[33],
icon:campicon
});
google.maps.event.addListener(campMarker[33], 'click', function() {
infoCamp[33].open(map,campMarker[33]);
});
campString[34] = '';
infoCamp[34] = new google.maps.InfoWindow({
content: campString[34]
});
campPosition[34] = new google.maps.LatLng(35.69573,75.97432);
campMarker[34] = new google.maps.Marker({
map:map,
position: campPosition[34],
icon:campicon
});
google.maps.event.addListener(campMarker[34], 'click', function() {
infoCamp[34].open(map,campMarker[34]);
});
campString[35] = '';
infoCamp[35] = new google.maps.InfoWindow({
content: campString[35]
});
campPosition[35] = new google.maps.LatLng(35.08221,75.51711);
campMarker[35] = new google.maps.Marker({
map:map,
position: campPosition[35],
icon:campicon
});
google.maps.event.addListener(campMarker[35], 'click', function() {
infoCamp[35].open(map,campMarker[35]);
});
campString[36] = '';
infoCamp[36] = new google.maps.InfoWindow({
content: campString[36]
});
campPosition[36] = new google.maps.LatLng(35.32743,75.72977);
campMarker[36] = new google.maps.Marker({
map:map,
position: campPosition[36],
icon:campicon
});
google.maps.event.addListener(campMarker[36], 'click', function() {
infoCamp[36].open(map,campMarker[36]);
});
campString[37] = '';
infoCamp[37] = new google.maps.InfoWindow({
content: campString[37]
});
campPosition[37] = new google.maps.LatLng(35.29493,75.65111);
campMarker[37] = new google.maps.Marker({
map:map,
position: campPosition[37],
icon:campicon
});
google.maps.event.addListener(campMarker[37], 'click', function() {
infoCamp[37].open(map,campMarker[37]);
});
campString[38] = '';
infoCamp[38] = new google.maps.InfoWindow({
content: campString[38]
});
campPosition[38] = new google.maps.LatLng(34.89985,72.86145);
campMarker[38] = new google.maps.Marker({
map:map,
position: campPosition[38],
icon:campicon
});
google.maps.event.addListener(campMarker[38], 'click', function() {
infoCamp[38].open(map,campMarker[38]);
});
campString[39] = '';
infoCamp[39] = new google.maps.InfoWindow({
content: campString[39]
});
campPosition[39] = new google.maps.LatLng(33.70947,73.05865);
campMarker[39] = new google.maps.Marker({
map:map,
position: campPosition[39],
icon:campicon
});
google.maps.event.addListener(campMarker[39], 'click', function() {
infoCamp[39].open(map,campMarker[39]);
});
campString[40] = '';
infoCamp[40] = new google.maps.InfoWindow({
content: campString[40]
});
campPosition[40] = new google.maps.LatLng(41.67834,2.28483);
campMarker[40] = new google.maps.Marker({
map:map,
position: campPosition[40],
icon:campicon
});
google.maps.event.addListener(campMarker[40], 'click', function() {
infoCamp[40].open(map,campMarker[40]);
});
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;
}