Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
76 lines (65 sloc) 27 KB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8"/>
<title>Demo Heat Maps Vectorial </title>
<script src="http://maps.googleapis.com/maps/api/js?v=3&key="></script>
<style type="text/css">
text{
stroke: red;
}
#map_canvas{
position: fixed !important;
top: 0;
bottom: 0;
left: 0;
right: 0;
}
</style>
</head>
<body>
<div id="map_canvas" style=" position: fixed;
top: 0;
bottom: 0;
left: 0;
right: 0;"></div>
<script>
var map;
function MapStar() {
var lat = 41.3935, lon = 2.164;
var myLatlng = new google.maps.LatLng(lat, lon);
var myOptions = {
zoom: 13,
center: myLatlng,
disableDefaultUI: false,
scrollwheel: true,
draggable: true,
navigationControl: false,
scaleControl: true,
disableDoubleClickZoom: false
};
map = new google.maps.Map(document.getElementById("map_canvas"), myOptions);
HeatMapVectoialLoad();
}
function mapLL(item){
return {lat:item[0],lng:item[1]};
}
function HeatMapVectoialLoad() {
var data = [{"polygons":[{"coords":[[41.361865,2.16362],[41.369595,2.16362],[41.370239,2.164307],[41.378225,2.174435],[41.378354,2.174606],[41.378483,2.174778],[41.378612,2.17495],[41.406557,2.218723],[41.406557,2.219238],[41.406428,2.219582],[41.4063,2.219925],[41.406171,2.220268],[41.405527,2.220783],[41.405398,2.220783],[41.40424,2.220097],[41.366889,2.192459],[41.360576,2.187653],[41.357871,2.184391],[41.349495,2.173748],[41.349237,2.173233],[41.349237,2.17289],[41.35117,2.170315],[41.361865,2.16362]],"title":""},{"coords":[[41.412737,2.22353],[41.413381,2.22353],[41.413638,2.223701],[41.415698,2.225933],[41.415827,2.226276],[41.416213,2.22765],[41.416856,2.230568],[41.416856,2.231426],[41.416728,2.23177],[41.416599,2.231941],[41.416084,2.232113],[41.415955,2.232113],[41.414411,2.231941],[41.413381,2.231598],[41.412866,2.231255],[41.410548,2.229538],[41.408875,2.227821],[41.408746,2.22765],[41.407716,2.225761],[41.407458,2.225246],[41.407458,2.225075],[41.407587,2.224731],[41.408102,2.224388],[41.412737,2.22353]],"title":""},{"coords":[[41.446715,2.249622],[41.447101,2.249622],[41.447745,2.249794],[41.448002,2.249966],[41.448903,2.251339],[41.449417,2.252197],[41.449803,2.253399],[41.449803,2.253742],[41.449546,2.254601],[41.449417,2.254772],[41.449031,2.254944],[41.448903,2.254944],[41.446201,2.252197],[41.445815,2.251682],[41.445815,2.251339],[41.446072,2.249966],[41.446201,2.249794],[41.446715,2.249622]],"title":""},{"coords":[[41.475532,2.306442],[41.475917,2.306442],[41.476175,2.306614],[41.476303,2.306957],[41.476432,2.307301],[41.477332,2.310905],[41.477332,2.311249],[41.477204,2.311764],[41.477075,2.312107],[41.476818,2.312622],[41.47656,2.312794],[41.476432,2.312794],[41.476175,2.312622],[41.475917,2.312279],[41.474631,2.309532],[41.474503,2.309189],[41.474503,2.307816],[41.475017,2.306786],[41.475532,2.306442]],"title":""},{"coords":[[41.440539,2.245331],[41.44144,2.245331],[41.442083,2.245674],[41.443112,2.246532],[41.443756,2.247734],[41.443884,2.248077],[41.443884,2.248592],[41.443756,2.248936],[41.443498,2.249107],[41.443241,2.249279],[41.443112,2.249279],[41.440796,2.248592],[41.440281,2.248249],[41.440153,2.247906],[41.440153,2.246361],[41.440539,2.245331]],"title":""},{"coords":[[41.358901,2.159328],[41.359417,2.159328],[41.360576,2.16053],[41.360834,2.160873],[41.360963,2.161388],[41.361092,2.161903],[41.361092,2.16259],[41.360963,2.162933],[41.360834,2.163105],[41.360705,2.163277],[41.360319,2.16362],[41.360061,2.16362],[41.359674,2.163277],[41.359288,2.162762],[41.358257,2.160702],[41.358257,2.160358],[41.358644,2.1595],[41.358901,2.159328]],"title":""},{"coords":[[41.421104,2.231941],[41.421877,2.231941],[41.422907,2.232456],[41.423293,2.233829],[41.423293,2.234516],[41.422649,2.235031],[41.421877,2.235203],[41.421619,2.235203],[41.420976,2.234859],[41.420718,2.234688],[41.420461,2.234001],[41.420461,2.233143],[41.420718,2.232456],[41.421104,2.231941]],"title":""},{"coords":[[41.47849,2.318459],[41.478747,2.318459],[41.479004,2.31863],[41.479133,2.318974],[41.479133,2.320862],[41.479004,2.32172],[41.478875,2.322063],[41.478618,2.322063],[41.477461,2.321548],[41.477461,2.318974],[41.477589,2.31863],[41.47849,2.318459]],"title":""},{"coords":[[41.402952,2.187653],[41.403467,2.187653],[41.403725,2.187824],[41.403853,2.187996],[41.403982,2.188168],[41.404111,2.188339],[41.404368,2.188683],[41.404497,2.188854],[41.404497,2.189541],[41.404368,2.189884],[41.403982,2.190571],[41.403853,2.190742],[41.403467,2.190914],[41.403081,2.190914],[41.402823,2.190742],[41.402566,2.190399],[41.402308,2.189713],[41.402308,2.189026],[41.402566,2.188339],[41.402823,2.187824],[41.402952,2.187653]],"title":""},{"coords":[[41.384794,2.173576],[41.385181,2.173576],[41.385438,2.173748],[41.385696,2.17392],[41.385696,2.174435],[41.384923,2.176323],[41.384408,2.176495],[41.383893,2.176495],[41.383506,2.176323],[41.383378,2.175465],[41.383378,2.175293],[41.38415,2.173748],[41.384794,2.173576]],"title":""},{"coords":[[41.451605,2.244987],[41.451862,2.244987],[41.452377,2.245846],[41.452505,2.246189],[41.452505,2.247047],[41.452377,2.247391],[41.452248,2.247562],[41.452119,2.247734],[41.451862,2.247906],[41.451347,2.248249],[41.451219,2.248249],[41.450704,2.247906],[41.450447,2.247219],[41.450447,2.246704],[41.450704,2.246017],[41.451219,2.245331],[41.451605,2.244987]],"title":""},{"coords":[[41.386984,2.168427],[41.38737,2.168427],[41.388143,2.168598],[41.388272,2.168941],[41.388401,2.169285],[41.388401,2.169971],[41.388272,2.170486],[41.388143,2.170658],[41.387885,2.171001],[41.387628,2.171173],[41.387241,2.171173],[41.386469,2.17083],[41.38634,2.170486],[41.38634,2.170143],[41.386469,2.169113],[41.386597,2.16877],[41.386726,2.168598],[41.386984,2.168427]],"title":""},{"coords":[[41.388658,2.185764],[41.389044,2.185764],[41.389302,2.185936],[41.38956,2.186108],[41.389817,2.186451],[41.389817,2.187653],[41.389431,2.188339],[41.389302,2.188511],[41.388529,2.188683],[41.388401,2.188683],[41.388014,2.188168],[41.387885,2.187824],[41.387885,2.186794],[41.388143,2.186108],[41.388658,2.185764]],"title":""},{"coords":[[41.436292,2.163792],[41.436549,2.163792],[41.436807,2.163963],[41.437064,2.164135],[41.437322,2.164478],[41.437322,2.165852],[41.437193,2.166195],[41.437064,2.166367],[41.436807,2.166538],[41.436549,2.16671],[41.436163,2.16671],[41.435906,2.166538],[41.435777,2.166367],[41.435649,2.166023],[41.435649,2.164993],[41.435777,2.164478],[41.435906,2.164135],[41.436292,2.163792]],"title":""},{"coords":[[41.418144,2.230911],[41.418272,2.230911],[41.41853,2.231083],[41.418787,2.231255],[41.418916,2.231426],[41.419045,2.231598],[41.419302,2.2328],[41.419302,2.233143],[41.419174,2.233315],[41.419045,2.233486],[41.418787,2.233658],[41.418272,2.233829],[41.418015,2.233829],[41.417886,2.233658],[41.4175,2.232971],[41.4175,2.231941],[41.417629,2.231426],[41.417886,2.231083],[41.418144,2.230911]],"title":""},{"coords":[[41.334803,2.148685],[41.33506,2.148685],[41.335447,2.148857],[41.335705,2.149029],[41.335834,2.1492],[41.336092,2.150059],[41.336092,2.15023],[41.335963,2.150574],[41.335834,2.150917],[41.335705,2.151089],[41.335447,2.15126],[41.334932,2.15126],[41.334416,2.151089],[41.334158,2.150402],[41.334158,2.149544],[41.334416,2.149029],[41.334545,2.148857],[41.334803,2.148685]],"title":""},{"coords":[[41.413252,2.151604],[41.414153,2.151604],[41.414411,2.151775],[41.414668,2.151947],[41.414797,2.15229],[41.414797,2.153149],[41.414668,2.153664],[41.414539,2.154007],[41.414411,2.154179],[41.413896,2.154179],[41.413638,2.154007],[41.413123,2.15332],[41.412994,2.152462],[41.412994,2.151775],[41.413252,2.151604]],"title":""},{"coords":[[41.421362,2.118473],[41.421491,2.118473],[41.422006,2.118645],[41.422263,2.11916],[41.422392,2.119846],[41.422392,2.120018],[41.422263,2.120361],[41.422134,2.120533],[41.422006,2.120705],[41.421748,2.120876],[41.421491,2.121048],[41.421233,2.121048],[41.42059,2.120705],[41.420461,2.120361],[41.420461,2.119846],[41.42059,2.119331],[41.420718,2.11916],[41.421362,2.118473]],"title":""},{"coords":[[41.371269,2.15023],[41.371527,2.15023],[41.371785,2.150402],[41.372042,2.150574],[41.372171,2.150917],[41.372429,2.152119],[41.372429,2.15229],[41.3723,2.152634],[41.372042,2.152805],[41.371269,2.152805],[41.370883,2.152634],[41.370625,2.151947],[41.370625,2.151604],[41.370754,2.150745],[41.370883,2.150574],[41.371269,2.15023]],"title":""},{"coords":[[41.344598,2.167053],[41.344727,2.167053],[41.344984,2.167225],[41.345242,2.167397],[41.345371,2.16774],[41.345371,2.168427],[41.345242,2.16877],[41.345113,2.169113],[41.344984,2.169285],[41.344469,2.169456],[41.344211,2.169456],[41.343696,2.169285],[41.343567,2.168941],[41.343567,2.168083],[41.343825,2.167397],[41.344598,2.167053]],"title":""},{"coords":[[41.464598,2.277775],[41.464984,2.277775],[41.465242,2.277946],[41.465499,2.278118],[41.465756,2.278805],[41.465756,2.279491],[41.464984,2.28035],[41.464727,2.28035],[41.464341,2.280006],[41.464212,2.279835],[41.463955,2.278976],[41.463955,2.278461],[41.464084,2.278118],[41.464598,2.277775]],"title":""},{"coords":[[41.403725,2.173405],[41.403982,2.173405],[41.40424,2.173576],[41.404497,2.173748],[41.404626,2.17392],[41.404626,2.17495],[41.404497,2.175293],[41.404368,2.175636],[41.404111,2.175808],[41.403467,2.175808],[41.403209,2.175636],[41.403081,2.175465],[41.402952,2.17495],[41.402952,2.174606],[41.403209,2.17392],[41.403725,2.173405]],"title":""},{"coords":[[41.439123,2.243614],[41.439252,2.243614],[41.439767,2.245159],[41.439767,2.245502],[41.439638,2.245846],[41.439509,2.246017],[41.439252,2.246189],[41.438866,2.246189],[41.438094,2.245331],[41.437965,2.244987],[41.437965,2.244473],[41.438094,2.244301],[41.439123,2.243614]],"title":""},{"coords":[[41.376293,2.14817],[41.376551,2.14817],[41.37668,2.148514],[41.376809,2.148857],[41.376809,2.149715],[41.37668,2.150059],[41.376551,2.150402],[41.376293,2.150402],[41.375134,2.15023],[41.375005,2.149887],[41.375005,2.149715],[41.375263,2.148857],[41.375392,2.148685],[41.376293,2.14817]],"title":""},{"coords":[[41.382734,2.164135],[41.383378,2.164135],[41.383893,2.165337],[41.383893,2.166023],[41.383764,2.166195],[41.383635,2.166367],[41.383506,2.166538],[41.383249,2.16671],[41.382862,2.16671],[41.382734,2.166538],[41.382476,2.165852],[41.382476,2.16568],[41.382734,2.164135]],"title":""},{"coords":[[41.500221,2.389183],[41.500607,2.389183],[41.500864,2.389355],[41.500992,2.389526],[41.501121,2.38987],[41.501121,2.390385],[41.500992,2.390728],[41.500735,2.391071],[41.500478,2.391243],[41.500221,2.391415],[41.499964,2.391415],[41.499578,2.390728],[41.499578,2.38987],[41.499707,2.389526],[41.500221,2.389183]],"title":""},{"coords":[[41.393681,2.16156],[41.394196,2.16156],[41.394453,2.161903],[41.394582,2.162247],[41.394582,2.162762],[41.394453,2.163105],[41.394325,2.163448],[41.394067,2.16362],[41.393809,2.16362],[41.393294,2.163277],[41.393166,2.162933],[41.393166,2.162762],[41.393423,2.161732],[41.393681,2.16156]],"title":""},{"coords":[[41.413896,2.130318],[41.414282,2.130318],[41.414411,2.130489],[41.414539,2.130833],[41.414539,2.131691],[41.414411,2.131863],[41.414282,2.132034],[41.414024,2.132206],[41.413381,2.132206],[41.413252,2.131863],[41.413252,2.131004],[41.413381,2.130661],[41.413896,2.130318]],"title":""},{"coords":[[41.506649,2.401714],[41.506906,2.401714],[41.507163,2.401886],[41.507163,2.402058],[41.507035,2.402744],[41.506906,2.403088],[41.506778,2.403431],[41.50652,2.403431],[41.506135,2.403088],[41.506006,2.402744],[41.506006,2.401886],[41.506649,2.401714]],"title":""},{"coords":[[41.391363,2.164307],[41.391491,2.164307],[41.391749,2.164478],[41.392006,2.16465],[41.392135,2.164993],[41.392135,2.165852],[41.392006,2.166023],[41.391878,2.166023],[41.39162,2.165852],[41.391105,2.164822],[41.391105,2.164478],[41.391363,2.164307]],"title":""},{"coords":[[41.347175,2.154007],[41.347304,2.154007],[41.347304,2.15435],[41.347175,2.154694],[41.346531,2.155209],[41.346402,2.155209],[41.346144,2.154865],[41.346015,2.154522],[41.346015,2.15435],[41.347175,2.154007]],"title":""},{"coords":[[41.346402,2.170143],[41.346918,2.170143],[41.347046,2.170315],[41.347046,2.17083],[41.346789,2.171345],[41.346402,2.171345],[41.346015,2.170658],[41.346015,2.170486],[41.346402,2.170143]],"title":""},{"coords":[[41.379642,2.17392],[41.379771,2.17392],[41.3799,2.174263],[41.3799,2.174435],[41.379642,2.175293],[41.379514,2.175465],[41.379127,2.175465],[41.379127,2.174778],[41.379385,2.174091],[41.379642,2.17392]],"title":""},{"coords":[[41.344598,2.155037],[41.344984,2.155037],[41.345242,2.155724],[41.345242,2.156582],[41.344856,2.156582],[41.344598,2.155895],[41.344598,2.155037]],"title":""},{"coords":[[41.502664,2.392788],[41.502792,2.392788],[41.503049,2.393646],[41.503049,2.39399],[41.502921,2.394161],[41.502792,2.394333],[41.502664,2.394333],[41.502278,2.394161],[41.502278,2.39399],[41.502535,2.393131],[41.502664,2.392788]],"title":""},{"coords":[[41.383249,2.176323],[41.383378,2.176323],[41.383635,2.176666],[41.383764,2.17701],[41.383764,2.177353],[41.383635,2.177525],[41.383378,2.177525],[41.38312,2.177353],[41.382991,2.177181],[41.382991,2.176838],[41.38312,2.176495],[41.383249,2.176323]],"title":""},{"coords":[[41.416985,2.230568],[41.417371,2.230568],[41.4175,2.231255],[41.4175,2.231426],[41.417371,2.231941],[41.417243,2.231941],[41.417114,2.231598],[41.416985,2.23074],[41.416985,2.230568]],"title":""},{"coords":[[41.486592,2.350559],[41.48672,2.350559],[41.48672,2.351074],[41.486592,2.351418],[41.486463,2.351761],[41.486206,2.351761],[41.486206,2.351246],[41.486334,2.350903],[41.486592,2.350559]],"title":""},{"coords":[[41.503178,2.394333],[41.503435,2.394333],[41.503435,2.394676],[41.503307,2.394848],[41.503049,2.394848],[41.503049,2.394505],[41.503178,2.394333]],"title":""},{"coords":[[41.445557,2.249279],[41.445815,2.249279],[41.445815,2.249451],[41.445686,2.249794],[41.445557,2.249794],[41.445557,2.249279]],"title":""},{"coords":[[41.439895,2.244987],[41.440281,2.244987],[41.440281,2.245331],[41.440153,2.245331],[41.439895,2.245159],[41.439895,2.244987]],"title":""},{"coords":[[41.386597,2.182674],[41.386855,2.182674],[41.386855,2.183018],[41.386597,2.183018],[41.386597,2.182674]],"title":""},{"coords":[[41.443884,2.248764],[41.444013,2.248764],[41.444013,2.249279],[41.443884,2.249279],[41.443884,2.248764]],"title":""},{"coords":[[41.409647,2.217178],[41.409905,2.217178],[41.409905,2.21735],[41.409647,2.21735],[41.409647,2.217178]],"title":""},{"coords":[[41.502149,2.39296],[41.502278,2.39296],[41.502278,2.393303],[41.502149,2.393303],[41.502149,2.39296]],"title":""},{"coords":[[41.346273,2.153492],[41.346402,2.153492],[41.346402,2.153835],[41.346273,2.153835],[41.346273,2.153492]],"title":""},{"coords":[[41.439767,2.244473],[41.439895,2.244473],[41.439895,2.244816],[41.439767,2.244816],[41.439767,2.244473]],"title":""},{"coords":[[41.504206,2.396564],[41.504335,2.396564],[41.504335,2.396736],[41.504206,2.396736],[41.504206,2.396564]],"title":""},{"coords":[[41.503949,2.396736],[41.504078,2.396736],[41.504078,2.396908],[41.503949,2.396908],[41.503949,2.396736]],"title":""},{"coords":[[41.409647,2.217865],[41.409776,2.217865],[41.409776,2.218037],[41.409647,2.218037],[41.409647,2.217865]],"title":""}],"level":"B"},{"polygons":[{"coords":[[41.374361,2.175293],[41.375134,2.175293],[41.37668,2.175808],[41.381574,2.183189],[41.394582,2.205677],[41.394711,2.20602],[41.394711,2.206879],[41.394582,2.207222],[41.394453,2.207394],[41.393681,2.207394],[41.393294,2.207222],[41.391234,2.20602],[41.368435,2.191601],[41.367662,2.191086],[41.367534,2.190571],[41.367534,2.190228],[41.367662,2.189541],[41.367791,2.189026],[41.371398,2.176495],[41.371527,2.176151],[41.371656,2.17598],[41.374361,2.175293]],"title":""},{"coords":[[41.35903,2.178211],[41.360061,2.178211],[41.365215,2.179585],[41.365601,2.180099],[41.36573,2.180958],[41.36573,2.181644],[41.365343,2.182503],[41.364699,2.183704],[41.364184,2.184219],[41.363926,2.184219],[41.36354,2.184048],[41.359288,2.180443],[41.359159,2.180271],[41.35903,2.179928],[41.358901,2.179413],[41.358901,2.178555],[41.35903,2.178211]],"title":""},{"coords":[[41.366761,2.168083],[41.367405,2.168083],[41.367662,2.168255],[41.371398,2.171001],[41.371527,2.171173],[41.371656,2.171345],[41.371785,2.171516],[41.371914,2.171688],[41.371914,2.172546],[41.371785,2.173061],[41.371656,2.173233],[41.371527,2.173405],[41.371269,2.173576],[41.369595,2.173748],[41.369466,2.173748],[41.368822,2.173576],[41.368306,2.173405],[41.367791,2.173061],[41.367662,2.17289],[41.366374,2.170658],[41.366245,2.170143],[41.366245,2.169971],[41.366503,2.168598],[41.366761,2.168083]],"title":""},{"coords":[[41.411836,2.226963],[41.412222,2.226963],[41.414797,2.227306],[41.414925,2.227478],[41.414925,2.229366],[41.414797,2.22971],[41.414539,2.230225],[41.414282,2.230396],[41.414153,2.230396],[41.413252,2.230225],[41.412994,2.230053],[41.411836,2.229023],[41.411063,2.228165],[41.410935,2.227821],[41.410935,2.22765],[41.41145,2.227135],[41.411836,2.226963]],"title":""},{"coords":[[41.362638,2.16465],[41.363024,2.16465],[41.363282,2.164822],[41.36354,2.164993],[41.363926,2.165337],[41.364313,2.16568],[41.364699,2.166195],[41.364957,2.166538],[41.364957,2.167568],[41.364828,2.16774],[41.364699,2.167912],[41.364313,2.168255],[41.363926,2.168427],[41.36354,2.168598],[41.363024,2.168598],[41.362509,2.168083],[41.361865,2.166367],[41.361865,2.165852],[41.362122,2.165165],[41.36238,2.164822],[41.362638,2.16465]],"title":""},{"coords":[[41.399604,2.212887],[41.399862,2.212887],[41.39999,2.213058],[41.400119,2.21323],[41.400119,2.213573],[41.39999,2.213917],[41.399733,2.21426],[41.399604,2.21426],[41.399347,2.214088],[41.399218,2.21323],[41.399218,2.213058],[41.399604,2.212887]],"title":""},{"coords":[[41.39587,2.208767],[41.396127,2.208767],[41.396127,2.208939],[41.395999,2.20911],[41.39587,2.20911],[41.39587,2.208767]],"title":""},{"coords":[[41.395612,2.20911],[41.395741,2.20911],[41.395741,2.209454],[41.395612,2.209454],[41.395612,2.20911]],"title":""},{"coords":[[41.394711,2.207565],[41.394968,2.207565],[41.394968,2.207737],[41.394711,2.207737],[41.394711,2.207565]],"title":""},{"coords":[[41.354005,2.175121],[41.354134,2.175121],[41.354134,2.175293],[41.354005,2.175293],[41.354005,2.175121]],"title":""}],"level":"C"},{"polygons":[{"coords":[[41.373073,2.187309],[41.373588,2.187309],[41.387113,2.196064],[41.38737,2.196236],[41.387499,2.196407],[41.387628,2.196579],[41.389688,2.199841],[41.389817,2.200699],[41.389817,2.200871],[41.389688,2.201214],[41.38956,2.201385],[41.389431,2.201557],[41.388143,2.202415],[41.387499,2.202415],[41.368693,2.190399],[41.368564,2.189884],[41.368564,2.189713],[41.368693,2.189369],[41.369208,2.189026],[41.37011,2.188511],[41.373073,2.187309]],"title":""},{"coords":[[41.374103,2.176323],[41.374232,2.176323],[41.375778,2.176495],[41.376036,2.176666],[41.378998,2.180614],[41.379514,2.181473],[41.379642,2.181816],[41.379771,2.182159],[41.3799,2.182503],[41.3799,2.183533],[41.379771,2.183704],[41.379642,2.183876],[41.379514,2.184048],[41.379385,2.184219],[41.379256,2.184391],[41.378998,2.184563],[41.378612,2.184734],[41.377066,2.184734],[41.376036,2.184563],[41.374619,2.184048],[41.374103,2.183704],[41.373717,2.183189],[41.373588,2.182846],[41.372944,2.178211],[41.372944,2.177696],[41.373073,2.177525],[41.374103,2.176323]],"title":""},{"coords":[[41.3723,2.178726],[41.372686,2.178726],[41.372815,2.178898],[41.372944,2.179585],[41.372944,2.180271],[41.372558,2.181988],[41.372042,2.183018],[41.371914,2.183189],[41.371785,2.183189],[41.371398,2.182674],[41.371012,2.181988],[41.371012,2.181473],[41.371141,2.180271],[41.371269,2.179928],[41.371656,2.179241],[41.371914,2.178898],[41.3723,2.178726]],"title":""},{"coords":[[41.380158,2.183876],[41.380415,2.183876],[41.380673,2.184048],[41.381059,2.184391],[41.381188,2.184734],[41.381188,2.185421],[41.381059,2.185936],[41.38093,2.186279],[41.380544,2.187309],[41.380415,2.187481],[41.380286,2.187653],[41.379642,2.187996],[41.378998,2.187996],[41.37887,2.187824],[41.37887,2.187138],[41.380029,2.184048],[41.380158,2.183876]],"title":""},{"coords":[[41.362895,2.165337],[41.363411,2.165337],[41.36354,2.165508],[41.363669,2.16568],[41.363797,2.165852],[41.363926,2.166023],[41.364184,2.166538],[41.364184,2.167397],[41.364055,2.167568],[41.363926,2.16774],[41.363797,2.167912],[41.363282,2.167912],[41.362895,2.16774],[41.362638,2.167568],[41.36238,2.167053],[41.36238,2.166195],[41.362509,2.16568],[41.362638,2.165508],[41.362895,2.165337]],"title":""},{"coords":[[41.370368,2.171516],[41.370497,2.171516],[41.370754,2.171688],[41.370883,2.17186],[41.371012,2.172203],[41.371012,2.172375],[41.370754,2.17289],[41.370239,2.17289],[41.37011,2.172546],[41.37011,2.172031],[41.370239,2.171688],[41.370368,2.171516]],"title":""},{"coords":[[41.369079,2.171516],[41.369466,2.171516],[41.369595,2.171688],[41.369724,2.172031],[41.369724,2.172203],[41.369337,2.172546],[41.369208,2.172546],[41.368564,2.172203],[41.368564,2.17186],[41.369079,2.171516]],"title":""},{"coords":[[41.393037,2.205162],[41.393166,2.205162],[41.393294,2.205334],[41.393294,2.20602],[41.393166,2.20602],[41.392779,2.205849],[41.392779,2.205677],[41.392908,2.205334],[41.393037,2.205162]],"title":""},{"coords":[[41.372558,2.182503],[41.372686,2.182503],[41.372686,2.183189],[41.372558,2.183361],[41.372429,2.183361],[41.372429,2.182674],[41.372558,2.182503]],"title":""},{"coords":[[41.392006,2.20499],[41.392135,2.20499],[41.392135,2.205162],[41.392006,2.205162],[41.392006,2.20499]],"title":""},{"coords":[[41.392393,2.204819],[41.392522,2.204819],[41.392522,2.20499],[41.392393,2.20499],[41.392393,2.204819]],"title":""},{"coords":[[41.372171,2.183018],[41.3723,2.183018],[41.3723,2.183189],[41.372171,2.183189],[41.372171,2.183018]],"title":""}],"level":"D"},{"polygons":[{"coords":[[41.374361,2.177181],[41.375778,2.177181],[41.376165,2.177525],[41.376293,2.177696],[41.376422,2.177868],[41.376551,2.17804],[41.37668,2.178211],[41.376937,2.178898],[41.377195,2.179756],[41.377324,2.180271],[41.377324,2.180443],[41.377195,2.180786],[41.375907,2.183189],[41.375778,2.183361],[41.375392,2.183533],[41.375005,2.183533],[41.374619,2.183361],[41.374361,2.183189],[41.373975,2.182846],[41.373975,2.181301],[41.374361,2.177181]],"title":""},{"coords":[[41.373459,2.188168],[41.373717,2.188168],[41.375134,2.188854],[41.375392,2.189026],[41.377324,2.190399],[41.379385,2.192287],[41.379642,2.192802],[41.379642,2.193146],[41.379514,2.193146],[41.378483,2.192974],[41.376422,2.192287],[41.374748,2.191257],[41.374232,2.190914],[41.372815,2.189884],[41.372686,2.189198],[41.372686,2.188511],[41.372815,2.188339],[41.373459,2.188168]],"title":""},{"coords":[[41.383893,2.195721],[41.38415,2.195721],[41.386855,2.196407],[41.387113,2.196579],[41.387628,2.197437],[41.387628,2.198811],[41.387499,2.198982],[41.38737,2.199154],[41.386984,2.199326],[41.385825,2.199326],[41.385438,2.199154],[41.385181,2.198982],[41.384794,2.198467],[41.383893,2.196579],[41.383764,2.196236],[41.383764,2.196064],[41.383893,2.195721]],"title":""},{"coords":[[41.378612,2.181644],[41.378998,2.181644],[41.379385,2.182674],[41.379385,2.183189],[41.379256,2.183533],[41.379127,2.183704],[41.378998,2.183876],[41.37887,2.184048],[41.378354,2.184048],[41.378097,2.183704],[41.378097,2.183189],[41.378225,2.182331],[41.378354,2.181816],[41.378612,2.181644]],"title":""},{"coords":[[41.381317,2.194347],[41.381832,2.194347],[41.382347,2.194519],[41.382476,2.194862],[41.382476,2.195549],[41.382347,2.195549],[41.381574,2.195377],[41.381188,2.195206],[41.381188,2.194519],[41.381317,2.194347]],"title":""},{"coords":[[41.362895,2.166195],[41.363669,2.166195],[41.363797,2.166367],[41.363926,2.166538],[41.363926,2.167053],[41.363797,2.167225],[41.363024,2.167225],[41.362895,2.167053],[41.362767,2.16671],[41.362767,2.166367],[41.362895,2.166195]],"title":""},{"coords":[[41.388529,2.199841],[41.388658,2.199841],[41.388787,2.200184],[41.388787,2.200356],[41.388529,2.200871],[41.388272,2.200871],[41.388272,2.200012],[41.388529,2.199841]],"title":""},{"coords":[[41.38312,2.195034],[41.383249,2.195034],[41.383378,2.195206],[41.383378,2.195549],[41.38312,2.195549],[41.38312,2.195034]],"title":""},{"coords":[[41.383635,2.195721],[41.383764,2.195721],[41.383764,2.195892],[41.383635,2.195892],[41.383635,2.195721]],"title":""},{"coords":[[41.374361,2.177181],[41.375778,2.177181],[41.376165,2.177525],[41.376293,2.177696],[41.376422,2.177868],[41.376551,2.17804],[41.37668,2.178211],[41.376937,2.178898],[41.377195,2.179756],[41.377324,2.180271],[41.377324,2.180443],[41.377195,2.180786],[41.375907,2.183189],[41.375778,2.183361],[41.375392,2.183533],[41.375005,2.183533],[41.374619,2.183361],[41.374361,2.183189],[41.373975,2.182846],[41.373975,2.181301],[41.374361,2.177181]],"title":""},{"coords":[[41.373459,2.188168],[41.373717,2.188168],[41.375134,2.188854],[41.375392,2.189026],[41.377324,2.190399],[41.379385,2.192287],[41.379642,2.192802],[41.379642,2.193146],[41.379514,2.193146],[41.378483,2.192974],[41.376422,2.192287],[41.374748,2.191257],[41.374232,2.190914],[41.372815,2.189884],[41.372686,2.189198],[41.372686,2.188511],[41.372815,2.188339],[41.373459,2.188168]],"title":""},{"coords":[[41.383893,2.195721],[41.38415,2.195721],[41.386855,2.196407],[41.387113,2.196579],[41.387628,2.197437],[41.387628,2.198811],[41.387499,2.198982],[41.38737,2.199154],[41.386984,2.199326],[41.385825,2.199326],[41.385438,2.199154],[41.385181,2.198982],[41.384794,2.198467],[41.383893,2.196579],[41.383764,2.196236],[41.383764,2.196064],[41.383893,2.195721]],"title":""},{"coords":[[41.378612,2.181644],[41.378998,2.181644],[41.379385,2.182674],[41.379385,2.183189],[41.379256,2.183533],[41.379127,2.183704],[41.378998,2.183876],[41.37887,2.184048],[41.378354,2.184048],[41.378097,2.183704],[41.378097,2.183189],[41.378225,2.182331],[41.378354,2.181816],[41.378612,2.181644]],"title":""},{"coords":[[41.381317,2.194347],[41.381832,2.194347],[41.382347,2.194519],[41.382476,2.194862],[41.382476,2.195549],[41.382347,2.195549],[41.381574,2.195377],[41.381188,2.195206],[41.381188,2.194519],[41.381317,2.194347]],"title":""},{"coords":[[41.362895,2.166195],[41.363669,2.166195],[41.363797,2.166367],[41.363926,2.166538],[41.363926,2.167053],[41.363797,2.167225],[41.363024,2.167225],[41.362895,2.167053],[41.362767,2.16671],[41.362767,2.166367],[41.362895,2.166195]],"title":""},{"coords":[[41.388529,2.199841],[41.388658,2.199841],[41.388787,2.200184],[41.388787,2.200356],[41.388529,2.200871],[41.388272,2.200871],[41.388272,2.200012],[41.388529,2.199841]],"title":""},{"coords":[[41.38312,2.195034],[41.383249,2.195034],[41.383378,2.195206],[41.383378,2.195549],[41.38312,2.195549],[41.38312,2.195034]],"title":""},{"coords":[[41.383635,2.195721],[41.383764,2.195721],[41.383764,2.195892],[41.383635,2.195892],[41.383635,2.195721]],"title":""}],"level":"E"}];
for(var l = 0; l < data.length; l++) {
for(var p = 0; p < data[l].polygons.length; p++) {
var ply = new google.maps.Polygon({
paths: data[l].polygons[p].coords.map(mapLL),
strokeOpacity: 0,
strokeWeight: 0,
fillColor: 'red',
fillOpacity: 0.1
});
ply.setMap(map);
}
}
}
MapStar();
</script>
</body>
</html>