const message = "HAPPYBIRTHDAYKATJA"; var polygons = [ [ [9.257869720458983, 48.822575792093346], [9.258985519409178, 48.81782870046726], [9.261045455932615, 48.81799824719562], [9.260187149047852, 48.82042835395171], [9.262161254882812, 48.82059789188699], [9.262504577636717, 48.81850688393996], [9.265079498291014, 48.81867642837449], [9.263277053833008, 48.823423439716464], [9.261388778686522, 48.82302787260977], [9.261388778686522, 48.82144557296158], [9.260015487670897, 48.82144557296158], [9.258813858032225, 48.82308438238758], [9.257869720458983, 48.822575792093346] ], [ [9.26619529724121, 48.81867642837449], [9.26671028137207, 48.82415805606007], [9.268598556518555, 48.82427107300333], [9.272460937499998, 48.81975019647592], [9.270057678222656, 48.81946762815306], [9.268598556518555, 48.822632302380896], [9.26765441894531, 48.818902486728405], [9.26619529724121, 48.81867642837449] ], [ [9.271430969238281, 48.82444059794034], [9.27314758300781, 48.82008927636076], [9.275636672973631, 48.82065440440468], [9.273920059204098, 48.82308438238758], [9.278125762939451, 48.82393202140895], [9.276237487792967, 48.825796776792515], [9.271430969238281, 48.82444059794034] ], [ [9.278812408447264, 48.82607930943399], [9.280014038085936, 48.8215020845235], [9.282503128051756, 48.82184115255686], [9.281215667724608, 48.824610122303966], [9.2849063873291, 48.825231706730904], [9.284734725952147, 48.82732243413275], [9.278812408447264, 48.82607930943399] ], [ [9.286537170410154, 48.82732243413275], [9.287738800048826, 48.82766146278945], [9.290485382080075, 48.82636184048252], [9.29014205932617, 48.82839601700999], [9.292716979980467, 48.82856552799328], [9.292716979980467, 48.821332549646655], [9.289455413818358, 48.821389061335964], [9.290313720703123, 48.82511869195403], [9.286537170410154, 48.82732243413275] ], [ [9.259843826293944, 48.816133201643], [9.26138877868652, 48.81082026730451], [9.266538619995115, 48.81155506836791], [9.266366958618162, 48.81421156698261], [9.26216125488281, 48.81392896743756], [9.265508651733397, 48.81675489120383], [9.259843826293944, 48.816133201643] ], [ [9.266967773437496, 48.816528823164646], [9.268255233764647, 48.81166811372955], [9.270315170288084, 48.81217681470275], [9.268426895141598, 48.81686792484109], [9.266967773437496, 48.816528823164646] ], [ [9.269542694091793, 48.81732005684134], [9.271602630615233, 48.81228985866258], [9.273920059204098, 48.81245942412437], [9.273061752319334, 48.81494631834451], [9.276838302612303, 48.81291159588548], [9.278984069824217, 48.81325072203006], [9.273834228515623, 48.816133201643], [9.273490905761717, 48.81845036900103], [9.269542694091793, 48.81732005684134] ], [ [9.275979995727537, 48.81850688393996], [9.276494979858395, 48.81760263727074], [9.279155731201168, 48.81833733893197], [9.280872344970701, 48.81392896743756], [9.28241729736328, 48.81415504720101], [9.280185699462887, 48.81856339881517], [9.284219741821286, 48.819354600377864], [9.28190231323242, 48.82020230247929], [9.275979995727537, 48.81850688393996] ], [ [9.28499221801758, 48.820484866660536], [9.286279678344728, 48.815115874821856], [9.288597106933594, 48.81522891215482], [9.287824630737305, 48.8178852161071], [9.289627075195312, 48.81811127802925], [9.290227890014648, 48.815398467676346], [9.29263114929199, 48.81562454081305], [9.291172027587889, 48.82093696603721], [9.288854598999025, 48.82065440440462], [9.289026260375977, 48.81907202982484], [9.287309646606445, 48.818902486728405], [9.287052154541016, 48.82076742924883], [9.28499221801758, 48.820484866660536] ], [ [9.292802810668945, 48.82054137930561], [9.293661117553711, 48.81585061293018], [9.297866821289062, 48.81635927146624], [9.298553466796875, 48.820032763205916], [9.296064376831055, 48.821558596021674], [9.292802810668945, 48.82054137930561] ], [ [9.2999267578125, 48.81692444156411], [9.302244186401367, 48.81715050781915], [9.301214218139648, 48.821163014196316], [9.305334091186523, 48.817433089204286], [9.307737350463867, 48.81799824719562], [9.300870895385742, 48.82359296752074], [9.299068450927734, 48.823423439716464], [9.2999267578125, 48.81692444156411] ], [ [9.304218292236328, 48.824045038861925], [9.305849075317383, 48.82410154749283], [9.308853149414062, 48.82172813013392], [9.309368133544922, 48.825231706730904], [9.311342239379883, 48.825344721252975], [9.311084747314451, 48.81765915316544], [9.309196472167969, 48.81794173168322], [9.309110641479492, 48.82037184117917], [9.304218292236328, 48.824045038861925] ], [[9.261960515343304,48.80965291114157],[9.263275412975844,48.80233997206662],[9.265393859763947,48.80272489016846],[9.265393859763947,48.80565979355322],[9.268827204558306,48.8031098053157],[9.27313714839704,48.80359094539145],[9.266635708254995,48.80662201986564],[9.268023656149978,48.81056695350671],[9.265466910027783,48.8101339881477],[9.264882510913452,48.807055015549764],[9.263859812463807,48.809989665530566],[9.261960515343304,48.80965291114157]],[[9.274232896361838,48.80387962674834],[9.277300991709552,48.80421641990944],[9.277374041598364,48.80907561234619],[9.281318735618157,48.804745661735495],[9.285336479525483,48.80527489797689],[9.277739291044952,48.81181772102471],[9.275474744479226,48.81162529723795],[9.274232896361838,48.80387962674834]],[[9.28475208041121,48.81306845763706],[9.285190379746552,48.81162529723795],[9.288696774431003,48.81205824971977],[9.290523021661329,48.80618902014726],[9.293591117009072,48.80652579779937],[9.291253520553227,48.812394987953525],[9.296805312135689,48.812972248235894],[9.29607481324382,48.81489640117502],[9.28475208041121,48.81306845763706]],[[9.298573675339355,48.81518501779891],[9.299011974674784,48.813308980383425],[9.302883618804486,48.81388623014223],[9.305075115481372,48.80820965218609],[9.302299219690184,48.807776666471966],[9.299450274010155,48.80912372086061],[9.2976240267798,48.80753611723716],[9.300107723013213,48.80628524261667],[9.30821626071787,48.80748800725212],[9.305294265149087,48.81407864525164],[9.308727609943446,48.81455967979409],[9.307777961382499,48.81619516271357],[9.298573675339355,48.81518501779891]],[[9.311268067540738,48.808046128604445],[9.31329384687686,48.80810677154227],[9.31329384687686,48.81459514212031],[9.319739508403984,48.809016406806364],[9.32480395674608,48.80998666623347],[9.3124651189664,48.81732364528662],[9.311268067540738,48.808046128604445]],[[9.321765287740135,48.818839416209755],[9.327105978719914,48.81156329775908],[9.32581684641417,48.819263823854754],[9.321765287740135,48.818839416209755]],[[9.326829736083056,48.81095690688585],[9.327474302235089,48.80974410313672],[9.329315919814519,48.81022922815629],[9.328026787508776,48.811502659002116],[9.326829736083056,48.81095690688585]] ]; features = polygons.map((p, i) => ( { "type": "Feature", "id": i, "properties": { "name": "Buchstabe " + message[i], "density": Math.round(50 + 1000 / 30 * i) }, "geometry": { "type": "Polygon", "coordinates": [p] } }) ); var happy_b = { "type": "FeatureCollection", "features": features };