[{"data":1,"prerenderedAt":7692},["ShallowReactive",2],{"article_list_google-maps_":3},[4,2777],{"_path":5,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":9,"description":10,"publishDate":11,"categories":12,"tags":14,"excerpt":10,"body":17,"_type":2768,"_id":2769,"_source":2770,"_file":2771,"_stem":2772,"_extension":2773,"author":2774},"/ckeefer/2014-5/cgwin2","2014-5",false,"","Custom Google Info Windows: Updated, Live","April 30, 2014 at 3:22 am Remy says:","2014-05-09",[13],"developer-blog",[15,16],"js","google-maps",{"type":18,"children":19,"toc":2765},"root",[20,36,43,57,70,75,80,1497,1519,1745,1750,1939,1944,2170,2175,2735,2740,2759],{"type":21,"tag":22,"props":23,"children":24},"element","blockquote",{},[25,31],{"type":21,"tag":26,"props":27,"children":28},"p",{},[29],{"type":30,"value":10},"text",{"type":21,"tag":26,"props":32,"children":33},{},[34],{"type":30,"value":35},"Do you have a webpage with the full code (html, js, css) to test how it works? Tia",{"type":21,"tag":37,"props":38,"children":40},"h2",{"id":39},"my-dear-remy-tia-both",[41],{"type":30,"value":42},"My dear... Remy? Tia? Both?",{"type":21,"tag":26,"props":44,"children":45},{},[46,48],{"type":30,"value":47},"Whoever you are, your wish is granted: ",{"type":21,"tag":49,"props":50,"children":54},"a",{"href":51,"rel":52},"http://sanemethod.github.io/CGWin/",[53],"nofollow",[55],{"type":30,"value":56},"CGWin Demo",{"type":21,"tag":26,"props":58,"children":59},{},[60,62,68],{"type":30,"value":61},"Not content to merely offer a live example of our ",{"type":21,"tag":49,"props":63,"children":65},{"href":64},"/search/custom/google/maps/user:ckeefer",[66],{"type":30,"value":67},"Custom Google Info Windows",{"type":30,"value":69},", we've also updated our implementation with panToView capability - that is, when you click on a marker and the resulting info window is outside the current map bounds, the map will now pan the minimum amount necessary to show the full info window.",{"type":21,"tag":26,"props":71,"children":72},{},[73],{"type":30,"value":74},"It's not as easy as you might expect! Let's take a look at what we have to do to make this happen (and then note the demo page again, just for good measure).",{"type":21,"tag":26,"props":76,"children":77},{},[78],{"type":30,"value":79},"So, let's start off with a big ol' block of code:",{"type":21,"tag":81,"props":82,"children":86},"pre",{"className":83,"code":84,"language":85,"meta":8,"style":8},"language-javascript shiki shiki-themes github-light github-dark","/**\n * If the custom window is not already entirely within the map view, pan the map the minimum amount\n * necessary to bring the custom info window fully into view.\n */\nCustomWindow.prototype.panToView = function(){\n    var position = this.position,\n        latlng = this.marker.getPosition(),\n        top = parseInt(this.container.style.top, 10),\n        cHeight = position.y - top,\n        cWidth = this.container.offsetWidth / 2,\n        map = this.getMap(),\n        center = map.getCenter(),\n        bounds = map.getBounds(),\n        degPerPixel = (function(){\n            var degs = {},\n                div = map.getDiv(),\n                span = bounds.toSpan();\n\n        degs.x = span.lng() / div.offsetWidth;\n        degs.y = span.lat() / div.offsetHeight;\n        return degs;\n    })(),\n    infoBounds = (function(){\n        var infoBounds = {};\n\n        infoBounds.north = latlng.lat() + cHeight * degPerPixel.y;\n        infoBounds.south = latlng.lat();\n        infoBounds.west = latlng.lng() - cWidth * degPerPixel.x;\n        infoBounds.east = latlng.lng() + cWidth * degPerPixel.x;\n        return infoBounds;\n    })(),\n    newCenter = (function(){\n        var ne = bounds.getNorthEast(),\n            sw = bounds.getSouthWest(),\n            north = ne.lat(),\n            east = ne.lng(),\n            south = sw.lat(),\n            west = sw.lng(),\n            x = center.lng(),\n            y = center.lat(),\n            shiftLng = ((infoBounds.west \u003C west) ? west - infoBounds.west : 0) +\n                ((infoBounds.east > east) ? east - infoBounds.east : 0),\n            shiftLat = ((infoBounds.north > north) ? north - infoBounds.north : 0) +\n                ((infoBounds.south \u003C south) ? south - infoBounds.south : 0);\n\n        return (shiftLng || shiftLat) ? new google.maps.LatLng(y - shiftLat, x - shiftLng) : void 0;\n    })();\n\nif (newCenter){\n    map.panTo(newCenter);\n    }\n\n};\n","javascript",[87],{"type":21,"tag":88,"props":89,"children":90},"code",{"__ignoreMap":8},[91,103,112,121,130,177,206,238,281,309,346,376,403,429,456,479,505,533,543,580,615,629,638,663,686,694,740,765,808,849,862,870,895,925,951,977,1002,1028,1053,1079,1104,1171,1220,1281,1330,1338,1421,1430,1438,1452,1471,1480,1488],{"type":21,"tag":92,"props":93,"children":96},"span",{"class":94,"line":95},"line",1,[97],{"type":21,"tag":92,"props":98,"children":100},{"style":99},"--shiki-default:#6A737D;--shiki-dark:#6A737D",[101],{"type":30,"value":102},"/**\n",{"type":21,"tag":92,"props":104,"children":106},{"class":94,"line":105},2,[107],{"type":21,"tag":92,"props":108,"children":109},{"style":99},[110],{"type":30,"value":111}," * If the custom window is not already entirely within the map view, pan the map the minimum amount\n",{"type":21,"tag":92,"props":113,"children":115},{"class":94,"line":114},3,[116],{"type":21,"tag":92,"props":117,"children":118},{"style":99},[119],{"type":30,"value":120}," * necessary to bring the custom info window fully into view.\n",{"type":21,"tag":92,"props":122,"children":124},{"class":94,"line":123},4,[125],{"type":21,"tag":92,"props":126,"children":127},{"style":99},[128],{"type":30,"value":129}," */\n",{"type":21,"tag":92,"props":131,"children":133},{"class":94,"line":132},5,[134,140,146,151,155,161,167,172],{"type":21,"tag":92,"props":135,"children":137},{"style":136},"--shiki-default:#005CC5;--shiki-dark:#79B8FF",[138],{"type":30,"value":139},"CustomWindow",{"type":21,"tag":92,"props":141,"children":143},{"style":142},"--shiki-default:#24292E;--shiki-dark:#E1E4E8",[144],{"type":30,"value":145},".",{"type":21,"tag":92,"props":147,"children":148},{"style":136},[149],{"type":30,"value":150},"prototype",{"type":21,"tag":92,"props":152,"children":153},{"style":142},[154],{"type":30,"value":145},{"type":21,"tag":92,"props":156,"children":158},{"style":157},"--shiki-default:#6F42C1;--shiki-dark:#B392F0",[159],{"type":30,"value":160},"panToView",{"type":21,"tag":92,"props":162,"children":164},{"style":163},"--shiki-default:#D73A49;--shiki-dark:#F97583",[165],{"type":30,"value":166}," =",{"type":21,"tag":92,"props":168,"children":169},{"style":163},[170],{"type":30,"value":171}," function",{"type":21,"tag":92,"props":173,"children":174},{"style":142},[175],{"type":30,"value":176},"(){\n",{"type":21,"tag":92,"props":178,"children":180},{"class":94,"line":179},6,[181,186,191,196,201],{"type":21,"tag":92,"props":182,"children":183},{"style":163},[184],{"type":30,"value":185},"    var",{"type":21,"tag":92,"props":187,"children":188},{"style":142},[189],{"type":30,"value":190}," position ",{"type":21,"tag":92,"props":192,"children":193},{"style":163},[194],{"type":30,"value":195},"=",{"type":21,"tag":92,"props":197,"children":198},{"style":136},[199],{"type":30,"value":200}," this",{"type":21,"tag":92,"props":202,"children":203},{"style":142},[204],{"type":30,"value":205},".position,\n",{"type":21,"tag":92,"props":207,"children":209},{"class":94,"line":208},7,[210,215,219,223,228,233],{"type":21,"tag":92,"props":211,"children":212},{"style":142},[213],{"type":30,"value":214},"        latlng ",{"type":21,"tag":92,"props":216,"children":217},{"style":163},[218],{"type":30,"value":195},{"type":21,"tag":92,"props":220,"children":221},{"style":136},[222],{"type":30,"value":200},{"type":21,"tag":92,"props":224,"children":225},{"style":142},[226],{"type":30,"value":227},".marker.",{"type":21,"tag":92,"props":229,"children":230},{"style":157},[231],{"type":30,"value":232},"getPosition",{"type":21,"tag":92,"props":234,"children":235},{"style":142},[236],{"type":30,"value":237},"(),\n",{"type":21,"tag":92,"props":239,"children":241},{"class":94,"line":240},8,[242,247,251,256,261,266,271,276],{"type":21,"tag":92,"props":243,"children":244},{"style":142},[245],{"type":30,"value":246},"        top ",{"type":21,"tag":92,"props":248,"children":249},{"style":163},[250],{"type":30,"value":195},{"type":21,"tag":92,"props":252,"children":253},{"style":157},[254],{"type":30,"value":255}," parseInt",{"type":21,"tag":92,"props":257,"children":258},{"style":142},[259],{"type":30,"value":260},"(",{"type":21,"tag":92,"props":262,"children":263},{"style":136},[264],{"type":30,"value":265},"this",{"type":21,"tag":92,"props":267,"children":268},{"style":142},[269],{"type":30,"value":270},".container.style.top, ",{"type":21,"tag":92,"props":272,"children":273},{"style":136},[274],{"type":30,"value":275},"10",{"type":21,"tag":92,"props":277,"children":278},{"style":142},[279],{"type":30,"value":280},"),\n",{"type":21,"tag":92,"props":282,"children":284},{"class":94,"line":283},9,[285,290,294,299,304],{"type":21,"tag":92,"props":286,"children":287},{"style":142},[288],{"type":30,"value":289},"        cHeight ",{"type":21,"tag":92,"props":291,"children":292},{"style":163},[293],{"type":30,"value":195},{"type":21,"tag":92,"props":295,"children":296},{"style":142},[297],{"type":30,"value":298}," position.y ",{"type":21,"tag":92,"props":300,"children":301},{"style":163},[302],{"type":30,"value":303},"-",{"type":21,"tag":92,"props":305,"children":306},{"style":142},[307],{"type":30,"value":308}," top,\n",{"type":21,"tag":92,"props":310,"children":312},{"class":94,"line":311},10,[313,318,322,326,331,336,341],{"type":21,"tag":92,"props":314,"children":315},{"style":142},[316],{"type":30,"value":317},"        cWidth ",{"type":21,"tag":92,"props":319,"children":320},{"style":163},[321],{"type":30,"value":195},{"type":21,"tag":92,"props":323,"children":324},{"style":136},[325],{"type":30,"value":200},{"type":21,"tag":92,"props":327,"children":328},{"style":142},[329],{"type":30,"value":330},".container.offsetWidth ",{"type":21,"tag":92,"props":332,"children":333},{"style":163},[334],{"type":30,"value":335},"/",{"type":21,"tag":92,"props":337,"children":338},{"style":136},[339],{"type":30,"value":340}," 2",{"type":21,"tag":92,"props":342,"children":343},{"style":142},[344],{"type":30,"value":345},",\n",{"type":21,"tag":92,"props":347,"children":349},{"class":94,"line":348},11,[350,355,359,363,367,372],{"type":21,"tag":92,"props":351,"children":352},{"style":142},[353],{"type":30,"value":354},"        map ",{"type":21,"tag":92,"props":356,"children":357},{"style":163},[358],{"type":30,"value":195},{"type":21,"tag":92,"props":360,"children":361},{"style":136},[362],{"type":30,"value":200},{"type":21,"tag":92,"props":364,"children":365},{"style":142},[366],{"type":30,"value":145},{"type":21,"tag":92,"props":368,"children":369},{"style":157},[370],{"type":30,"value":371},"getMap",{"type":21,"tag":92,"props":373,"children":374},{"style":142},[375],{"type":30,"value":237},{"type":21,"tag":92,"props":377,"children":379},{"class":94,"line":378},12,[380,385,389,394,399],{"type":21,"tag":92,"props":381,"children":382},{"style":142},[383],{"type":30,"value":384},"        center ",{"type":21,"tag":92,"props":386,"children":387},{"style":163},[388],{"type":30,"value":195},{"type":21,"tag":92,"props":390,"children":391},{"style":142},[392],{"type":30,"value":393}," map.",{"type":21,"tag":92,"props":395,"children":396},{"style":157},[397],{"type":30,"value":398},"getCenter",{"type":21,"tag":92,"props":400,"children":401},{"style":142},[402],{"type":30,"value":237},{"type":21,"tag":92,"props":404,"children":406},{"class":94,"line":405},13,[407,412,416,420,425],{"type":21,"tag":92,"props":408,"children":409},{"style":142},[410],{"type":30,"value":411},"        bounds ",{"type":21,"tag":92,"props":413,"children":414},{"style":163},[415],{"type":30,"value":195},{"type":21,"tag":92,"props":417,"children":418},{"style":142},[419],{"type":30,"value":393},{"type":21,"tag":92,"props":421,"children":422},{"style":157},[423],{"type":30,"value":424},"getBounds",{"type":21,"tag":92,"props":426,"children":427},{"style":142},[428],{"type":30,"value":237},{"type":21,"tag":92,"props":430,"children":432},{"class":94,"line":431},14,[433,438,442,447,452],{"type":21,"tag":92,"props":434,"children":435},{"style":142},[436],{"type":30,"value":437},"        degPerPixel ",{"type":21,"tag":92,"props":439,"children":440},{"style":163},[441],{"type":30,"value":195},{"type":21,"tag":92,"props":443,"children":444},{"style":142},[445],{"type":30,"value":446}," (",{"type":21,"tag":92,"props":448,"children":449},{"style":163},[450],{"type":30,"value":451},"function",{"type":21,"tag":92,"props":453,"children":454},{"style":142},[455],{"type":30,"value":176},{"type":21,"tag":92,"props":457,"children":459},{"class":94,"line":458},15,[460,465,470,474],{"type":21,"tag":92,"props":461,"children":462},{"style":163},[463],{"type":30,"value":464},"            var",{"type":21,"tag":92,"props":466,"children":467},{"style":142},[468],{"type":30,"value":469}," degs ",{"type":21,"tag":92,"props":471,"children":472},{"style":163},[473],{"type":30,"value":195},{"type":21,"tag":92,"props":475,"children":476},{"style":142},[477],{"type":30,"value":478}," {},\n",{"type":21,"tag":92,"props":480,"children":482},{"class":94,"line":481},16,[483,488,492,496,501],{"type":21,"tag":92,"props":484,"children":485},{"style":142},[486],{"type":30,"value":487},"                div ",{"type":21,"tag":92,"props":489,"children":490},{"style":163},[491],{"type":30,"value":195},{"type":21,"tag":92,"props":493,"children":494},{"style":142},[495],{"type":30,"value":393},{"type":21,"tag":92,"props":497,"children":498},{"style":157},[499],{"type":30,"value":500},"getDiv",{"type":21,"tag":92,"props":502,"children":503},{"style":142},[504],{"type":30,"value":237},{"type":21,"tag":92,"props":506,"children":508},{"class":94,"line":507},17,[509,514,518,523,528],{"type":21,"tag":92,"props":510,"children":511},{"style":142},[512],{"type":30,"value":513},"                span ",{"type":21,"tag":92,"props":515,"children":516},{"style":163},[517],{"type":30,"value":195},{"type":21,"tag":92,"props":519,"children":520},{"style":142},[521],{"type":30,"value":522}," bounds.",{"type":21,"tag":92,"props":524,"children":525},{"style":157},[526],{"type":30,"value":527},"toSpan",{"type":21,"tag":92,"props":529,"children":530},{"style":142},[531],{"type":30,"value":532},"();\n",{"type":21,"tag":92,"props":534,"children":536},{"class":94,"line":535},18,[537],{"type":21,"tag":92,"props":538,"children":540},{"emptyLinePlaceholder":539},true,[541],{"type":30,"value":542},"\n",{"type":21,"tag":92,"props":544,"children":546},{"class":94,"line":545},19,[547,552,556,561,566,571,575],{"type":21,"tag":92,"props":548,"children":549},{"style":142},[550],{"type":30,"value":551},"        degs.x ",{"type":21,"tag":92,"props":553,"children":554},{"style":163},[555],{"type":30,"value":195},{"type":21,"tag":92,"props":557,"children":558},{"style":142},[559],{"type":30,"value":560}," span.",{"type":21,"tag":92,"props":562,"children":563},{"style":157},[564],{"type":30,"value":565},"lng",{"type":21,"tag":92,"props":567,"children":568},{"style":142},[569],{"type":30,"value":570},"() ",{"type":21,"tag":92,"props":572,"children":573},{"style":163},[574],{"type":30,"value":335},{"type":21,"tag":92,"props":576,"children":577},{"style":142},[578],{"type":30,"value":579}," div.offsetWidth;\n",{"type":21,"tag":92,"props":581,"children":583},{"class":94,"line":582},20,[584,589,593,597,602,606,610],{"type":21,"tag":92,"props":585,"children":586},{"style":142},[587],{"type":30,"value":588},"        degs.y ",{"type":21,"tag":92,"props":590,"children":591},{"style":163},[592],{"type":30,"value":195},{"type":21,"tag":92,"props":594,"children":595},{"style":142},[596],{"type":30,"value":560},{"type":21,"tag":92,"props":598,"children":599},{"style":157},[600],{"type":30,"value":601},"lat",{"type":21,"tag":92,"props":603,"children":604},{"style":142},[605],{"type":30,"value":570},{"type":21,"tag":92,"props":607,"children":608},{"style":163},[609],{"type":30,"value":335},{"type":21,"tag":92,"props":611,"children":612},{"style":142},[613],{"type":30,"value":614}," div.offsetHeight;\n",{"type":21,"tag":92,"props":616,"children":618},{"class":94,"line":617},21,[619,624],{"type":21,"tag":92,"props":620,"children":621},{"style":163},[622],{"type":30,"value":623},"        return",{"type":21,"tag":92,"props":625,"children":626},{"style":142},[627],{"type":30,"value":628}," degs;\n",{"type":21,"tag":92,"props":630,"children":632},{"class":94,"line":631},22,[633],{"type":21,"tag":92,"props":634,"children":635},{"style":142},[636],{"type":30,"value":637},"    })(),\n",{"type":21,"tag":92,"props":639,"children":641},{"class":94,"line":640},23,[642,647,651,655,659],{"type":21,"tag":92,"props":643,"children":644},{"style":142},[645],{"type":30,"value":646},"    infoBounds ",{"type":21,"tag":92,"props":648,"children":649},{"style":163},[650],{"type":30,"value":195},{"type":21,"tag":92,"props":652,"children":653},{"style":142},[654],{"type":30,"value":446},{"type":21,"tag":92,"props":656,"children":657},{"style":163},[658],{"type":30,"value":451},{"type":21,"tag":92,"props":660,"children":661},{"style":142},[662],{"type":30,"value":176},{"type":21,"tag":92,"props":664,"children":666},{"class":94,"line":665},24,[667,672,677,681],{"type":21,"tag":92,"props":668,"children":669},{"style":163},[670],{"type":30,"value":671},"        var",{"type":21,"tag":92,"props":673,"children":674},{"style":142},[675],{"type":30,"value":676}," infoBounds ",{"type":21,"tag":92,"props":678,"children":679},{"style":163},[680],{"type":30,"value":195},{"type":21,"tag":92,"props":682,"children":683},{"style":142},[684],{"type":30,"value":685}," {};\n",{"type":21,"tag":92,"props":687,"children":689},{"class":94,"line":688},25,[690],{"type":21,"tag":92,"props":691,"children":692},{"emptyLinePlaceholder":539},[693],{"type":30,"value":542},{"type":21,"tag":92,"props":695,"children":697},{"class":94,"line":696},26,[698,703,707,712,716,720,725,730,735],{"type":21,"tag":92,"props":699,"children":700},{"style":142},[701],{"type":30,"value":702},"        infoBounds.north ",{"type":21,"tag":92,"props":704,"children":705},{"style":163},[706],{"type":30,"value":195},{"type":21,"tag":92,"props":708,"children":709},{"style":142},[710],{"type":30,"value":711}," latlng.",{"type":21,"tag":92,"props":713,"children":714},{"style":157},[715],{"type":30,"value":601},{"type":21,"tag":92,"props":717,"children":718},{"style":142},[719],{"type":30,"value":570},{"type":21,"tag":92,"props":721,"children":722},{"style":163},[723],{"type":30,"value":724},"+",{"type":21,"tag":92,"props":726,"children":727},{"style":142},[728],{"type":30,"value":729}," cHeight ",{"type":21,"tag":92,"props":731,"children":732},{"style":163},[733],{"type":30,"value":734},"*",{"type":21,"tag":92,"props":736,"children":737},{"style":142},[738],{"type":30,"value":739}," degPerPixel.y;\n",{"type":21,"tag":92,"props":741,"children":743},{"class":94,"line":742},27,[744,749,753,757,761],{"type":21,"tag":92,"props":745,"children":746},{"style":142},[747],{"type":30,"value":748},"        infoBounds.south ",{"type":21,"tag":92,"props":750,"children":751},{"style":163},[752],{"type":30,"value":195},{"type":21,"tag":92,"props":754,"children":755},{"style":142},[756],{"type":30,"value":711},{"type":21,"tag":92,"props":758,"children":759},{"style":157},[760],{"type":30,"value":601},{"type":21,"tag":92,"props":762,"children":763},{"style":142},[764],{"type":30,"value":532},{"type":21,"tag":92,"props":766,"children":768},{"class":94,"line":767},28,[769,774,778,782,786,790,794,799,803],{"type":21,"tag":92,"props":770,"children":771},{"style":142},[772],{"type":30,"value":773},"        infoBounds.west ",{"type":21,"tag":92,"props":775,"children":776},{"style":163},[777],{"type":30,"value":195},{"type":21,"tag":92,"props":779,"children":780},{"style":142},[781],{"type":30,"value":711},{"type":21,"tag":92,"props":783,"children":784},{"style":157},[785],{"type":30,"value":565},{"type":21,"tag":92,"props":787,"children":788},{"style":142},[789],{"type":30,"value":570},{"type":21,"tag":92,"props":791,"children":792},{"style":163},[793],{"type":30,"value":303},{"type":21,"tag":92,"props":795,"children":796},{"style":142},[797],{"type":30,"value":798}," cWidth ",{"type":21,"tag":92,"props":800,"children":801},{"style":163},[802],{"type":30,"value":734},{"type":21,"tag":92,"props":804,"children":805},{"style":142},[806],{"type":30,"value":807}," degPerPixel.x;\n",{"type":21,"tag":92,"props":809,"children":811},{"class":94,"line":810},29,[812,817,821,825,829,833,837,841,845],{"type":21,"tag":92,"props":813,"children":814},{"style":142},[815],{"type":30,"value":816},"        infoBounds.east ",{"type":21,"tag":92,"props":818,"children":819},{"style":163},[820],{"type":30,"value":195},{"type":21,"tag":92,"props":822,"children":823},{"style":142},[824],{"type":30,"value":711},{"type":21,"tag":92,"props":826,"children":827},{"style":157},[828],{"type":30,"value":565},{"type":21,"tag":92,"props":830,"children":831},{"style":142},[832],{"type":30,"value":570},{"type":21,"tag":92,"props":834,"children":835},{"style":163},[836],{"type":30,"value":724},{"type":21,"tag":92,"props":838,"children":839},{"style":142},[840],{"type":30,"value":798},{"type":21,"tag":92,"props":842,"children":843},{"style":163},[844],{"type":30,"value":734},{"type":21,"tag":92,"props":846,"children":847},{"style":142},[848],{"type":30,"value":807},{"type":21,"tag":92,"props":850,"children":852},{"class":94,"line":851},30,[853,857],{"type":21,"tag":92,"props":854,"children":855},{"style":163},[856],{"type":30,"value":623},{"type":21,"tag":92,"props":858,"children":859},{"style":142},[860],{"type":30,"value":861}," infoBounds;\n",{"type":21,"tag":92,"props":863,"children":865},{"class":94,"line":864},31,[866],{"type":21,"tag":92,"props":867,"children":868},{"style":142},[869],{"type":30,"value":637},{"type":21,"tag":92,"props":871,"children":873},{"class":94,"line":872},32,[874,879,883,887,891],{"type":21,"tag":92,"props":875,"children":876},{"style":142},[877],{"type":30,"value":878},"    newCenter ",{"type":21,"tag":92,"props":880,"children":881},{"style":163},[882],{"type":30,"value":195},{"type":21,"tag":92,"props":884,"children":885},{"style":142},[886],{"type":30,"value":446},{"type":21,"tag":92,"props":888,"children":889},{"style":163},[890],{"type":30,"value":451},{"type":21,"tag":92,"props":892,"children":893},{"style":142},[894],{"type":30,"value":176},{"type":21,"tag":92,"props":896,"children":898},{"class":94,"line":897},33,[899,903,908,912,916,921],{"type":21,"tag":92,"props":900,"children":901},{"style":163},[902],{"type":30,"value":671},{"type":21,"tag":92,"props":904,"children":905},{"style":142},[906],{"type":30,"value":907}," ne ",{"type":21,"tag":92,"props":909,"children":910},{"style":163},[911],{"type":30,"value":195},{"type":21,"tag":92,"props":913,"children":914},{"style":142},[915],{"type":30,"value":522},{"type":21,"tag":92,"props":917,"children":918},{"style":157},[919],{"type":30,"value":920},"getNorthEast",{"type":21,"tag":92,"props":922,"children":923},{"style":142},[924],{"type":30,"value":237},{"type":21,"tag":92,"props":926,"children":928},{"class":94,"line":927},34,[929,934,938,942,947],{"type":21,"tag":92,"props":930,"children":931},{"style":142},[932],{"type":30,"value":933},"            sw ",{"type":21,"tag":92,"props":935,"children":936},{"style":163},[937],{"type":30,"value":195},{"type":21,"tag":92,"props":939,"children":940},{"style":142},[941],{"type":30,"value":522},{"type":21,"tag":92,"props":943,"children":944},{"style":157},[945],{"type":30,"value":946},"getSouthWest",{"type":21,"tag":92,"props":948,"children":949},{"style":142},[950],{"type":30,"value":237},{"type":21,"tag":92,"props":952,"children":954},{"class":94,"line":953},35,[955,960,964,969,973],{"type":21,"tag":92,"props":956,"children":957},{"style":142},[958],{"type":30,"value":959},"            north ",{"type":21,"tag":92,"props":961,"children":962},{"style":163},[963],{"type":30,"value":195},{"type":21,"tag":92,"props":965,"children":966},{"style":142},[967],{"type":30,"value":968}," ne.",{"type":21,"tag":92,"props":970,"children":971},{"style":157},[972],{"type":30,"value":601},{"type":21,"tag":92,"props":974,"children":975},{"style":142},[976],{"type":30,"value":237},{"type":21,"tag":92,"props":978,"children":980},{"class":94,"line":979},36,[981,986,990,994,998],{"type":21,"tag":92,"props":982,"children":983},{"style":142},[984],{"type":30,"value":985},"            east ",{"type":21,"tag":92,"props":987,"children":988},{"style":163},[989],{"type":30,"value":195},{"type":21,"tag":92,"props":991,"children":992},{"style":142},[993],{"type":30,"value":968},{"type":21,"tag":92,"props":995,"children":996},{"style":157},[997],{"type":30,"value":565},{"type":21,"tag":92,"props":999,"children":1000},{"style":142},[1001],{"type":30,"value":237},{"type":21,"tag":92,"props":1003,"children":1005},{"class":94,"line":1004},37,[1006,1011,1015,1020,1024],{"type":21,"tag":92,"props":1007,"children":1008},{"style":142},[1009],{"type":30,"value":1010},"            south ",{"type":21,"tag":92,"props":1012,"children":1013},{"style":163},[1014],{"type":30,"value":195},{"type":21,"tag":92,"props":1016,"children":1017},{"style":142},[1018],{"type":30,"value":1019}," sw.",{"type":21,"tag":92,"props":1021,"children":1022},{"style":157},[1023],{"type":30,"value":601},{"type":21,"tag":92,"props":1025,"children":1026},{"style":142},[1027],{"type":30,"value":237},{"type":21,"tag":92,"props":1029,"children":1031},{"class":94,"line":1030},38,[1032,1037,1041,1045,1049],{"type":21,"tag":92,"props":1033,"children":1034},{"style":142},[1035],{"type":30,"value":1036},"            west ",{"type":21,"tag":92,"props":1038,"children":1039},{"style":163},[1040],{"type":30,"value":195},{"type":21,"tag":92,"props":1042,"children":1043},{"style":142},[1044],{"type":30,"value":1019},{"type":21,"tag":92,"props":1046,"children":1047},{"style":157},[1048],{"type":30,"value":565},{"type":21,"tag":92,"props":1050,"children":1051},{"style":142},[1052],{"type":30,"value":237},{"type":21,"tag":92,"props":1054,"children":1056},{"class":94,"line":1055},39,[1057,1062,1066,1071,1075],{"type":21,"tag":92,"props":1058,"children":1059},{"style":142},[1060],{"type":30,"value":1061},"            x ",{"type":21,"tag":92,"props":1063,"children":1064},{"style":163},[1065],{"type":30,"value":195},{"type":21,"tag":92,"props":1067,"children":1068},{"style":142},[1069],{"type":30,"value":1070}," center.",{"type":21,"tag":92,"props":1072,"children":1073},{"style":157},[1074],{"type":30,"value":565},{"type":21,"tag":92,"props":1076,"children":1077},{"style":142},[1078],{"type":30,"value":237},{"type":21,"tag":92,"props":1080,"children":1082},{"class":94,"line":1081},40,[1083,1088,1092,1096,1100],{"type":21,"tag":92,"props":1084,"children":1085},{"style":142},[1086],{"type":30,"value":1087},"            y ",{"type":21,"tag":92,"props":1089,"children":1090},{"style":163},[1091],{"type":30,"value":195},{"type":21,"tag":92,"props":1093,"children":1094},{"style":142},[1095],{"type":30,"value":1070},{"type":21,"tag":92,"props":1097,"children":1098},{"style":157},[1099],{"type":30,"value":601},{"type":21,"tag":92,"props":1101,"children":1102},{"style":142},[1103],{"type":30,"value":237},{"type":21,"tag":92,"props":1105,"children":1107},{"class":94,"line":1106},41,[1108,1113,1117,1122,1127,1132,1137,1142,1146,1151,1156,1161,1166],{"type":21,"tag":92,"props":1109,"children":1110},{"style":142},[1111],{"type":30,"value":1112},"            shiftLng ",{"type":21,"tag":92,"props":1114,"children":1115},{"style":163},[1116],{"type":30,"value":195},{"type":21,"tag":92,"props":1118,"children":1119},{"style":142},[1120],{"type":30,"value":1121}," ((infoBounds.west ",{"type":21,"tag":92,"props":1123,"children":1124},{"style":163},[1125],{"type":30,"value":1126},"\u003C",{"type":21,"tag":92,"props":1128,"children":1129},{"style":142},[1130],{"type":30,"value":1131}," west) ",{"type":21,"tag":92,"props":1133,"children":1134},{"style":163},[1135],{"type":30,"value":1136},"?",{"type":21,"tag":92,"props":1138,"children":1139},{"style":142},[1140],{"type":30,"value":1141}," west ",{"type":21,"tag":92,"props":1143,"children":1144},{"style":163},[1145],{"type":30,"value":303},{"type":21,"tag":92,"props":1147,"children":1148},{"style":142},[1149],{"type":30,"value":1150}," infoBounds.west ",{"type":21,"tag":92,"props":1152,"children":1153},{"style":163},[1154],{"type":30,"value":1155},":",{"type":21,"tag":92,"props":1157,"children":1158},{"style":136},[1159],{"type":30,"value":1160}," 0",{"type":21,"tag":92,"props":1162,"children":1163},{"style":142},[1164],{"type":30,"value":1165},") ",{"type":21,"tag":92,"props":1167,"children":1168},{"style":163},[1169],{"type":30,"value":1170},"+\n",{"type":21,"tag":92,"props":1172,"children":1174},{"class":94,"line":1173},42,[1175,1180,1185,1190,1194,1199,1203,1208,1212,1216],{"type":21,"tag":92,"props":1176,"children":1177},{"style":142},[1178],{"type":30,"value":1179},"                ((infoBounds.east ",{"type":21,"tag":92,"props":1181,"children":1182},{"style":163},[1183],{"type":30,"value":1184},">",{"type":21,"tag":92,"props":1186,"children":1187},{"style":142},[1188],{"type":30,"value":1189}," east) ",{"type":21,"tag":92,"props":1191,"children":1192},{"style":163},[1193],{"type":30,"value":1136},{"type":21,"tag":92,"props":1195,"children":1196},{"style":142},[1197],{"type":30,"value":1198}," east ",{"type":21,"tag":92,"props":1200,"children":1201},{"style":163},[1202],{"type":30,"value":303},{"type":21,"tag":92,"props":1204,"children":1205},{"style":142},[1206],{"type":30,"value":1207}," infoBounds.east ",{"type":21,"tag":92,"props":1209,"children":1210},{"style":163},[1211],{"type":30,"value":1155},{"type":21,"tag":92,"props":1213,"children":1214},{"style":136},[1215],{"type":30,"value":1160},{"type":21,"tag":92,"props":1217,"children":1218},{"style":142},[1219],{"type":30,"value":280},{"type":21,"tag":92,"props":1221,"children":1223},{"class":94,"line":1222},43,[1224,1229,1233,1238,1242,1247,1251,1256,1260,1265,1269,1273,1277],{"type":21,"tag":92,"props":1225,"children":1226},{"style":142},[1227],{"type":30,"value":1228},"            shiftLat ",{"type":21,"tag":92,"props":1230,"children":1231},{"style":163},[1232],{"type":30,"value":195},{"type":21,"tag":92,"props":1234,"children":1235},{"style":142},[1236],{"type":30,"value":1237}," ((infoBounds.north ",{"type":21,"tag":92,"props":1239,"children":1240},{"style":163},[1241],{"type":30,"value":1184},{"type":21,"tag":92,"props":1243,"children":1244},{"style":142},[1245],{"type":30,"value":1246}," north) ",{"type":21,"tag":92,"props":1248,"children":1249},{"style":163},[1250],{"type":30,"value":1136},{"type":21,"tag":92,"props":1252,"children":1253},{"style":142},[1254],{"type":30,"value":1255}," north ",{"type":21,"tag":92,"props":1257,"children":1258},{"style":163},[1259],{"type":30,"value":303},{"type":21,"tag":92,"props":1261,"children":1262},{"style":142},[1263],{"type":30,"value":1264}," infoBounds.north ",{"type":21,"tag":92,"props":1266,"children":1267},{"style":163},[1268],{"type":30,"value":1155},{"type":21,"tag":92,"props":1270,"children":1271},{"style":136},[1272],{"type":30,"value":1160},{"type":21,"tag":92,"props":1274,"children":1275},{"style":142},[1276],{"type":30,"value":1165},{"type":21,"tag":92,"props":1278,"children":1279},{"style":163},[1280],{"type":30,"value":1170},{"type":21,"tag":92,"props":1282,"children":1284},{"class":94,"line":1283},44,[1285,1290,1294,1299,1303,1308,1312,1317,1321,1325],{"type":21,"tag":92,"props":1286,"children":1287},{"style":142},[1288],{"type":30,"value":1289},"                ((infoBounds.south ",{"type":21,"tag":92,"props":1291,"children":1292},{"style":163},[1293],{"type":30,"value":1126},{"type":21,"tag":92,"props":1295,"children":1296},{"style":142},[1297],{"type":30,"value":1298}," south) ",{"type":21,"tag":92,"props":1300,"children":1301},{"style":163},[1302],{"type":30,"value":1136},{"type":21,"tag":92,"props":1304,"children":1305},{"style":142},[1306],{"type":30,"value":1307}," south ",{"type":21,"tag":92,"props":1309,"children":1310},{"style":163},[1311],{"type":30,"value":303},{"type":21,"tag":92,"props":1313,"children":1314},{"style":142},[1315],{"type":30,"value":1316}," infoBounds.south ",{"type":21,"tag":92,"props":1318,"children":1319},{"style":163},[1320],{"type":30,"value":1155},{"type":21,"tag":92,"props":1322,"children":1323},{"style":136},[1324],{"type":30,"value":1160},{"type":21,"tag":92,"props":1326,"children":1327},{"style":142},[1328],{"type":30,"value":1329},");\n",{"type":21,"tag":92,"props":1331,"children":1333},{"class":94,"line":1332},45,[1334],{"type":21,"tag":92,"props":1335,"children":1336},{"emptyLinePlaceholder":539},[1337],{"type":30,"value":542},{"type":21,"tag":92,"props":1339,"children":1341},{"class":94,"line":1340},46,[1342,1346,1351,1356,1361,1365,1370,1375,1380,1385,1389,1394,1398,1403,1407,1412,1416],{"type":21,"tag":92,"props":1343,"children":1344},{"style":163},[1345],{"type":30,"value":623},{"type":21,"tag":92,"props":1347,"children":1348},{"style":142},[1349],{"type":30,"value":1350}," (shiftLng ",{"type":21,"tag":92,"props":1352,"children":1353},{"style":163},[1354],{"type":30,"value":1355},"||",{"type":21,"tag":92,"props":1357,"children":1358},{"style":142},[1359],{"type":30,"value":1360}," shiftLat) ",{"type":21,"tag":92,"props":1362,"children":1363},{"style":163},[1364],{"type":30,"value":1136},{"type":21,"tag":92,"props":1366,"children":1367},{"style":163},[1368],{"type":30,"value":1369}," new",{"type":21,"tag":92,"props":1371,"children":1372},{"style":142},[1373],{"type":30,"value":1374}," google.maps.",{"type":21,"tag":92,"props":1376,"children":1377},{"style":157},[1378],{"type":30,"value":1379},"LatLng",{"type":21,"tag":92,"props":1381,"children":1382},{"style":142},[1383],{"type":30,"value":1384},"(y ",{"type":21,"tag":92,"props":1386,"children":1387},{"style":163},[1388],{"type":30,"value":303},{"type":21,"tag":92,"props":1390,"children":1391},{"style":142},[1392],{"type":30,"value":1393}," shiftLat, x ",{"type":21,"tag":92,"props":1395,"children":1396},{"style":163},[1397],{"type":30,"value":303},{"type":21,"tag":92,"props":1399,"children":1400},{"style":142},[1401],{"type":30,"value":1402}," shiftLng) ",{"type":21,"tag":92,"props":1404,"children":1405},{"style":163},[1406],{"type":30,"value":1155},{"type":21,"tag":92,"props":1408,"children":1409},{"style":163},[1410],{"type":30,"value":1411}," void",{"type":21,"tag":92,"props":1413,"children":1414},{"style":136},[1415],{"type":30,"value":1160},{"type":21,"tag":92,"props":1417,"children":1418},{"style":142},[1419],{"type":30,"value":1420},";\n",{"type":21,"tag":92,"props":1422,"children":1424},{"class":94,"line":1423},47,[1425],{"type":21,"tag":92,"props":1426,"children":1427},{"style":142},[1428],{"type":30,"value":1429},"    })();\n",{"type":21,"tag":92,"props":1431,"children":1433},{"class":94,"line":1432},48,[1434],{"type":21,"tag":92,"props":1435,"children":1436},{"emptyLinePlaceholder":539},[1437],{"type":30,"value":542},{"type":21,"tag":92,"props":1439,"children":1441},{"class":94,"line":1440},49,[1442,1447],{"type":21,"tag":92,"props":1443,"children":1444},{"style":163},[1445],{"type":30,"value":1446},"if",{"type":21,"tag":92,"props":1448,"children":1449},{"style":142},[1450],{"type":30,"value":1451}," (newCenter){\n",{"type":21,"tag":92,"props":1453,"children":1455},{"class":94,"line":1454},50,[1456,1461,1466],{"type":21,"tag":92,"props":1457,"children":1458},{"style":142},[1459],{"type":30,"value":1460},"    map.",{"type":21,"tag":92,"props":1462,"children":1463},{"style":157},[1464],{"type":30,"value":1465},"panTo",{"type":21,"tag":92,"props":1467,"children":1468},{"style":142},[1469],{"type":30,"value":1470},"(newCenter);\n",{"type":21,"tag":92,"props":1472,"children":1474},{"class":94,"line":1473},51,[1475],{"type":21,"tag":92,"props":1476,"children":1477},{"style":142},[1478],{"type":30,"value":1479},"    }\n",{"type":21,"tag":92,"props":1481,"children":1483},{"class":94,"line":1482},52,[1484],{"type":21,"tag":92,"props":1485,"children":1486},{"emptyLinePlaceholder":539},[1487],{"type":30,"value":542},{"type":21,"tag":92,"props":1489,"children":1491},{"class":94,"line":1490},53,[1492],{"type":21,"tag":92,"props":1493,"children":1494},{"style":142},[1495],{"type":30,"value":1496},"};\n",{"type":21,"tag":26,"props":1498,"children":1499},{},[1500,1502,1508,1510,1517],{"type":30,"value":1501},"You'll note almost all of the work happens in the long, run-on ",{"type":21,"tag":88,"props":1503,"children":1505},{"className":1504},[],[1506],{"type":30,"value":1507},"var",{"type":30,"value":1509}," statement. At first blush, this looks like a mere effort at character saving (all those extra vars would be pretty messy) - but thanks to Javascript ",{"type":21,"tag":49,"props":1511,"children":1514},{"href":1512,"rel":1513},"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/var#var_hoisting",[53],[1515],{"type":30,"value":1516},"var hoisting",{"type":30,"value":1518}," its actually a better representation of what the function block looks like to the runtime. But I digress.",{"type":21,"tag":81,"props":1520,"children":1522},{"className":83,"code":1521,"language":85,"meta":8,"style":8},"var position = this.position,\n    latlng = this.marker.getPosition(),\n    top = parseInt(this.container.style.top, 10),\n    cHeight = position.y - top,\n    cWidth = this.container.offsetWidth / 2,\n    map = this.getMap(),\n    center = map.getCenter(),\n    bounds = map.getBounds(),\n",[1523],{"type":21,"tag":88,"props":1524,"children":1525},{"__ignoreMap":8},[1526,1549,1577,1613,1637,1669,1697,1721],{"type":21,"tag":92,"props":1527,"children":1528},{"class":94,"line":95},[1529,1533,1537,1541,1545],{"type":21,"tag":92,"props":1530,"children":1531},{"style":163},[1532],{"type":30,"value":1507},{"type":21,"tag":92,"props":1534,"children":1535},{"style":142},[1536],{"type":30,"value":190},{"type":21,"tag":92,"props":1538,"children":1539},{"style":163},[1540],{"type":30,"value":195},{"type":21,"tag":92,"props":1542,"children":1543},{"style":136},[1544],{"type":30,"value":200},{"type":21,"tag":92,"props":1546,"children":1547},{"style":142},[1548],{"type":30,"value":205},{"type":21,"tag":92,"props":1550,"children":1551},{"class":94,"line":105},[1552,1557,1561,1565,1569,1573],{"type":21,"tag":92,"props":1553,"children":1554},{"style":142},[1555],{"type":30,"value":1556},"    latlng ",{"type":21,"tag":92,"props":1558,"children":1559},{"style":163},[1560],{"type":30,"value":195},{"type":21,"tag":92,"props":1562,"children":1563},{"style":136},[1564],{"type":30,"value":200},{"type":21,"tag":92,"props":1566,"children":1567},{"style":142},[1568],{"type":30,"value":227},{"type":21,"tag":92,"props":1570,"children":1571},{"style":157},[1572],{"type":30,"value":232},{"type":21,"tag":92,"props":1574,"children":1575},{"style":142},[1576],{"type":30,"value":237},{"type":21,"tag":92,"props":1578,"children":1579},{"class":94,"line":114},[1580,1585,1589,1593,1597,1601,1605,1609],{"type":21,"tag":92,"props":1581,"children":1582},{"style":142},[1583],{"type":30,"value":1584},"    top ",{"type":21,"tag":92,"props":1586,"children":1587},{"style":163},[1588],{"type":30,"value":195},{"type":21,"tag":92,"props":1590,"children":1591},{"style":157},[1592],{"type":30,"value":255},{"type":21,"tag":92,"props":1594,"children":1595},{"style":142},[1596],{"type":30,"value":260},{"type":21,"tag":92,"props":1598,"children":1599},{"style":136},[1600],{"type":30,"value":265},{"type":21,"tag":92,"props":1602,"children":1603},{"style":142},[1604],{"type":30,"value":270},{"type":21,"tag":92,"props":1606,"children":1607},{"style":136},[1608],{"type":30,"value":275},{"type":21,"tag":92,"props":1610,"children":1611},{"style":142},[1612],{"type":30,"value":280},{"type":21,"tag":92,"props":1614,"children":1615},{"class":94,"line":123},[1616,1621,1625,1629,1633],{"type":21,"tag":92,"props":1617,"children":1618},{"style":142},[1619],{"type":30,"value":1620},"    cHeight ",{"type":21,"tag":92,"props":1622,"children":1623},{"style":163},[1624],{"type":30,"value":195},{"type":21,"tag":92,"props":1626,"children":1627},{"style":142},[1628],{"type":30,"value":298},{"type":21,"tag":92,"props":1630,"children":1631},{"style":163},[1632],{"type":30,"value":303},{"type":21,"tag":92,"props":1634,"children":1635},{"style":142},[1636],{"type":30,"value":308},{"type":21,"tag":92,"props":1638,"children":1639},{"class":94,"line":132},[1640,1645,1649,1653,1657,1661,1665],{"type":21,"tag":92,"props":1641,"children":1642},{"style":142},[1643],{"type":30,"value":1644},"    cWidth ",{"type":21,"tag":92,"props":1646,"children":1647},{"style":163},[1648],{"type":30,"value":195},{"type":21,"tag":92,"props":1650,"children":1651},{"style":136},[1652],{"type":30,"value":200},{"type":21,"tag":92,"props":1654,"children":1655},{"style":142},[1656],{"type":30,"value":330},{"type":21,"tag":92,"props":1658,"children":1659},{"style":163},[1660],{"type":30,"value":335},{"type":21,"tag":92,"props":1662,"children":1663},{"style":136},[1664],{"type":30,"value":340},{"type":21,"tag":92,"props":1666,"children":1667},{"style":142},[1668],{"type":30,"value":345},{"type":21,"tag":92,"props":1670,"children":1671},{"class":94,"line":179},[1672,1677,1681,1685,1689,1693],{"type":21,"tag":92,"props":1673,"children":1674},{"style":142},[1675],{"type":30,"value":1676},"    map ",{"type":21,"tag":92,"props":1678,"children":1679},{"style":163},[1680],{"type":30,"value":195},{"type":21,"tag":92,"props":1682,"children":1683},{"style":136},[1684],{"type":30,"value":200},{"type":21,"tag":92,"props":1686,"children":1687},{"style":142},[1688],{"type":30,"value":145},{"type":21,"tag":92,"props":1690,"children":1691},{"style":157},[1692],{"type":30,"value":371},{"type":21,"tag":92,"props":1694,"children":1695},{"style":142},[1696],{"type":30,"value":237},{"type":21,"tag":92,"props":1698,"children":1699},{"class":94,"line":208},[1700,1705,1709,1713,1717],{"type":21,"tag":92,"props":1701,"children":1702},{"style":142},[1703],{"type":30,"value":1704},"    center ",{"type":21,"tag":92,"props":1706,"children":1707},{"style":163},[1708],{"type":30,"value":195},{"type":21,"tag":92,"props":1710,"children":1711},{"style":142},[1712],{"type":30,"value":393},{"type":21,"tag":92,"props":1714,"children":1715},{"style":157},[1716],{"type":30,"value":398},{"type":21,"tag":92,"props":1718,"children":1719},{"style":142},[1720],{"type":30,"value":237},{"type":21,"tag":92,"props":1722,"children":1723},{"class":94,"line":240},[1724,1729,1733,1737,1741],{"type":21,"tag":92,"props":1725,"children":1726},{"style":142},[1727],{"type":30,"value":1728},"    bounds ",{"type":21,"tag":92,"props":1730,"children":1731},{"style":163},[1732],{"type":30,"value":195},{"type":21,"tag":92,"props":1734,"children":1735},{"style":142},[1736],{"type":30,"value":393},{"type":21,"tag":92,"props":1738,"children":1739},{"style":157},[1740],{"type":30,"value":424},{"type":21,"tag":92,"props":1742,"children":1743},{"style":142},[1744],{"type":30,"value":237},{"type":21,"tag":26,"props":1746,"children":1747},{},[1748],{"type":30,"value":1749},"We start off by getting the locations and bounds of a few things - namely, the position of the custom window itself, the position of its marker, the dimensions of the container, the map and its center and bounds, all for use in later computations.",{"type":21,"tag":81,"props":1751,"children":1753},{"className":83,"code":1752,"language":85,"meta":8,"style":8},"degPerPixel = (function(){\n    var degs = {},\n        div = map.getDiv(),\n        span = bounds.toSpan();\n\ndegs.x = span.lng() / div.offsetWidth;\ndegs.y = span.lat() / div.offsetHeight;\nreturn degs;\n})(),\n",[1754],{"type":21,"tag":88,"props":1755,"children":1756},{"__ignoreMap":8},[1757,1781,1800,1824,1848,1855,1887,1919,1931],{"type":21,"tag":92,"props":1758,"children":1759},{"class":94,"line":95},[1760,1765,1769,1773,1777],{"type":21,"tag":92,"props":1761,"children":1762},{"style":142},[1763],{"type":30,"value":1764},"degPerPixel ",{"type":21,"tag":92,"props":1766,"children":1767},{"style":163},[1768],{"type":30,"value":195},{"type":21,"tag":92,"props":1770,"children":1771},{"style":142},[1772],{"type":30,"value":446},{"type":21,"tag":92,"props":1774,"children":1775},{"style":163},[1776],{"type":30,"value":451},{"type":21,"tag":92,"props":1778,"children":1779},{"style":142},[1780],{"type":30,"value":176},{"type":21,"tag":92,"props":1782,"children":1783},{"class":94,"line":105},[1784,1788,1792,1796],{"type":21,"tag":92,"props":1785,"children":1786},{"style":163},[1787],{"type":30,"value":185},{"type":21,"tag":92,"props":1789,"children":1790},{"style":142},[1791],{"type":30,"value":469},{"type":21,"tag":92,"props":1793,"children":1794},{"style":163},[1795],{"type":30,"value":195},{"type":21,"tag":92,"props":1797,"children":1798},{"style":142},[1799],{"type":30,"value":478},{"type":21,"tag":92,"props":1801,"children":1802},{"class":94,"line":114},[1803,1808,1812,1816,1820],{"type":21,"tag":92,"props":1804,"children":1805},{"style":142},[1806],{"type":30,"value":1807},"        div ",{"type":21,"tag":92,"props":1809,"children":1810},{"style":163},[1811],{"type":30,"value":195},{"type":21,"tag":92,"props":1813,"children":1814},{"style":142},[1815],{"type":30,"value":393},{"type":21,"tag":92,"props":1817,"children":1818},{"style":157},[1819],{"type":30,"value":500},{"type":21,"tag":92,"props":1821,"children":1822},{"style":142},[1823],{"type":30,"value":237},{"type":21,"tag":92,"props":1825,"children":1826},{"class":94,"line":123},[1827,1832,1836,1840,1844],{"type":21,"tag":92,"props":1828,"children":1829},{"style":142},[1830],{"type":30,"value":1831},"        span ",{"type":21,"tag":92,"props":1833,"children":1834},{"style":163},[1835],{"type":30,"value":195},{"type":21,"tag":92,"props":1837,"children":1838},{"style":142},[1839],{"type":30,"value":522},{"type":21,"tag":92,"props":1841,"children":1842},{"style":157},[1843],{"type":30,"value":527},{"type":21,"tag":92,"props":1845,"children":1846},{"style":142},[1847],{"type":30,"value":532},{"type":21,"tag":92,"props":1849,"children":1850},{"class":94,"line":132},[1851],{"type":21,"tag":92,"props":1852,"children":1853},{"emptyLinePlaceholder":539},[1854],{"type":30,"value":542},{"type":21,"tag":92,"props":1856,"children":1857},{"class":94,"line":179},[1858,1863,1867,1871,1875,1879,1883],{"type":21,"tag":92,"props":1859,"children":1860},{"style":142},[1861],{"type":30,"value":1862},"degs.x ",{"type":21,"tag":92,"props":1864,"children":1865},{"style":163},[1866],{"type":30,"value":195},{"type":21,"tag":92,"props":1868,"children":1869},{"style":142},[1870],{"type":30,"value":560},{"type":21,"tag":92,"props":1872,"children":1873},{"style":157},[1874],{"type":30,"value":565},{"type":21,"tag":92,"props":1876,"children":1877},{"style":142},[1878],{"type":30,"value":570},{"type":21,"tag":92,"props":1880,"children":1881},{"style":163},[1882],{"type":30,"value":335},{"type":21,"tag":92,"props":1884,"children":1885},{"style":142},[1886],{"type":30,"value":579},{"type":21,"tag":92,"props":1888,"children":1889},{"class":94,"line":208},[1890,1895,1899,1903,1907,1911,1915],{"type":21,"tag":92,"props":1891,"children":1892},{"style":142},[1893],{"type":30,"value":1894},"degs.y ",{"type":21,"tag":92,"props":1896,"children":1897},{"style":163},[1898],{"type":30,"value":195},{"type":21,"tag":92,"props":1900,"children":1901},{"style":142},[1902],{"type":30,"value":560},{"type":21,"tag":92,"props":1904,"children":1905},{"style":157},[1906],{"type":30,"value":601},{"type":21,"tag":92,"props":1908,"children":1909},{"style":142},[1910],{"type":30,"value":570},{"type":21,"tag":92,"props":1912,"children":1913},{"style":163},[1914],{"type":30,"value":335},{"type":21,"tag":92,"props":1916,"children":1917},{"style":142},[1918],{"type":30,"value":614},{"type":21,"tag":92,"props":1920,"children":1921},{"class":94,"line":240},[1922,1927],{"type":21,"tag":92,"props":1923,"children":1924},{"style":163},[1925],{"type":30,"value":1926},"return",{"type":21,"tag":92,"props":1928,"children":1929},{"style":142},[1930],{"type":30,"value":628},{"type":21,"tag":92,"props":1932,"children":1933},{"class":94,"line":283},[1934],{"type":21,"tag":92,"props":1935,"children":1936},{"style":142},[1937],{"type":30,"value":1938},"})(),\n",{"type":21,"tag":26,"props":1940,"children":1941},{},[1942],{"type":30,"value":1943},"Here, we create a closure to return an object whose values are the calculated number of degrees per pixel in our map view on the x and y axes. We need this in order to calculate the difference between the current bounds and position of the infoWindow versus the bounds of the map.",{"type":21,"tag":81,"props":1945,"children":1947},{"className":83,"code":1946,"language":85,"meta":8,"style":8},"infoBounds = (function(){\n    var infoBounds = {};\n\ninfoBounds.north = latlng.lat() + cHeight * degPerPixel.y;\ninfoBounds.south = latlng.lat();\ninfoBounds.west = latlng.lng() - cWidth * degPerPixel.x;\ninfoBounds.east = latlng.lng() + cWidth * degPerPixel.x;\nreturn infoBounds;\n\n})(),\n",[1948],{"type":21,"tag":88,"props":1949,"children":1950},{"__ignoreMap":8},[1951,1975,1994,2001,2041,2065,2105,2145,2156,2163],{"type":21,"tag":92,"props":1952,"children":1953},{"class":94,"line":95},[1954,1959,1963,1967,1971],{"type":21,"tag":92,"props":1955,"children":1956},{"style":142},[1957],{"type":30,"value":1958},"infoBounds ",{"type":21,"tag":92,"props":1960,"children":1961},{"style":163},[1962],{"type":30,"value":195},{"type":21,"tag":92,"props":1964,"children":1965},{"style":142},[1966],{"type":30,"value":446},{"type":21,"tag":92,"props":1968,"children":1969},{"style":163},[1970],{"type":30,"value":451},{"type":21,"tag":92,"props":1972,"children":1973},{"style":142},[1974],{"type":30,"value":176},{"type":21,"tag":92,"props":1976,"children":1977},{"class":94,"line":105},[1978,1982,1986,1990],{"type":21,"tag":92,"props":1979,"children":1980},{"style":163},[1981],{"type":30,"value":185},{"type":21,"tag":92,"props":1983,"children":1984},{"style":142},[1985],{"type":30,"value":676},{"type":21,"tag":92,"props":1987,"children":1988},{"style":163},[1989],{"type":30,"value":195},{"type":21,"tag":92,"props":1991,"children":1992},{"style":142},[1993],{"type":30,"value":685},{"type":21,"tag":92,"props":1995,"children":1996},{"class":94,"line":114},[1997],{"type":21,"tag":92,"props":1998,"children":1999},{"emptyLinePlaceholder":539},[2000],{"type":30,"value":542},{"type":21,"tag":92,"props":2002,"children":2003},{"class":94,"line":123},[2004,2009,2013,2017,2021,2025,2029,2033,2037],{"type":21,"tag":92,"props":2005,"children":2006},{"style":142},[2007],{"type":30,"value":2008},"infoBounds.north ",{"type":21,"tag":92,"props":2010,"children":2011},{"style":163},[2012],{"type":30,"value":195},{"type":21,"tag":92,"props":2014,"children":2015},{"style":142},[2016],{"type":30,"value":711},{"type":21,"tag":92,"props":2018,"children":2019},{"style":157},[2020],{"type":30,"value":601},{"type":21,"tag":92,"props":2022,"children":2023},{"style":142},[2024],{"type":30,"value":570},{"type":21,"tag":92,"props":2026,"children":2027},{"style":163},[2028],{"type":30,"value":724},{"type":21,"tag":92,"props":2030,"children":2031},{"style":142},[2032],{"type":30,"value":729},{"type":21,"tag":92,"props":2034,"children":2035},{"style":163},[2036],{"type":30,"value":734},{"type":21,"tag":92,"props":2038,"children":2039},{"style":142},[2040],{"type":30,"value":739},{"type":21,"tag":92,"props":2042,"children":2043},{"class":94,"line":132},[2044,2049,2053,2057,2061],{"type":21,"tag":92,"props":2045,"children":2046},{"style":142},[2047],{"type":30,"value":2048},"infoBounds.south ",{"type":21,"tag":92,"props":2050,"children":2051},{"style":163},[2052],{"type":30,"value":195},{"type":21,"tag":92,"props":2054,"children":2055},{"style":142},[2056],{"type":30,"value":711},{"type":21,"tag":92,"props":2058,"children":2059},{"style":157},[2060],{"type":30,"value":601},{"type":21,"tag":92,"props":2062,"children":2063},{"style":142},[2064],{"type":30,"value":532},{"type":21,"tag":92,"props":2066,"children":2067},{"class":94,"line":179},[2068,2073,2077,2081,2085,2089,2093,2097,2101],{"type":21,"tag":92,"props":2069,"children":2070},{"style":142},[2071],{"type":30,"value":2072},"infoBounds.west ",{"type":21,"tag":92,"props":2074,"children":2075},{"style":163},[2076],{"type":30,"value":195},{"type":21,"tag":92,"props":2078,"children":2079},{"style":142},[2080],{"type":30,"value":711},{"type":21,"tag":92,"props":2082,"children":2083},{"style":157},[2084],{"type":30,"value":565},{"type":21,"tag":92,"props":2086,"children":2087},{"style":142},[2088],{"type":30,"value":570},{"type":21,"tag":92,"props":2090,"children":2091},{"style":163},[2092],{"type":30,"value":303},{"type":21,"tag":92,"props":2094,"children":2095},{"style":142},[2096],{"type":30,"value":798},{"type":21,"tag":92,"props":2098,"children":2099},{"style":163},[2100],{"type":30,"value":734},{"type":21,"tag":92,"props":2102,"children":2103},{"style":142},[2104],{"type":30,"value":807},{"type":21,"tag":92,"props":2106,"children":2107},{"class":94,"line":208},[2108,2113,2117,2121,2125,2129,2133,2137,2141],{"type":21,"tag":92,"props":2109,"children":2110},{"style":142},[2111],{"type":30,"value":2112},"infoBounds.east ",{"type":21,"tag":92,"props":2114,"children":2115},{"style":163},[2116],{"type":30,"value":195},{"type":21,"tag":92,"props":2118,"children":2119},{"style":142},[2120],{"type":30,"value":711},{"type":21,"tag":92,"props":2122,"children":2123},{"style":157},[2124],{"type":30,"value":565},{"type":21,"tag":92,"props":2126,"children":2127},{"style":142},[2128],{"type":30,"value":570},{"type":21,"tag":92,"props":2130,"children":2131},{"style":163},[2132],{"type":30,"value":724},{"type":21,"tag":92,"props":2134,"children":2135},{"style":142},[2136],{"type":30,"value":798},{"type":21,"tag":92,"props":2138,"children":2139},{"style":163},[2140],{"type":30,"value":734},{"type":21,"tag":92,"props":2142,"children":2143},{"style":142},[2144],{"type":30,"value":807},{"type":21,"tag":92,"props":2146,"children":2147},{"class":94,"line":240},[2148,2152],{"type":21,"tag":92,"props":2149,"children":2150},{"style":163},[2151],{"type":30,"value":1926},{"type":21,"tag":92,"props":2153,"children":2154},{"style":142},[2155],{"type":30,"value":861},{"type":21,"tag":92,"props":2157,"children":2158},{"class":94,"line":283},[2159],{"type":21,"tag":92,"props":2160,"children":2161},{"emptyLinePlaceholder":539},[2162],{"type":30,"value":542},{"type":21,"tag":92,"props":2164,"children":2165},{"class":94,"line":311},[2166],{"type":21,"tag":92,"props":2167,"children":2168},{"style":142},[2169],{"type":30,"value":1938},{"type":21,"tag":26,"props":2171,"children":2172},{},[2173],{"type":30,"value":2174},"Similarly, here we return an object containing the calculating bounds of our info window in degrees, with the base of the marker being considered the southern boundary, so that both the marker and info window will be in view when we're done.",{"type":21,"tag":81,"props":2176,"children":2178},{"className":83,"code":2177,"language":85,"meta":8,"style":8},"newCenter = (function(){\n    var ne = bounds.getNorthEast(),\n        sw = bounds.getSouthWest(),\n        north = ne.lat(),\n        east = ne.lng(),\n        south = sw.lat(),\n        west = sw.lng(),\n        x = center.lng(),\n        y = center.lat(),\n        shiftLng = ((infoBounds.west \u003C west) ? west - infoBounds.west : 0) +\n            ((infoBounds.east > east) ? east - infoBounds.east : 0),\n        shiftLat = ((infoBounds.north > north) ? north - infoBounds.north : 0) +\n            ((infoBounds.south \u003C south) ? south - infoBounds.south : 0);\n\n        return (shiftLng || shiftLat) ? new google.maps.LatLng(y - shiftLat, x - shiftLng) : void 0;\n\n})();\n\nif (newCenter){\n    map.panTo(newCenter);\n}\n",[2179],{"type":21,"tag":88,"props":2180,"children":2181},{"__ignoreMap":8},[2182,2206,2233,2257,2281,2305,2329,2353,2377,2401,2457,2501,2557,2601,2608,2679,2686,2694,2701,2712,2727],{"type":21,"tag":92,"props":2183,"children":2184},{"class":94,"line":95},[2185,2190,2194,2198,2202],{"type":21,"tag":92,"props":2186,"children":2187},{"style":142},[2188],{"type":30,"value":2189},"newCenter ",{"type":21,"tag":92,"props":2191,"children":2192},{"style":163},[2193],{"type":30,"value":195},{"type":21,"tag":92,"props":2195,"children":2196},{"style":142},[2197],{"type":30,"value":446},{"type":21,"tag":92,"props":2199,"children":2200},{"style":163},[2201],{"type":30,"value":451},{"type":21,"tag":92,"props":2203,"children":2204},{"style":142},[2205],{"type":30,"value":176},{"type":21,"tag":92,"props":2207,"children":2208},{"class":94,"line":105},[2209,2213,2217,2221,2225,2229],{"type":21,"tag":92,"props":2210,"children":2211},{"style":163},[2212],{"type":30,"value":185},{"type":21,"tag":92,"props":2214,"children":2215},{"style":142},[2216],{"type":30,"value":907},{"type":21,"tag":92,"props":2218,"children":2219},{"style":163},[2220],{"type":30,"value":195},{"type":21,"tag":92,"props":2222,"children":2223},{"style":142},[2224],{"type":30,"value":522},{"type":21,"tag":92,"props":2226,"children":2227},{"style":157},[2228],{"type":30,"value":920},{"type":21,"tag":92,"props":2230,"children":2231},{"style":142},[2232],{"type":30,"value":237},{"type":21,"tag":92,"props":2234,"children":2235},{"class":94,"line":114},[2236,2241,2245,2249,2253],{"type":21,"tag":92,"props":2237,"children":2238},{"style":142},[2239],{"type":30,"value":2240},"        sw ",{"type":21,"tag":92,"props":2242,"children":2243},{"style":163},[2244],{"type":30,"value":195},{"type":21,"tag":92,"props":2246,"children":2247},{"style":142},[2248],{"type":30,"value":522},{"type":21,"tag":92,"props":2250,"children":2251},{"style":157},[2252],{"type":30,"value":946},{"type":21,"tag":92,"props":2254,"children":2255},{"style":142},[2256],{"type":30,"value":237},{"type":21,"tag":92,"props":2258,"children":2259},{"class":94,"line":123},[2260,2265,2269,2273,2277],{"type":21,"tag":92,"props":2261,"children":2262},{"style":142},[2263],{"type":30,"value":2264},"        north ",{"type":21,"tag":92,"props":2266,"children":2267},{"style":163},[2268],{"type":30,"value":195},{"type":21,"tag":92,"props":2270,"children":2271},{"style":142},[2272],{"type":30,"value":968},{"type":21,"tag":92,"props":2274,"children":2275},{"style":157},[2276],{"type":30,"value":601},{"type":21,"tag":92,"props":2278,"children":2279},{"style":142},[2280],{"type":30,"value":237},{"type":21,"tag":92,"props":2282,"children":2283},{"class":94,"line":132},[2284,2289,2293,2297,2301],{"type":21,"tag":92,"props":2285,"children":2286},{"style":142},[2287],{"type":30,"value":2288},"        east ",{"type":21,"tag":92,"props":2290,"children":2291},{"style":163},[2292],{"type":30,"value":195},{"type":21,"tag":92,"props":2294,"children":2295},{"style":142},[2296],{"type":30,"value":968},{"type":21,"tag":92,"props":2298,"children":2299},{"style":157},[2300],{"type":30,"value":565},{"type":21,"tag":92,"props":2302,"children":2303},{"style":142},[2304],{"type":30,"value":237},{"type":21,"tag":92,"props":2306,"children":2307},{"class":94,"line":179},[2308,2313,2317,2321,2325],{"type":21,"tag":92,"props":2309,"children":2310},{"style":142},[2311],{"type":30,"value":2312},"        south ",{"type":21,"tag":92,"props":2314,"children":2315},{"style":163},[2316],{"type":30,"value":195},{"type":21,"tag":92,"props":2318,"children":2319},{"style":142},[2320],{"type":30,"value":1019},{"type":21,"tag":92,"props":2322,"children":2323},{"style":157},[2324],{"type":30,"value":601},{"type":21,"tag":92,"props":2326,"children":2327},{"style":142},[2328],{"type":30,"value":237},{"type":21,"tag":92,"props":2330,"children":2331},{"class":94,"line":208},[2332,2337,2341,2345,2349],{"type":21,"tag":92,"props":2333,"children":2334},{"style":142},[2335],{"type":30,"value":2336},"        west ",{"type":21,"tag":92,"props":2338,"children":2339},{"style":163},[2340],{"type":30,"value":195},{"type":21,"tag":92,"props":2342,"children":2343},{"style":142},[2344],{"type":30,"value":1019},{"type":21,"tag":92,"props":2346,"children":2347},{"style":157},[2348],{"type":30,"value":565},{"type":21,"tag":92,"props":2350,"children":2351},{"style":142},[2352],{"type":30,"value":237},{"type":21,"tag":92,"props":2354,"children":2355},{"class":94,"line":240},[2356,2361,2365,2369,2373],{"type":21,"tag":92,"props":2357,"children":2358},{"style":142},[2359],{"type":30,"value":2360},"        x ",{"type":21,"tag":92,"props":2362,"children":2363},{"style":163},[2364],{"type":30,"value":195},{"type":21,"tag":92,"props":2366,"children":2367},{"style":142},[2368],{"type":30,"value":1070},{"type":21,"tag":92,"props":2370,"children":2371},{"style":157},[2372],{"type":30,"value":565},{"type":21,"tag":92,"props":2374,"children":2375},{"style":142},[2376],{"type":30,"value":237},{"type":21,"tag":92,"props":2378,"children":2379},{"class":94,"line":283},[2380,2385,2389,2393,2397],{"type":21,"tag":92,"props":2381,"children":2382},{"style":142},[2383],{"type":30,"value":2384},"        y ",{"type":21,"tag":92,"props":2386,"children":2387},{"style":163},[2388],{"type":30,"value":195},{"type":21,"tag":92,"props":2390,"children":2391},{"style":142},[2392],{"type":30,"value":1070},{"type":21,"tag":92,"props":2394,"children":2395},{"style":157},[2396],{"type":30,"value":601},{"type":21,"tag":92,"props":2398,"children":2399},{"style":142},[2400],{"type":30,"value":237},{"type":21,"tag":92,"props":2402,"children":2403},{"class":94,"line":311},[2404,2409,2413,2417,2421,2425,2429,2433,2437,2441,2445,2449,2453],{"type":21,"tag":92,"props":2405,"children":2406},{"style":142},[2407],{"type":30,"value":2408},"        shiftLng ",{"type":21,"tag":92,"props":2410,"children":2411},{"style":163},[2412],{"type":30,"value":195},{"type":21,"tag":92,"props":2414,"children":2415},{"style":142},[2416],{"type":30,"value":1121},{"type":21,"tag":92,"props":2418,"children":2419},{"style":163},[2420],{"type":30,"value":1126},{"type":21,"tag":92,"props":2422,"children":2423},{"style":142},[2424],{"type":30,"value":1131},{"type":21,"tag":92,"props":2426,"children":2427},{"style":163},[2428],{"type":30,"value":1136},{"type":21,"tag":92,"props":2430,"children":2431},{"style":142},[2432],{"type":30,"value":1141},{"type":21,"tag":92,"props":2434,"children":2435},{"style":163},[2436],{"type":30,"value":303},{"type":21,"tag":92,"props":2438,"children":2439},{"style":142},[2440],{"type":30,"value":1150},{"type":21,"tag":92,"props":2442,"children":2443},{"style":163},[2444],{"type":30,"value":1155},{"type":21,"tag":92,"props":2446,"children":2447},{"style":136},[2448],{"type":30,"value":1160},{"type":21,"tag":92,"props":2450,"children":2451},{"style":142},[2452],{"type":30,"value":1165},{"type":21,"tag":92,"props":2454,"children":2455},{"style":163},[2456],{"type":30,"value":1170},{"type":21,"tag":92,"props":2458,"children":2459},{"class":94,"line":348},[2460,2465,2469,2473,2477,2481,2485,2489,2493,2497],{"type":21,"tag":92,"props":2461,"children":2462},{"style":142},[2463],{"type":30,"value":2464},"            ((infoBounds.east ",{"type":21,"tag":92,"props":2466,"children":2467},{"style":163},[2468],{"type":30,"value":1184},{"type":21,"tag":92,"props":2470,"children":2471},{"style":142},[2472],{"type":30,"value":1189},{"type":21,"tag":92,"props":2474,"children":2475},{"style":163},[2476],{"type":30,"value":1136},{"type":21,"tag":92,"props":2478,"children":2479},{"style":142},[2480],{"type":30,"value":1198},{"type":21,"tag":92,"props":2482,"children":2483},{"style":163},[2484],{"type":30,"value":303},{"type":21,"tag":92,"props":2486,"children":2487},{"style":142},[2488],{"type":30,"value":1207},{"type":21,"tag":92,"props":2490,"children":2491},{"style":163},[2492],{"type":30,"value":1155},{"type":21,"tag":92,"props":2494,"children":2495},{"style":136},[2496],{"type":30,"value":1160},{"type":21,"tag":92,"props":2498,"children":2499},{"style":142},[2500],{"type":30,"value":280},{"type":21,"tag":92,"props":2502,"children":2503},{"class":94,"line":378},[2504,2509,2513,2517,2521,2525,2529,2533,2537,2541,2545,2549,2553],{"type":21,"tag":92,"props":2505,"children":2506},{"style":142},[2507],{"type":30,"value":2508},"        shiftLat ",{"type":21,"tag":92,"props":2510,"children":2511},{"style":163},[2512],{"type":30,"value":195},{"type":21,"tag":92,"props":2514,"children":2515},{"style":142},[2516],{"type":30,"value":1237},{"type":21,"tag":92,"props":2518,"children":2519},{"style":163},[2520],{"type":30,"value":1184},{"type":21,"tag":92,"props":2522,"children":2523},{"style":142},[2524],{"type":30,"value":1246},{"type":21,"tag":92,"props":2526,"children":2527},{"style":163},[2528],{"type":30,"value":1136},{"type":21,"tag":92,"props":2530,"children":2531},{"style":142},[2532],{"type":30,"value":1255},{"type":21,"tag":92,"props":2534,"children":2535},{"style":163},[2536],{"type":30,"value":303},{"type":21,"tag":92,"props":2538,"children":2539},{"style":142},[2540],{"type":30,"value":1264},{"type":21,"tag":92,"props":2542,"children":2543},{"style":163},[2544],{"type":30,"value":1155},{"type":21,"tag":92,"props":2546,"children":2547},{"style":136},[2548],{"type":30,"value":1160},{"type":21,"tag":92,"props":2550,"children":2551},{"style":142},[2552],{"type":30,"value":1165},{"type":21,"tag":92,"props":2554,"children":2555},{"style":163},[2556],{"type":30,"value":1170},{"type":21,"tag":92,"props":2558,"children":2559},{"class":94,"line":405},[2560,2565,2569,2573,2577,2581,2585,2589,2593,2597],{"type":21,"tag":92,"props":2561,"children":2562},{"style":142},[2563],{"type":30,"value":2564},"            ((infoBounds.south ",{"type":21,"tag":92,"props":2566,"children":2567},{"style":163},[2568],{"type":30,"value":1126},{"type":21,"tag":92,"props":2570,"children":2571},{"style":142},[2572],{"type":30,"value":1298},{"type":21,"tag":92,"props":2574,"children":2575},{"style":163},[2576],{"type":30,"value":1136},{"type":21,"tag":92,"props":2578,"children":2579},{"style":142},[2580],{"type":30,"value":1307},{"type":21,"tag":92,"props":2582,"children":2583},{"style":163},[2584],{"type":30,"value":303},{"type":21,"tag":92,"props":2586,"children":2587},{"style":142},[2588],{"type":30,"value":1316},{"type":21,"tag":92,"props":2590,"children":2591},{"style":163},[2592],{"type":30,"value":1155},{"type":21,"tag":92,"props":2594,"children":2595},{"style":136},[2596],{"type":30,"value":1160},{"type":21,"tag":92,"props":2598,"children":2599},{"style":142},[2600],{"type":30,"value":1329},{"type":21,"tag":92,"props":2602,"children":2603},{"class":94,"line":431},[2604],{"type":21,"tag":92,"props":2605,"children":2606},{"emptyLinePlaceholder":539},[2607],{"type":30,"value":542},{"type":21,"tag":92,"props":2609,"children":2610},{"class":94,"line":458},[2611,2615,2619,2623,2627,2631,2635,2639,2643,2647,2651,2655,2659,2663,2667,2671,2675],{"type":21,"tag":92,"props":2612,"children":2613},{"style":163},[2614],{"type":30,"value":623},{"type":21,"tag":92,"props":2616,"children":2617},{"style":142},[2618],{"type":30,"value":1350},{"type":21,"tag":92,"props":2620,"children":2621},{"style":163},[2622],{"type":30,"value":1355},{"type":21,"tag":92,"props":2624,"children":2625},{"style":142},[2626],{"type":30,"value":1360},{"type":21,"tag":92,"props":2628,"children":2629},{"style":163},[2630],{"type":30,"value":1136},{"type":21,"tag":92,"props":2632,"children":2633},{"style":163},[2634],{"type":30,"value":1369},{"type":21,"tag":92,"props":2636,"children":2637},{"style":142},[2638],{"type":30,"value":1374},{"type":21,"tag":92,"props":2640,"children":2641},{"style":157},[2642],{"type":30,"value":1379},{"type":21,"tag":92,"props":2644,"children":2645},{"style":142},[2646],{"type":30,"value":1384},{"type":21,"tag":92,"props":2648,"children":2649},{"style":163},[2650],{"type":30,"value":303},{"type":21,"tag":92,"props":2652,"children":2653},{"style":142},[2654],{"type":30,"value":1393},{"type":21,"tag":92,"props":2656,"children":2657},{"style":163},[2658],{"type":30,"value":303},{"type":21,"tag":92,"props":2660,"children":2661},{"style":142},[2662],{"type":30,"value":1402},{"type":21,"tag":92,"props":2664,"children":2665},{"style":163},[2666],{"type":30,"value":1155},{"type":21,"tag":92,"props":2668,"children":2669},{"style":163},[2670],{"type":30,"value":1411},{"type":21,"tag":92,"props":2672,"children":2673},{"style":136},[2674],{"type":30,"value":1160},{"type":21,"tag":92,"props":2676,"children":2677},{"style":142},[2678],{"type":30,"value":1420},{"type":21,"tag":92,"props":2680,"children":2681},{"class":94,"line":481},[2682],{"type":21,"tag":92,"props":2683,"children":2684},{"emptyLinePlaceholder":539},[2685],{"type":30,"value":542},{"type":21,"tag":92,"props":2687,"children":2688},{"class":94,"line":507},[2689],{"type":21,"tag":92,"props":2690,"children":2691},{"style":142},[2692],{"type":30,"value":2693},"})();\n",{"type":21,"tag":92,"props":2695,"children":2696},{"class":94,"line":535},[2697],{"type":21,"tag":92,"props":2698,"children":2699},{"emptyLinePlaceholder":539},[2700],{"type":30,"value":542},{"type":21,"tag":92,"props":2702,"children":2703},{"class":94,"line":545},[2704,2708],{"type":21,"tag":92,"props":2705,"children":2706},{"style":163},[2707],{"type":30,"value":1446},{"type":21,"tag":92,"props":2709,"children":2710},{"style":142},[2711],{"type":30,"value":1451},{"type":21,"tag":92,"props":2713,"children":2714},{"class":94,"line":582},[2715,2719,2723],{"type":21,"tag":92,"props":2716,"children":2717},{"style":142},[2718],{"type":30,"value":1460},{"type":21,"tag":92,"props":2720,"children":2721},{"style":157},[2722],{"type":30,"value":1465},{"type":21,"tag":92,"props":2724,"children":2725},{"style":142},[2726],{"type":30,"value":1470},{"type":21,"tag":92,"props":2728,"children":2729},{"class":94,"line":617},[2730],{"type":21,"tag":92,"props":2731,"children":2732},{"style":142},[2733],{"type":30,"value":2734},"}\n",{"type":21,"tag":26,"props":2736,"children":2737},{},[2738],{"type":30,"value":2739},"Finally, we calculate what should be the new center of the map based on the minimum shift of the center necessary in order to ensure the full bounds of our info window, as previously calculated, will be in view, considering the bounds of the map. If no shift is required, we return undefined and skip setting a new center.",{"type":21,"tag":26,"props":2741,"children":2742},{},[2743,2745,2750,2752],{"type":30,"value":2744},"Want to see it in action? ",{"type":21,"tag":49,"props":2746,"children":2748},{"href":51,"rel":2747},[53],[2749],{"type":30,"value":56},{"type":30,"value":2751}," Want to see the code? ",{"type":21,"tag":49,"props":2753,"children":2756},{"href":2754,"rel":2755},"https://github.com/SaneMethod/CGWin",[53],[2757],{"type":30,"value":2758},"CGWin Github repo",{"type":21,"tag":2760,"props":2761,"children":2762},"style",{},[2763],{"type":30,"value":2764},"html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":8,"searchDepth":114,"depth":114,"links":2766},[2767],{"id":39,"depth":105,"text":42},"markdown","content:ckeefer:2014-5:cgwin2.md","content","ckeefer/2014-5/cgwin2.md","ckeefer/2014-5/cgwin2","md",{"user":2775,"name":2776},"ckeefer","Christopher Keefer",{"_path":2778,"_dir":2779,"_draft":7,"_partial":7,"_locale":8,"title":2780,"description":2781,"publishDate":2782,"tags":2783,"excerpt":2781,"body":2784,"_type":2768,"_id":7688,"_source":2770,"_file":7689,"_stem":7690,"_extension":2773,"author":7691},"/ckeefer/2014-3/customgmapsinfowindow","2014-3","Custom Google Maps Info Windows","When it comes time to relate the ephemeral world of data to the physical world, Maps are key in both enterprise and consumer applications. Whatever else you might think of it, Google Maps tends to be the default option - certainly, its the only one I've ever had clients ask for by name.","2014-02-26",[15,16],{"type":18,"children":2785,"toc":7680},[2786,2790,2795,2807,2814,2828,2917,2922,2935,3189,3194,3199,3204,4686,4691,4730,4742,5111,5117,5138,5143,5245,5250,5255,5397,5402,5918,5923,5929,5942,6101,6107,6112,6226,6232,6237,7671,7676],{"type":21,"tag":26,"props":2787,"children":2788},{},[2789],{"type":30,"value":2781},{"type":21,"tag":26,"props":2791,"children":2792},{},[2793],{"type":30,"value":2794},"Even when they do ask for it specifically, though, the client generally wants to set 'their map' apart from the generic experience - and this isn't as easy a task as it might be. There are a lot of areas of customization for google maps that might make for a good article, but today we'll focus on custom info windows - those displays that pop up when you click on a marker.",{"type":21,"tag":26,"props":2796,"children":2797},{},[2798,2800,2806],{"type":30,"value":2799},"And there's one added wrinkle that might catch your interest - we need to extend a google maps api object ",{"type":21,"tag":2801,"props":2802,"children":2803},"em",{},[2804],{"type":30,"value":2805},"asynchronously",{"type":30,"value":145},{"type":21,"tag":2808,"props":2809,"children":2811},"h3",{"id":2810},"loading-and-extending-google-maps-asynchronously",[2812],{"type":30,"value":2813},"Loading and Extending Google Maps Asynchronously",{"type":21,"tag":26,"props":2815,"children":2816},{},[2817,2819,2826],{"type":30,"value":2818},"You're probably familiar with loading ",{"type":21,"tag":49,"props":2820,"children":2823},{"href":2821,"rel":2822},"https://developers.google.com/maps/documentation/javascript/examples/map-simple-async",[53],[2824],{"type":30,"value":2825},"google maps async",{"type":30,"value":2827}," - you create a new script element, add the script url, and provide the api version, your api key, sensor paramater and callback as query string parameters.",{"type":21,"tag":81,"props":2829,"children":2831},{"className":83,"code":2830,"language":85,"meta":8,"style":8},"var script = document.createElement('script');\nscript.type = 'text/javascript';\nscript.src = 'https://maps.googleapis.com/maps/api/jsv=3&key=yourapikey&sensor=false&callback=init';\n",[2832],{"type":21,"tag":88,"props":2833,"children":2834},{"__ignoreMap":8},[2835,2875,2896],{"type":21,"tag":92,"props":2836,"children":2837},{"class":94,"line":95},[2838,2842,2847,2851,2856,2861,2865,2871],{"type":21,"tag":92,"props":2839,"children":2840},{"style":163},[2841],{"type":30,"value":1507},{"type":21,"tag":92,"props":2843,"children":2844},{"style":142},[2845],{"type":30,"value":2846}," script ",{"type":21,"tag":92,"props":2848,"children":2849},{"style":163},[2850],{"type":30,"value":195},{"type":21,"tag":92,"props":2852,"children":2853},{"style":142},[2854],{"type":30,"value":2855}," document.",{"type":21,"tag":92,"props":2857,"children":2858},{"style":157},[2859],{"type":30,"value":2860},"createElement",{"type":21,"tag":92,"props":2862,"children":2863},{"style":142},[2864],{"type":30,"value":260},{"type":21,"tag":92,"props":2866,"children":2868},{"style":2867},"--shiki-default:#032F62;--shiki-dark:#9ECBFF",[2869],{"type":30,"value":2870},"'script'",{"type":21,"tag":92,"props":2872,"children":2873},{"style":142},[2874],{"type":30,"value":1329},{"type":21,"tag":92,"props":2876,"children":2877},{"class":94,"line":105},[2878,2883,2887,2892],{"type":21,"tag":92,"props":2879,"children":2880},{"style":142},[2881],{"type":30,"value":2882},"script.type ",{"type":21,"tag":92,"props":2884,"children":2885},{"style":163},[2886],{"type":30,"value":195},{"type":21,"tag":92,"props":2888,"children":2889},{"style":2867},[2890],{"type":30,"value":2891}," 'text/javascript'",{"type":21,"tag":92,"props":2893,"children":2894},{"style":142},[2895],{"type":30,"value":1420},{"type":21,"tag":92,"props":2897,"children":2898},{"class":94,"line":114},[2899,2904,2908,2913],{"type":21,"tag":92,"props":2900,"children":2901},{"style":142},[2902],{"type":30,"value":2903},"script.src ",{"type":21,"tag":92,"props":2905,"children":2906},{"style":163},[2907],{"type":30,"value":195},{"type":21,"tag":92,"props":2909,"children":2910},{"style":2867},[2911],{"type":30,"value":2912}," 'https://maps.googleapis.com/maps/api/jsv=3&key=yourapikey&sensor=false&callback=init'",{"type":21,"tag":92,"props":2914,"children":2915},{"style":142},[2916],{"type":30,"value":1420},{"type":21,"tag":26,"props":2918,"children":2919},{},[2920],{"type":30,"value":2921},"The callback is, of course, the key to knowing when the maps api is loaded and ready to run - and so, its also the key to knowing when the api objects are available to be extended.",{"type":21,"tag":26,"props":2923,"children":2924},{},[2925,2927,2933],{"type":30,"value":2926},"In order to create our custom info window, we need to extend ",{"type":21,"tag":88,"props":2928,"children":2930},{"className":2929},[],[2931],{"type":30,"value":2932},"google.maps.OverlayView",{"type":30,"value":2934},". Let's create a simple wrapper class for maps, with an init function to be called when google maps is ready.",{"type":21,"tag":81,"props":2936,"children":2938},{"className":83,"code":2937,"language":85,"meta":8,"style":8},"function GMaps(){\n    // Set properties\n    this.mapReady = false;\n}\n\n/**\n* Note you'll need to have an object of type GMaps sitting in the global context ready to receive the init callback\n* which you would append to the script as object.init\n*/\nGMaps.prototype.init = function(){\n    this.mapReady = true;\n}\n\n// OR\n\n/*\n* This function is 'static', and could be passed to the callback param as GMaps.init\n*/\nGMaps.init = function(){\n    // No access to 'this' here - just perform whatever startup tasks you think are necessary\n}\n",[2939],{"type":21,"tag":88,"props":2940,"children":2941},{"__ignoreMap":8},[2942,2958,2966,2992,2999,3006,3013,3021,3029,3037,3074,3098,3105,3112,3120,3127,3135,3143,3150,3174,3182],{"type":21,"tag":92,"props":2943,"children":2944},{"class":94,"line":95},[2945,2949,2954],{"type":21,"tag":92,"props":2946,"children":2947},{"style":163},[2948],{"type":30,"value":451},{"type":21,"tag":92,"props":2950,"children":2951},{"style":157},[2952],{"type":30,"value":2953}," GMaps",{"type":21,"tag":92,"props":2955,"children":2956},{"style":142},[2957],{"type":30,"value":176},{"type":21,"tag":92,"props":2959,"children":2960},{"class":94,"line":105},[2961],{"type":21,"tag":92,"props":2962,"children":2963},{"style":99},[2964],{"type":30,"value":2965},"    // Set properties\n",{"type":21,"tag":92,"props":2967,"children":2968},{"class":94,"line":114},[2969,2974,2979,2983,2988],{"type":21,"tag":92,"props":2970,"children":2971},{"style":136},[2972],{"type":30,"value":2973},"    this",{"type":21,"tag":92,"props":2975,"children":2976},{"style":142},[2977],{"type":30,"value":2978},".mapReady ",{"type":21,"tag":92,"props":2980,"children":2981},{"style":163},[2982],{"type":30,"value":195},{"type":21,"tag":92,"props":2984,"children":2985},{"style":136},[2986],{"type":30,"value":2987}," false",{"type":21,"tag":92,"props":2989,"children":2990},{"style":142},[2991],{"type":30,"value":1420},{"type":21,"tag":92,"props":2993,"children":2994},{"class":94,"line":123},[2995],{"type":21,"tag":92,"props":2996,"children":2997},{"style":142},[2998],{"type":30,"value":2734},{"type":21,"tag":92,"props":3000,"children":3001},{"class":94,"line":132},[3002],{"type":21,"tag":92,"props":3003,"children":3004},{"emptyLinePlaceholder":539},[3005],{"type":30,"value":542},{"type":21,"tag":92,"props":3007,"children":3008},{"class":94,"line":179},[3009],{"type":21,"tag":92,"props":3010,"children":3011},{"style":99},[3012],{"type":30,"value":102},{"type":21,"tag":92,"props":3014,"children":3015},{"class":94,"line":208},[3016],{"type":21,"tag":92,"props":3017,"children":3018},{"style":99},[3019],{"type":30,"value":3020},"* Note you'll need to have an object of type GMaps sitting in the global context ready to receive the init callback\n",{"type":21,"tag":92,"props":3022,"children":3023},{"class":94,"line":240},[3024],{"type":21,"tag":92,"props":3025,"children":3026},{"style":99},[3027],{"type":30,"value":3028},"* which you would append to the script as object.init\n",{"type":21,"tag":92,"props":3030,"children":3031},{"class":94,"line":283},[3032],{"type":21,"tag":92,"props":3033,"children":3034},{"style":99},[3035],{"type":30,"value":3036},"*/\n",{"type":21,"tag":92,"props":3038,"children":3039},{"class":94,"line":311},[3040,3045,3049,3053,3057,3062,3066,3070],{"type":21,"tag":92,"props":3041,"children":3042},{"style":136},[3043],{"type":30,"value":3044},"GMaps",{"type":21,"tag":92,"props":3046,"children":3047},{"style":142},[3048],{"type":30,"value":145},{"type":21,"tag":92,"props":3050,"children":3051},{"style":136},[3052],{"type":30,"value":150},{"type":21,"tag":92,"props":3054,"children":3055},{"style":142},[3056],{"type":30,"value":145},{"type":21,"tag":92,"props":3058,"children":3059},{"style":157},[3060],{"type":30,"value":3061},"init",{"type":21,"tag":92,"props":3063,"children":3064},{"style":163},[3065],{"type":30,"value":166},{"type":21,"tag":92,"props":3067,"children":3068},{"style":163},[3069],{"type":30,"value":171},{"type":21,"tag":92,"props":3071,"children":3072},{"style":142},[3073],{"type":30,"value":176},{"type":21,"tag":92,"props":3075,"children":3076},{"class":94,"line":348},[3077,3081,3085,3089,3094],{"type":21,"tag":92,"props":3078,"children":3079},{"style":136},[3080],{"type":30,"value":2973},{"type":21,"tag":92,"props":3082,"children":3083},{"style":142},[3084],{"type":30,"value":2978},{"type":21,"tag":92,"props":3086,"children":3087},{"style":163},[3088],{"type":30,"value":195},{"type":21,"tag":92,"props":3090,"children":3091},{"style":136},[3092],{"type":30,"value":3093}," true",{"type":21,"tag":92,"props":3095,"children":3096},{"style":142},[3097],{"type":30,"value":1420},{"type":21,"tag":92,"props":3099,"children":3100},{"class":94,"line":378},[3101],{"type":21,"tag":92,"props":3102,"children":3103},{"style":142},[3104],{"type":30,"value":2734},{"type":21,"tag":92,"props":3106,"children":3107},{"class":94,"line":405},[3108],{"type":21,"tag":92,"props":3109,"children":3110},{"emptyLinePlaceholder":539},[3111],{"type":30,"value":542},{"type":21,"tag":92,"props":3113,"children":3114},{"class":94,"line":431},[3115],{"type":21,"tag":92,"props":3116,"children":3117},{"style":99},[3118],{"type":30,"value":3119},"// OR\n",{"type":21,"tag":92,"props":3121,"children":3122},{"class":94,"line":458},[3123],{"type":21,"tag":92,"props":3124,"children":3125},{"emptyLinePlaceholder":539},[3126],{"type":30,"value":542},{"type":21,"tag":92,"props":3128,"children":3129},{"class":94,"line":481},[3130],{"type":21,"tag":92,"props":3131,"children":3132},{"style":99},[3133],{"type":30,"value":3134},"/*\n",{"type":21,"tag":92,"props":3136,"children":3137},{"class":94,"line":507},[3138],{"type":21,"tag":92,"props":3139,"children":3140},{"style":99},[3141],{"type":30,"value":3142},"* This function is 'static', and could be passed to the callback param as GMaps.init\n",{"type":21,"tag":92,"props":3144,"children":3145},{"class":94,"line":535},[3146],{"type":21,"tag":92,"props":3147,"children":3148},{"style":99},[3149],{"type":30,"value":3036},{"type":21,"tag":92,"props":3151,"children":3152},{"class":94,"line":545},[3153,3158,3162,3166,3170],{"type":21,"tag":92,"props":3154,"children":3155},{"style":142},[3156],{"type":30,"value":3157},"GMaps.",{"type":21,"tag":92,"props":3159,"children":3160},{"style":157},[3161],{"type":30,"value":3061},{"type":21,"tag":92,"props":3163,"children":3164},{"style":163},[3165],{"type":30,"value":166},{"type":21,"tag":92,"props":3167,"children":3168},{"style":163},[3169],{"type":30,"value":171},{"type":21,"tag":92,"props":3171,"children":3172},{"style":142},[3173],{"type":30,"value":176},{"type":21,"tag":92,"props":3175,"children":3176},{"class":94,"line":582},[3177],{"type":21,"tag":92,"props":3178,"children":3179},{"style":99},[3180],{"type":30,"value":3181},"    // No access to 'this' here - just perform whatever startup tasks you think are necessary\n",{"type":21,"tag":92,"props":3183,"children":3184},{"class":94,"line":617},[3185],{"type":21,"tag":92,"props":3186,"children":3187},{"style":142},[3188],{"type":30,"value":2734},{"type":21,"tag":26,"props":3190,"children":3191},{},[3192],{"type":30,"value":3193},"Whether we're using the 'static' function or not, the init callback will let us know we can now extend and instantiate an OverlayView.",{"type":21,"tag":2808,"props":3195,"children":3197},{"id":3196},"customwindow",[3198],{"type":30,"value":139},{"type":21,"tag":26,"props":3200,"children":3201},{},[3202],{"type":30,"value":3203},"We don't want to have to stick our custom window object inside of the init callback though - that would be ugly. So instead:",{"type":21,"tag":81,"props":3205,"children":3207},{"className":83,"code":3206,"language":85,"meta":8,"style":8},"/**\n     * Create a custom overlay for our window marker display, extending google.maps.OverlayView.\n     * This is somewhat complicated by needing to async load the google.maps api first - thus, we\n     * wrap CustomWindow into a closure, and when instantiating CustomWindow, we first execute the closure (to create\n     * our CustomWindow function, now properly extending the newly loaded google.maps.OverlayView), and then\n     * instantiate said function.\n     * Note that this version uses jQuery.\n     * @type {Function}\n     */\n(function(){\n    var CustomWindow = function(){\n        this.container = $('\u003Cdiv class=\"map-info-window\">\u003C/div>');\n        this.layer = null;\n        this.marker = null;\n        this.position = null;\n    };\n    /**\n     * Inherit from OverlayView\n     * @type {google.maps.OverlayView}\n     */\n    CustomWindow.prototype = new google.maps.OverlayView();\n    /**\n     * Called when this overlay is set to a map via this.setMap. Get the appropriate map pane\n     * to add the window to, append the container, bind to close element.\n     * @see CustomWindow.open\n     */\n    CustomWindow.prototype.onAdd = function(){\n        this.layer = $(this.getPanes().floatPane);\n        this.layer.append(this.container);\n        this.container.find('.map-info-close').on('click', _.bind(function(){\n            // Close info window on click\n            this.close();\n        }, this));\n    };\n    /**\n     * Called after onAdd, and every time the map is moved, zoomed, or anything else that\n     * would effect positions, to redraw this overlay.\n     */\n    CustomWindow.prototype.draw = function(){\n        var markerIcon = this.marker.getIcon(),\n            cHeight = this.container.outerHeight() + markerIcon.scaledSize.height + 10,\n            cWidth = this.container.width() / 2 + markerIcon.scaledSize.width / 2;\n        this.position = this.getProjection().fromLatLngToDivPixel(this.marker.getPosition());\n        this.container.css({\n            'top':this.position.y - cHeight,\n            'left':this.position.x - cWidth\n        });\n    };\n    /**\n     * Called when this overlay has its map set to null.\n     * @see CustomWindow.close\n     */\n    CustomWindow.prototype.onRemove = function(){\n        this.container.remove();\n    };\n    /**\n     * Sets the contents of this overlay.\n     * @param {string} html\n     */\n    CustomWindow.prototype.setContent = function(html){\n        this.container.html(html);\n    };\n    /**\n     * Sets the map and relevant marker for this overlay.\n     * @param {google.maps.Map} map\n     * @param {google.maps.Marker} marker\n     */\n    CustomWindow.prototype.open = function(map, marker){\n        this.marker = marker;\n        this.setMap(map);\n    };\n    /**\n     * Close this overlay by setting its map to null.\n     */\n    CustomWindow.prototype.close = function(){\n        this.setMap(null);\n    };\n    return CustomWindow;\n});\n",[3208],{"type":21,"tag":88,"props":3209,"children":3210},{"__ignoreMap":8},[3211,3218,3226,3234,3242,3250,3258,3266,3284,3292,3307,3331,3366,3391,3415,3439,3447,3455,3463,3479,3486,3523,3530,3538,3546,3563,3570,3606,3647,3677,3744,3752,3773,3790,3797,3804,3812,3820,3827,3863,3896,3947,4006,4065,4086,4116,4146,4154,4161,4168,4176,4192,4199,4235,4256,4264,4272,4281,4304,4312,4360,4381,4389,4397,4406,4428,4450,4458,4514,4535,4557,4565,4573,4582,4590,4626,4655,4663,4677],{"type":21,"tag":92,"props":3212,"children":3213},{"class":94,"line":95},[3214],{"type":21,"tag":92,"props":3215,"children":3216},{"style":99},[3217],{"type":30,"value":102},{"type":21,"tag":92,"props":3219,"children":3220},{"class":94,"line":105},[3221],{"type":21,"tag":92,"props":3222,"children":3223},{"style":99},[3224],{"type":30,"value":3225},"     * Create a custom overlay for our window marker display, extending google.maps.OverlayView.\n",{"type":21,"tag":92,"props":3227,"children":3228},{"class":94,"line":114},[3229],{"type":21,"tag":92,"props":3230,"children":3231},{"style":99},[3232],{"type":30,"value":3233},"     * This is somewhat complicated by needing to async load the google.maps api first - thus, we\n",{"type":21,"tag":92,"props":3235,"children":3236},{"class":94,"line":123},[3237],{"type":21,"tag":92,"props":3238,"children":3239},{"style":99},[3240],{"type":30,"value":3241},"     * wrap CustomWindow into a closure, and when instantiating CustomWindow, we first execute the closure (to create\n",{"type":21,"tag":92,"props":3243,"children":3244},{"class":94,"line":132},[3245],{"type":21,"tag":92,"props":3246,"children":3247},{"style":99},[3248],{"type":30,"value":3249},"     * our CustomWindow function, now properly extending the newly loaded google.maps.OverlayView), and then\n",{"type":21,"tag":92,"props":3251,"children":3252},{"class":94,"line":179},[3253],{"type":21,"tag":92,"props":3254,"children":3255},{"style":99},[3256],{"type":30,"value":3257},"     * instantiate said function.\n",{"type":21,"tag":92,"props":3259,"children":3260},{"class":94,"line":208},[3261],{"type":21,"tag":92,"props":3262,"children":3263},{"style":99},[3264],{"type":30,"value":3265},"     * Note that this version uses jQuery.\n",{"type":21,"tag":92,"props":3267,"children":3268},{"class":94,"line":240},[3269,3274,3279],{"type":21,"tag":92,"props":3270,"children":3271},{"style":99},[3272],{"type":30,"value":3273},"     * ",{"type":21,"tag":92,"props":3275,"children":3276},{"style":163},[3277],{"type":30,"value":3278},"@type",{"type":21,"tag":92,"props":3280,"children":3281},{"style":157},[3282],{"type":30,"value":3283}," {Function}\n",{"type":21,"tag":92,"props":3285,"children":3286},{"class":94,"line":283},[3287],{"type":21,"tag":92,"props":3288,"children":3289},{"style":99},[3290],{"type":30,"value":3291},"     */\n",{"type":21,"tag":92,"props":3293,"children":3294},{"class":94,"line":311},[3295,3299,3303],{"type":21,"tag":92,"props":3296,"children":3297},{"style":142},[3298],{"type":30,"value":260},{"type":21,"tag":92,"props":3300,"children":3301},{"style":163},[3302],{"type":30,"value":451},{"type":21,"tag":92,"props":3304,"children":3305},{"style":142},[3306],{"type":30,"value":176},{"type":21,"tag":92,"props":3308,"children":3309},{"class":94,"line":348},[3310,3314,3319,3323,3327],{"type":21,"tag":92,"props":3311,"children":3312},{"style":163},[3313],{"type":30,"value":185},{"type":21,"tag":92,"props":3315,"children":3316},{"style":157},[3317],{"type":30,"value":3318}," CustomWindow",{"type":21,"tag":92,"props":3320,"children":3321},{"style":163},[3322],{"type":30,"value":166},{"type":21,"tag":92,"props":3324,"children":3325},{"style":163},[3326],{"type":30,"value":171},{"type":21,"tag":92,"props":3328,"children":3329},{"style":142},[3330],{"type":30,"value":176},{"type":21,"tag":92,"props":3332,"children":3333},{"class":94,"line":378},[3334,3339,3344,3348,3353,3357,3362],{"type":21,"tag":92,"props":3335,"children":3336},{"style":136},[3337],{"type":30,"value":3338},"        this",{"type":21,"tag":92,"props":3340,"children":3341},{"style":142},[3342],{"type":30,"value":3343},".container ",{"type":21,"tag":92,"props":3345,"children":3346},{"style":163},[3347],{"type":30,"value":195},{"type":21,"tag":92,"props":3349,"children":3350},{"style":157},[3351],{"type":30,"value":3352}," $",{"type":21,"tag":92,"props":3354,"children":3355},{"style":142},[3356],{"type":30,"value":260},{"type":21,"tag":92,"props":3358,"children":3359},{"style":2867},[3360],{"type":30,"value":3361},"'\u003Cdiv class=\"map-info-window\">\u003C/div>'",{"type":21,"tag":92,"props":3363,"children":3364},{"style":142},[3365],{"type":30,"value":1329},{"type":21,"tag":92,"props":3367,"children":3368},{"class":94,"line":405},[3369,3373,3378,3382,3387],{"type":21,"tag":92,"props":3370,"children":3371},{"style":136},[3372],{"type":30,"value":3338},{"type":21,"tag":92,"props":3374,"children":3375},{"style":142},[3376],{"type":30,"value":3377},".layer ",{"type":21,"tag":92,"props":3379,"children":3380},{"style":163},[3381],{"type":30,"value":195},{"type":21,"tag":92,"props":3383,"children":3384},{"style":136},[3385],{"type":30,"value":3386}," null",{"type":21,"tag":92,"props":3388,"children":3389},{"style":142},[3390],{"type":30,"value":1420},{"type":21,"tag":92,"props":3392,"children":3393},{"class":94,"line":431},[3394,3398,3403,3407,3411],{"type":21,"tag":92,"props":3395,"children":3396},{"style":136},[3397],{"type":30,"value":3338},{"type":21,"tag":92,"props":3399,"children":3400},{"style":142},[3401],{"type":30,"value":3402},".marker ",{"type":21,"tag":92,"props":3404,"children":3405},{"style":163},[3406],{"type":30,"value":195},{"type":21,"tag":92,"props":3408,"children":3409},{"style":136},[3410],{"type":30,"value":3386},{"type":21,"tag":92,"props":3412,"children":3413},{"style":142},[3414],{"type":30,"value":1420},{"type":21,"tag":92,"props":3416,"children":3417},{"class":94,"line":458},[3418,3422,3427,3431,3435],{"type":21,"tag":92,"props":3419,"children":3420},{"style":136},[3421],{"type":30,"value":3338},{"type":21,"tag":92,"props":3423,"children":3424},{"style":142},[3425],{"type":30,"value":3426},".position ",{"type":21,"tag":92,"props":3428,"children":3429},{"style":163},[3430],{"type":30,"value":195},{"type":21,"tag":92,"props":3432,"children":3433},{"style":136},[3434],{"type":30,"value":3386},{"type":21,"tag":92,"props":3436,"children":3437},{"style":142},[3438],{"type":30,"value":1420},{"type":21,"tag":92,"props":3440,"children":3441},{"class":94,"line":481},[3442],{"type":21,"tag":92,"props":3443,"children":3444},{"style":142},[3445],{"type":30,"value":3446},"    };\n",{"type":21,"tag":92,"props":3448,"children":3449},{"class":94,"line":507},[3450],{"type":21,"tag":92,"props":3451,"children":3452},{"style":99},[3453],{"type":30,"value":3454},"    /**\n",{"type":21,"tag":92,"props":3456,"children":3457},{"class":94,"line":535},[3458],{"type":21,"tag":92,"props":3459,"children":3460},{"style":99},[3461],{"type":30,"value":3462},"     * Inherit from OverlayView\n",{"type":21,"tag":92,"props":3464,"children":3465},{"class":94,"line":545},[3466,3470,3474],{"type":21,"tag":92,"props":3467,"children":3468},{"style":99},[3469],{"type":30,"value":3273},{"type":21,"tag":92,"props":3471,"children":3472},{"style":163},[3473],{"type":30,"value":3278},{"type":21,"tag":92,"props":3475,"children":3476},{"style":157},[3477],{"type":30,"value":3478}," {google.maps.OverlayView}\n",{"type":21,"tag":92,"props":3480,"children":3481},{"class":94,"line":582},[3482],{"type":21,"tag":92,"props":3483,"children":3484},{"style":99},[3485],{"type":30,"value":3291},{"type":21,"tag":92,"props":3487,"children":3488},{"class":94,"line":617},[3489,3494,3498,3502,3506,3510,3514,3519],{"type":21,"tag":92,"props":3490,"children":3491},{"style":136},[3492],{"type":30,"value":3493},"    CustomWindow",{"type":21,"tag":92,"props":3495,"children":3496},{"style":142},[3497],{"type":30,"value":145},{"type":21,"tag":92,"props":3499,"children":3500},{"style":136},[3501],{"type":30,"value":150},{"type":21,"tag":92,"props":3503,"children":3504},{"style":163},[3505],{"type":30,"value":166},{"type":21,"tag":92,"props":3507,"children":3508},{"style":163},[3509],{"type":30,"value":1369},{"type":21,"tag":92,"props":3511,"children":3512},{"style":142},[3513],{"type":30,"value":1374},{"type":21,"tag":92,"props":3515,"children":3516},{"style":157},[3517],{"type":30,"value":3518},"OverlayView",{"type":21,"tag":92,"props":3520,"children":3521},{"style":142},[3522],{"type":30,"value":532},{"type":21,"tag":92,"props":3524,"children":3525},{"class":94,"line":631},[3526],{"type":21,"tag":92,"props":3527,"children":3528},{"style":99},[3529],{"type":30,"value":3454},{"type":21,"tag":92,"props":3531,"children":3532},{"class":94,"line":640},[3533],{"type":21,"tag":92,"props":3534,"children":3535},{"style":99},[3536],{"type":30,"value":3537},"     * Called when this overlay is set to a map via this.setMap. Get the appropriate map pane\n",{"type":21,"tag":92,"props":3539,"children":3540},{"class":94,"line":665},[3541],{"type":21,"tag":92,"props":3542,"children":3543},{"style":99},[3544],{"type":30,"value":3545},"     * to add the window to, append the container, bind to close element.\n",{"type":21,"tag":92,"props":3547,"children":3548},{"class":94,"line":688},[3549,3553,3558],{"type":21,"tag":92,"props":3550,"children":3551},{"style":99},[3552],{"type":30,"value":3273},{"type":21,"tag":92,"props":3554,"children":3555},{"style":163},[3556],{"type":30,"value":3557},"@see",{"type":21,"tag":92,"props":3559,"children":3560},{"style":157},[3561],{"type":30,"value":3562}," CustomWindow.open\n",{"type":21,"tag":92,"props":3564,"children":3565},{"class":94,"line":696},[3566],{"type":21,"tag":92,"props":3567,"children":3568},{"style":99},[3569],{"type":30,"value":3291},{"type":21,"tag":92,"props":3571,"children":3572},{"class":94,"line":742},[3573,3577,3581,3585,3589,3594,3598,3602],{"type":21,"tag":92,"props":3574,"children":3575},{"style":136},[3576],{"type":30,"value":3493},{"type":21,"tag":92,"props":3578,"children":3579},{"style":142},[3580],{"type":30,"value":145},{"type":21,"tag":92,"props":3582,"children":3583},{"style":136},[3584],{"type":30,"value":150},{"type":21,"tag":92,"props":3586,"children":3587},{"style":142},[3588],{"type":30,"value":145},{"type":21,"tag":92,"props":3590,"children":3591},{"style":157},[3592],{"type":30,"value":3593},"onAdd",{"type":21,"tag":92,"props":3595,"children":3596},{"style":163},[3597],{"type":30,"value":166},{"type":21,"tag":92,"props":3599,"children":3600},{"style":163},[3601],{"type":30,"value":171},{"type":21,"tag":92,"props":3603,"children":3604},{"style":142},[3605],{"type":30,"value":176},{"type":21,"tag":92,"props":3607,"children":3608},{"class":94,"line":767},[3609,3613,3617,3621,3625,3629,3633,3637,3642],{"type":21,"tag":92,"props":3610,"children":3611},{"style":136},[3612],{"type":30,"value":3338},{"type":21,"tag":92,"props":3614,"children":3615},{"style":142},[3616],{"type":30,"value":3377},{"type":21,"tag":92,"props":3618,"children":3619},{"style":163},[3620],{"type":30,"value":195},{"type":21,"tag":92,"props":3622,"children":3623},{"style":157},[3624],{"type":30,"value":3352},{"type":21,"tag":92,"props":3626,"children":3627},{"style":142},[3628],{"type":30,"value":260},{"type":21,"tag":92,"props":3630,"children":3631},{"style":136},[3632],{"type":30,"value":265},{"type":21,"tag":92,"props":3634,"children":3635},{"style":142},[3636],{"type":30,"value":145},{"type":21,"tag":92,"props":3638,"children":3639},{"style":157},[3640],{"type":30,"value":3641},"getPanes",{"type":21,"tag":92,"props":3643,"children":3644},{"style":142},[3645],{"type":30,"value":3646},"().floatPane);\n",{"type":21,"tag":92,"props":3648,"children":3649},{"class":94,"line":810},[3650,3654,3659,3664,3668,3672],{"type":21,"tag":92,"props":3651,"children":3652},{"style":136},[3653],{"type":30,"value":3338},{"type":21,"tag":92,"props":3655,"children":3656},{"style":142},[3657],{"type":30,"value":3658},".layer.",{"type":21,"tag":92,"props":3660,"children":3661},{"style":157},[3662],{"type":30,"value":3663},"append",{"type":21,"tag":92,"props":3665,"children":3666},{"style":142},[3667],{"type":30,"value":260},{"type":21,"tag":92,"props":3669,"children":3670},{"style":136},[3671],{"type":30,"value":265},{"type":21,"tag":92,"props":3673,"children":3674},{"style":142},[3675],{"type":30,"value":3676},".container);\n",{"type":21,"tag":92,"props":3678,"children":3679},{"class":94,"line":851},[3680,3684,3689,3694,3698,3703,3708,3713,3717,3722,3727,3732,3736,3740],{"type":21,"tag":92,"props":3681,"children":3682},{"style":136},[3683],{"type":30,"value":3338},{"type":21,"tag":92,"props":3685,"children":3686},{"style":142},[3687],{"type":30,"value":3688},".container.",{"type":21,"tag":92,"props":3690,"children":3691},{"style":157},[3692],{"type":30,"value":3693},"find",{"type":21,"tag":92,"props":3695,"children":3696},{"style":142},[3697],{"type":30,"value":260},{"type":21,"tag":92,"props":3699,"children":3700},{"style":2867},[3701],{"type":30,"value":3702},"'.map-info-close'",{"type":21,"tag":92,"props":3704,"children":3705},{"style":142},[3706],{"type":30,"value":3707},").",{"type":21,"tag":92,"props":3709,"children":3710},{"style":157},[3711],{"type":30,"value":3712},"on",{"type":21,"tag":92,"props":3714,"children":3715},{"style":142},[3716],{"type":30,"value":260},{"type":21,"tag":92,"props":3718,"children":3719},{"style":2867},[3720],{"type":30,"value":3721},"'click'",{"type":21,"tag":92,"props":3723,"children":3724},{"style":142},[3725],{"type":30,"value":3726},", _.",{"type":21,"tag":92,"props":3728,"children":3729},{"style":157},[3730],{"type":30,"value":3731},"bind",{"type":21,"tag":92,"props":3733,"children":3734},{"style":142},[3735],{"type":30,"value":260},{"type":21,"tag":92,"props":3737,"children":3738},{"style":163},[3739],{"type":30,"value":451},{"type":21,"tag":92,"props":3741,"children":3742},{"style":142},[3743],{"type":30,"value":176},{"type":21,"tag":92,"props":3745,"children":3746},{"class":94,"line":864},[3747],{"type":21,"tag":92,"props":3748,"children":3749},{"style":99},[3750],{"type":30,"value":3751},"            // Close info window on click\n",{"type":21,"tag":92,"props":3753,"children":3754},{"class":94,"line":872},[3755,3760,3764,3769],{"type":21,"tag":92,"props":3756,"children":3757},{"style":136},[3758],{"type":30,"value":3759},"            this",{"type":21,"tag":92,"props":3761,"children":3762},{"style":142},[3763],{"type":30,"value":145},{"type":21,"tag":92,"props":3765,"children":3766},{"style":157},[3767],{"type":30,"value":3768},"close",{"type":21,"tag":92,"props":3770,"children":3771},{"style":142},[3772],{"type":30,"value":532},{"type":21,"tag":92,"props":3774,"children":3775},{"class":94,"line":897},[3776,3781,3785],{"type":21,"tag":92,"props":3777,"children":3778},{"style":142},[3779],{"type":30,"value":3780},"        }, ",{"type":21,"tag":92,"props":3782,"children":3783},{"style":136},[3784],{"type":30,"value":265},{"type":21,"tag":92,"props":3786,"children":3787},{"style":142},[3788],{"type":30,"value":3789},"));\n",{"type":21,"tag":92,"props":3791,"children":3792},{"class":94,"line":927},[3793],{"type":21,"tag":92,"props":3794,"children":3795},{"style":142},[3796],{"type":30,"value":3446},{"type":21,"tag":92,"props":3798,"children":3799},{"class":94,"line":953},[3800],{"type":21,"tag":92,"props":3801,"children":3802},{"style":99},[3803],{"type":30,"value":3454},{"type":21,"tag":92,"props":3805,"children":3806},{"class":94,"line":979},[3807],{"type":21,"tag":92,"props":3808,"children":3809},{"style":99},[3810],{"type":30,"value":3811},"     * Called after onAdd, and every time the map is moved, zoomed, or anything else that\n",{"type":21,"tag":92,"props":3813,"children":3814},{"class":94,"line":1004},[3815],{"type":21,"tag":92,"props":3816,"children":3817},{"style":99},[3818],{"type":30,"value":3819},"     * would effect positions, to redraw this overlay.\n",{"type":21,"tag":92,"props":3821,"children":3822},{"class":94,"line":1030},[3823],{"type":21,"tag":92,"props":3824,"children":3825},{"style":99},[3826],{"type":30,"value":3291},{"type":21,"tag":92,"props":3828,"children":3829},{"class":94,"line":1055},[3830,3834,3838,3842,3846,3851,3855,3859],{"type":21,"tag":92,"props":3831,"children":3832},{"style":136},[3833],{"type":30,"value":3493},{"type":21,"tag":92,"props":3835,"children":3836},{"style":142},[3837],{"type":30,"value":145},{"type":21,"tag":92,"props":3839,"children":3840},{"style":136},[3841],{"type":30,"value":150},{"type":21,"tag":92,"props":3843,"children":3844},{"style":142},[3845],{"type":30,"value":145},{"type":21,"tag":92,"props":3847,"children":3848},{"style":157},[3849],{"type":30,"value":3850},"draw",{"type":21,"tag":92,"props":3852,"children":3853},{"style":163},[3854],{"type":30,"value":166},{"type":21,"tag":92,"props":3856,"children":3857},{"style":163},[3858],{"type":30,"value":171},{"type":21,"tag":92,"props":3860,"children":3861},{"style":142},[3862],{"type":30,"value":176},{"type":21,"tag":92,"props":3864,"children":3865},{"class":94,"line":1081},[3866,3870,3875,3879,3883,3887,3892],{"type":21,"tag":92,"props":3867,"children":3868},{"style":163},[3869],{"type":30,"value":671},{"type":21,"tag":92,"props":3871,"children":3872},{"style":142},[3873],{"type":30,"value":3874}," markerIcon ",{"type":21,"tag":92,"props":3876,"children":3877},{"style":163},[3878],{"type":30,"value":195},{"type":21,"tag":92,"props":3880,"children":3881},{"style":136},[3882],{"type":30,"value":200},{"type":21,"tag":92,"props":3884,"children":3885},{"style":142},[3886],{"type":30,"value":227},{"type":21,"tag":92,"props":3888,"children":3889},{"style":157},[3890],{"type":30,"value":3891},"getIcon",{"type":21,"tag":92,"props":3893,"children":3894},{"style":142},[3895],{"type":30,"value":237},{"type":21,"tag":92,"props":3897,"children":3898},{"class":94,"line":1106},[3899,3904,3908,3912,3916,3921,3925,3929,3934,3938,3943],{"type":21,"tag":92,"props":3900,"children":3901},{"style":142},[3902],{"type":30,"value":3903},"            cHeight ",{"type":21,"tag":92,"props":3905,"children":3906},{"style":163},[3907],{"type":30,"value":195},{"type":21,"tag":92,"props":3909,"children":3910},{"style":136},[3911],{"type":30,"value":200},{"type":21,"tag":92,"props":3913,"children":3914},{"style":142},[3915],{"type":30,"value":3688},{"type":21,"tag":92,"props":3917,"children":3918},{"style":157},[3919],{"type":30,"value":3920},"outerHeight",{"type":21,"tag":92,"props":3922,"children":3923},{"style":142},[3924],{"type":30,"value":570},{"type":21,"tag":92,"props":3926,"children":3927},{"style":163},[3928],{"type":30,"value":724},{"type":21,"tag":92,"props":3930,"children":3931},{"style":142},[3932],{"type":30,"value":3933}," markerIcon.scaledSize.height ",{"type":21,"tag":92,"props":3935,"children":3936},{"style":163},[3937],{"type":30,"value":724},{"type":21,"tag":92,"props":3939,"children":3940},{"style":136},[3941],{"type":30,"value":3942}," 10",{"type":21,"tag":92,"props":3944,"children":3945},{"style":142},[3946],{"type":30,"value":345},{"type":21,"tag":92,"props":3948,"children":3949},{"class":94,"line":1173},[3950,3955,3959,3963,3967,3972,3976,3980,3984,3989,3994,3998,4002],{"type":21,"tag":92,"props":3951,"children":3952},{"style":142},[3953],{"type":30,"value":3954},"            cWidth ",{"type":21,"tag":92,"props":3956,"children":3957},{"style":163},[3958],{"type":30,"value":195},{"type":21,"tag":92,"props":3960,"children":3961},{"style":136},[3962],{"type":30,"value":200},{"type":21,"tag":92,"props":3964,"children":3965},{"style":142},[3966],{"type":30,"value":3688},{"type":21,"tag":92,"props":3968,"children":3969},{"style":157},[3970],{"type":30,"value":3971},"width",{"type":21,"tag":92,"props":3973,"children":3974},{"style":142},[3975],{"type":30,"value":570},{"type":21,"tag":92,"props":3977,"children":3978},{"style":163},[3979],{"type":30,"value":335},{"type":21,"tag":92,"props":3981,"children":3982},{"style":136},[3983],{"type":30,"value":340},{"type":21,"tag":92,"props":3985,"children":3986},{"style":163},[3987],{"type":30,"value":3988}," +",{"type":21,"tag":92,"props":3990,"children":3991},{"style":142},[3992],{"type":30,"value":3993}," markerIcon.scaledSize.width ",{"type":21,"tag":92,"props":3995,"children":3996},{"style":163},[3997],{"type":30,"value":335},{"type":21,"tag":92,"props":3999,"children":4000},{"style":136},[4001],{"type":30,"value":340},{"type":21,"tag":92,"props":4003,"children":4004},{"style":142},[4005],{"type":30,"value":1420},{"type":21,"tag":92,"props":4007,"children":4008},{"class":94,"line":1222},[4009,4013,4017,4021,4025,4029,4034,4039,4044,4048,4052,4056,4060],{"type":21,"tag":92,"props":4010,"children":4011},{"style":136},[4012],{"type":30,"value":3338},{"type":21,"tag":92,"props":4014,"children":4015},{"style":142},[4016],{"type":30,"value":3426},{"type":21,"tag":92,"props":4018,"children":4019},{"style":163},[4020],{"type":30,"value":195},{"type":21,"tag":92,"props":4022,"children":4023},{"style":136},[4024],{"type":30,"value":200},{"type":21,"tag":92,"props":4026,"children":4027},{"style":142},[4028],{"type":30,"value":145},{"type":21,"tag":92,"props":4030,"children":4031},{"style":157},[4032],{"type":30,"value":4033},"getProjection",{"type":21,"tag":92,"props":4035,"children":4036},{"style":142},[4037],{"type":30,"value":4038},"().",{"type":21,"tag":92,"props":4040,"children":4041},{"style":157},[4042],{"type":30,"value":4043},"fromLatLngToDivPixel",{"type":21,"tag":92,"props":4045,"children":4046},{"style":142},[4047],{"type":30,"value":260},{"type":21,"tag":92,"props":4049,"children":4050},{"style":136},[4051],{"type":30,"value":265},{"type":21,"tag":92,"props":4053,"children":4054},{"style":142},[4055],{"type":30,"value":227},{"type":21,"tag":92,"props":4057,"children":4058},{"style":157},[4059],{"type":30,"value":232},{"type":21,"tag":92,"props":4061,"children":4062},{"style":142},[4063],{"type":30,"value":4064},"());\n",{"type":21,"tag":92,"props":4066,"children":4067},{"class":94,"line":1283},[4068,4072,4076,4081],{"type":21,"tag":92,"props":4069,"children":4070},{"style":136},[4071],{"type":30,"value":3338},{"type":21,"tag":92,"props":4073,"children":4074},{"style":142},[4075],{"type":30,"value":3688},{"type":21,"tag":92,"props":4077,"children":4078},{"style":157},[4079],{"type":30,"value":4080},"css",{"type":21,"tag":92,"props":4082,"children":4083},{"style":142},[4084],{"type":30,"value":4085},"({\n",{"type":21,"tag":92,"props":4087,"children":4088},{"class":94,"line":1332},[4089,4094,4098,4102,4107,4111],{"type":21,"tag":92,"props":4090,"children":4091},{"style":2867},[4092],{"type":30,"value":4093},"            'top'",{"type":21,"tag":92,"props":4095,"children":4096},{"style":142},[4097],{"type":30,"value":1155},{"type":21,"tag":92,"props":4099,"children":4100},{"style":136},[4101],{"type":30,"value":265},{"type":21,"tag":92,"props":4103,"children":4104},{"style":142},[4105],{"type":30,"value":4106},".position.y ",{"type":21,"tag":92,"props":4108,"children":4109},{"style":163},[4110],{"type":30,"value":303},{"type":21,"tag":92,"props":4112,"children":4113},{"style":142},[4114],{"type":30,"value":4115}," cHeight,\n",{"type":21,"tag":92,"props":4117,"children":4118},{"class":94,"line":1340},[4119,4124,4128,4132,4137,4141],{"type":21,"tag":92,"props":4120,"children":4121},{"style":2867},[4122],{"type":30,"value":4123},"            'left'",{"type":21,"tag":92,"props":4125,"children":4126},{"style":142},[4127],{"type":30,"value":1155},{"type":21,"tag":92,"props":4129,"children":4130},{"style":136},[4131],{"type":30,"value":265},{"type":21,"tag":92,"props":4133,"children":4134},{"style":142},[4135],{"type":30,"value":4136},".position.x ",{"type":21,"tag":92,"props":4138,"children":4139},{"style":163},[4140],{"type":30,"value":303},{"type":21,"tag":92,"props":4142,"children":4143},{"style":142},[4144],{"type":30,"value":4145}," cWidth\n",{"type":21,"tag":92,"props":4147,"children":4148},{"class":94,"line":1423},[4149],{"type":21,"tag":92,"props":4150,"children":4151},{"style":142},[4152],{"type":30,"value":4153},"        });\n",{"type":21,"tag":92,"props":4155,"children":4156},{"class":94,"line":1432},[4157],{"type":21,"tag":92,"props":4158,"children":4159},{"style":142},[4160],{"type":30,"value":3446},{"type":21,"tag":92,"props":4162,"children":4163},{"class":94,"line":1440},[4164],{"type":21,"tag":92,"props":4165,"children":4166},{"style":99},[4167],{"type":30,"value":3454},{"type":21,"tag":92,"props":4169,"children":4170},{"class":94,"line":1454},[4171],{"type":21,"tag":92,"props":4172,"children":4173},{"style":99},[4174],{"type":30,"value":4175},"     * Called when this overlay has its map set to null.\n",{"type":21,"tag":92,"props":4177,"children":4178},{"class":94,"line":1473},[4179,4183,4187],{"type":21,"tag":92,"props":4180,"children":4181},{"style":99},[4182],{"type":30,"value":3273},{"type":21,"tag":92,"props":4184,"children":4185},{"style":163},[4186],{"type":30,"value":3557},{"type":21,"tag":92,"props":4188,"children":4189},{"style":157},[4190],{"type":30,"value":4191}," CustomWindow.close\n",{"type":21,"tag":92,"props":4193,"children":4194},{"class":94,"line":1482},[4195],{"type":21,"tag":92,"props":4196,"children":4197},{"style":99},[4198],{"type":30,"value":3291},{"type":21,"tag":92,"props":4200,"children":4201},{"class":94,"line":1490},[4202,4206,4210,4214,4218,4223,4227,4231],{"type":21,"tag":92,"props":4203,"children":4204},{"style":136},[4205],{"type":30,"value":3493},{"type":21,"tag":92,"props":4207,"children":4208},{"style":142},[4209],{"type":30,"value":145},{"type":21,"tag":92,"props":4211,"children":4212},{"style":136},[4213],{"type":30,"value":150},{"type":21,"tag":92,"props":4215,"children":4216},{"style":142},[4217],{"type":30,"value":145},{"type":21,"tag":92,"props":4219,"children":4220},{"style":157},[4221],{"type":30,"value":4222},"onRemove",{"type":21,"tag":92,"props":4224,"children":4225},{"style":163},[4226],{"type":30,"value":166},{"type":21,"tag":92,"props":4228,"children":4229},{"style":163},[4230],{"type":30,"value":171},{"type":21,"tag":92,"props":4232,"children":4233},{"style":142},[4234],{"type":30,"value":176},{"type":21,"tag":92,"props":4236,"children":4238},{"class":94,"line":4237},54,[4239,4243,4247,4252],{"type":21,"tag":92,"props":4240,"children":4241},{"style":136},[4242],{"type":30,"value":3338},{"type":21,"tag":92,"props":4244,"children":4245},{"style":142},[4246],{"type":30,"value":3688},{"type":21,"tag":92,"props":4248,"children":4249},{"style":157},[4250],{"type":30,"value":4251},"remove",{"type":21,"tag":92,"props":4253,"children":4254},{"style":142},[4255],{"type":30,"value":532},{"type":21,"tag":92,"props":4257,"children":4259},{"class":94,"line":4258},55,[4260],{"type":21,"tag":92,"props":4261,"children":4262},{"style":142},[4263],{"type":30,"value":3446},{"type":21,"tag":92,"props":4265,"children":4267},{"class":94,"line":4266},56,[4268],{"type":21,"tag":92,"props":4269,"children":4270},{"style":99},[4271],{"type":30,"value":3454},{"type":21,"tag":92,"props":4273,"children":4275},{"class":94,"line":4274},57,[4276],{"type":21,"tag":92,"props":4277,"children":4278},{"style":99},[4279],{"type":30,"value":4280},"     * Sets the contents of this overlay.\n",{"type":21,"tag":92,"props":4282,"children":4284},{"class":94,"line":4283},58,[4285,4289,4294,4299],{"type":21,"tag":92,"props":4286,"children":4287},{"style":99},[4288],{"type":30,"value":3273},{"type":21,"tag":92,"props":4290,"children":4291},{"style":163},[4292],{"type":30,"value":4293},"@param",{"type":21,"tag":92,"props":4295,"children":4296},{"style":157},[4297],{"type":30,"value":4298}," {string}",{"type":21,"tag":92,"props":4300,"children":4301},{"style":142},[4302],{"type":30,"value":4303}," html\n",{"type":21,"tag":92,"props":4305,"children":4307},{"class":94,"line":4306},59,[4308],{"type":21,"tag":92,"props":4309,"children":4310},{"style":99},[4311],{"type":30,"value":3291},{"type":21,"tag":92,"props":4313,"children":4315},{"class":94,"line":4314},60,[4316,4320,4324,4328,4332,4337,4341,4345,4349,4355],{"type":21,"tag":92,"props":4317,"children":4318},{"style":136},[4319],{"type":30,"value":3493},{"type":21,"tag":92,"props":4321,"children":4322},{"style":142},[4323],{"type":30,"value":145},{"type":21,"tag":92,"props":4325,"children":4326},{"style":136},[4327],{"type":30,"value":150},{"type":21,"tag":92,"props":4329,"children":4330},{"style":142},[4331],{"type":30,"value":145},{"type":21,"tag":92,"props":4333,"children":4334},{"style":157},[4335],{"type":30,"value":4336},"setContent",{"type":21,"tag":92,"props":4338,"children":4339},{"style":163},[4340],{"type":30,"value":166},{"type":21,"tag":92,"props":4342,"children":4343},{"style":163},[4344],{"type":30,"value":171},{"type":21,"tag":92,"props":4346,"children":4347},{"style":142},[4348],{"type":30,"value":260},{"type":21,"tag":92,"props":4350,"children":4352},{"style":4351},"--shiki-default:#E36209;--shiki-dark:#FFAB70",[4353],{"type":30,"value":4354},"html",{"type":21,"tag":92,"props":4356,"children":4357},{"style":142},[4358],{"type":30,"value":4359},"){\n",{"type":21,"tag":92,"props":4361,"children":4363},{"class":94,"line":4362},61,[4364,4368,4372,4376],{"type":21,"tag":92,"props":4365,"children":4366},{"style":136},[4367],{"type":30,"value":3338},{"type":21,"tag":92,"props":4369,"children":4370},{"style":142},[4371],{"type":30,"value":3688},{"type":21,"tag":92,"props":4373,"children":4374},{"style":157},[4375],{"type":30,"value":4354},{"type":21,"tag":92,"props":4377,"children":4378},{"style":142},[4379],{"type":30,"value":4380},"(html);\n",{"type":21,"tag":92,"props":4382,"children":4384},{"class":94,"line":4383},62,[4385],{"type":21,"tag":92,"props":4386,"children":4387},{"style":142},[4388],{"type":30,"value":3446},{"type":21,"tag":92,"props":4390,"children":4392},{"class":94,"line":4391},63,[4393],{"type":21,"tag":92,"props":4394,"children":4395},{"style":99},[4396],{"type":30,"value":3454},{"type":21,"tag":92,"props":4398,"children":4400},{"class":94,"line":4399},64,[4401],{"type":21,"tag":92,"props":4402,"children":4403},{"style":99},[4404],{"type":30,"value":4405},"     * Sets the map and relevant marker for this overlay.\n",{"type":21,"tag":92,"props":4407,"children":4409},{"class":94,"line":4408},65,[4410,4414,4418,4423],{"type":21,"tag":92,"props":4411,"children":4412},{"style":99},[4413],{"type":30,"value":3273},{"type":21,"tag":92,"props":4415,"children":4416},{"style":163},[4417],{"type":30,"value":4293},{"type":21,"tag":92,"props":4419,"children":4420},{"style":157},[4421],{"type":30,"value":4422}," {google.maps.Map}",{"type":21,"tag":92,"props":4424,"children":4425},{"style":142},[4426],{"type":30,"value":4427}," map\n",{"type":21,"tag":92,"props":4429,"children":4431},{"class":94,"line":4430},66,[4432,4436,4440,4445],{"type":21,"tag":92,"props":4433,"children":4434},{"style":99},[4435],{"type":30,"value":3273},{"type":21,"tag":92,"props":4437,"children":4438},{"style":163},[4439],{"type":30,"value":4293},{"type":21,"tag":92,"props":4441,"children":4442},{"style":157},[4443],{"type":30,"value":4444}," {google.maps.Marker}",{"type":21,"tag":92,"props":4446,"children":4447},{"style":142},[4448],{"type":30,"value":4449}," marker\n",{"type":21,"tag":92,"props":4451,"children":4453},{"class":94,"line":4452},67,[4454],{"type":21,"tag":92,"props":4455,"children":4456},{"style":99},[4457],{"type":30,"value":3291},{"type":21,"tag":92,"props":4459,"children":4461},{"class":94,"line":4460},68,[4462,4466,4470,4474,4478,4483,4487,4491,4495,4500,4505,4510],{"type":21,"tag":92,"props":4463,"children":4464},{"style":136},[4465],{"type":30,"value":3493},{"type":21,"tag":92,"props":4467,"children":4468},{"style":142},[4469],{"type":30,"value":145},{"type":21,"tag":92,"props":4471,"children":4472},{"style":136},[4473],{"type":30,"value":150},{"type":21,"tag":92,"props":4475,"children":4476},{"style":142},[4477],{"type":30,"value":145},{"type":21,"tag":92,"props":4479,"children":4480},{"style":157},[4481],{"type":30,"value":4482},"open",{"type":21,"tag":92,"props":4484,"children":4485},{"style":163},[4486],{"type":30,"value":166},{"type":21,"tag":92,"props":4488,"children":4489},{"style":163},[4490],{"type":30,"value":171},{"type":21,"tag":92,"props":4492,"children":4493},{"style":142},[4494],{"type":30,"value":260},{"type":21,"tag":92,"props":4496,"children":4497},{"style":4351},[4498],{"type":30,"value":4499},"map",{"type":21,"tag":92,"props":4501,"children":4502},{"style":142},[4503],{"type":30,"value":4504},", ",{"type":21,"tag":92,"props":4506,"children":4507},{"style":4351},[4508],{"type":30,"value":4509},"marker",{"type":21,"tag":92,"props":4511,"children":4512},{"style":142},[4513],{"type":30,"value":4359},{"type":21,"tag":92,"props":4515,"children":4517},{"class":94,"line":4516},69,[4518,4522,4526,4530],{"type":21,"tag":92,"props":4519,"children":4520},{"style":136},[4521],{"type":30,"value":3338},{"type":21,"tag":92,"props":4523,"children":4524},{"style":142},[4525],{"type":30,"value":3402},{"type":21,"tag":92,"props":4527,"children":4528},{"style":163},[4529],{"type":30,"value":195},{"type":21,"tag":92,"props":4531,"children":4532},{"style":142},[4533],{"type":30,"value":4534}," marker;\n",{"type":21,"tag":92,"props":4536,"children":4538},{"class":94,"line":4537},70,[4539,4543,4547,4552],{"type":21,"tag":92,"props":4540,"children":4541},{"style":136},[4542],{"type":30,"value":3338},{"type":21,"tag":92,"props":4544,"children":4545},{"style":142},[4546],{"type":30,"value":145},{"type":21,"tag":92,"props":4548,"children":4549},{"style":157},[4550],{"type":30,"value":4551},"setMap",{"type":21,"tag":92,"props":4553,"children":4554},{"style":142},[4555],{"type":30,"value":4556},"(map);\n",{"type":21,"tag":92,"props":4558,"children":4560},{"class":94,"line":4559},71,[4561],{"type":21,"tag":92,"props":4562,"children":4563},{"style":142},[4564],{"type":30,"value":3446},{"type":21,"tag":92,"props":4566,"children":4568},{"class":94,"line":4567},72,[4569],{"type":21,"tag":92,"props":4570,"children":4571},{"style":99},[4572],{"type":30,"value":3454},{"type":21,"tag":92,"props":4574,"children":4576},{"class":94,"line":4575},73,[4577],{"type":21,"tag":92,"props":4578,"children":4579},{"style":99},[4580],{"type":30,"value":4581},"     * Close this overlay by setting its map to null.\n",{"type":21,"tag":92,"props":4583,"children":4585},{"class":94,"line":4584},74,[4586],{"type":21,"tag":92,"props":4587,"children":4588},{"style":99},[4589],{"type":30,"value":3291},{"type":21,"tag":92,"props":4591,"children":4593},{"class":94,"line":4592},75,[4594,4598,4602,4606,4610,4614,4618,4622],{"type":21,"tag":92,"props":4595,"children":4596},{"style":136},[4597],{"type":30,"value":3493},{"type":21,"tag":92,"props":4599,"children":4600},{"style":142},[4601],{"type":30,"value":145},{"type":21,"tag":92,"props":4603,"children":4604},{"style":136},[4605],{"type":30,"value":150},{"type":21,"tag":92,"props":4607,"children":4608},{"style":142},[4609],{"type":30,"value":145},{"type":21,"tag":92,"props":4611,"children":4612},{"style":157},[4613],{"type":30,"value":3768},{"type":21,"tag":92,"props":4615,"children":4616},{"style":163},[4617],{"type":30,"value":166},{"type":21,"tag":92,"props":4619,"children":4620},{"style":163},[4621],{"type":30,"value":171},{"type":21,"tag":92,"props":4623,"children":4624},{"style":142},[4625],{"type":30,"value":176},{"type":21,"tag":92,"props":4627,"children":4629},{"class":94,"line":4628},76,[4630,4634,4638,4642,4646,4651],{"type":21,"tag":92,"props":4631,"children":4632},{"style":136},[4633],{"type":30,"value":3338},{"type":21,"tag":92,"props":4635,"children":4636},{"style":142},[4637],{"type":30,"value":145},{"type":21,"tag":92,"props":4639,"children":4640},{"style":157},[4641],{"type":30,"value":4551},{"type":21,"tag":92,"props":4643,"children":4644},{"style":142},[4645],{"type":30,"value":260},{"type":21,"tag":92,"props":4647,"children":4648},{"style":136},[4649],{"type":30,"value":4650},"null",{"type":21,"tag":92,"props":4652,"children":4653},{"style":142},[4654],{"type":30,"value":1329},{"type":21,"tag":92,"props":4656,"children":4658},{"class":94,"line":4657},77,[4659],{"type":21,"tag":92,"props":4660,"children":4661},{"style":142},[4662],{"type":30,"value":3446},{"type":21,"tag":92,"props":4664,"children":4666},{"class":94,"line":4665},78,[4667,4672],{"type":21,"tag":92,"props":4668,"children":4669},{"style":163},[4670],{"type":30,"value":4671},"    return",{"type":21,"tag":92,"props":4673,"children":4674},{"style":142},[4675],{"type":30,"value":4676}," CustomWindow;\n",{"type":21,"tag":92,"props":4678,"children":4680},{"class":94,"line":4679},79,[4681],{"type":21,"tag":92,"props":4682,"children":4683},{"style":142},[4684],{"type":30,"value":4685},"});\n",{"type":21,"tag":26,"props":4687,"children":4688},{},[4689],{"type":30,"value":4690},"We create a closure that contains our custom window object, and extend OverlayView within. You'll notice this isn't executing - we don't want to call it immediately, but rather wait until init. We'll assume we've assigned this function to a property of GMaps, for example:",{"type":21,"tag":81,"props":4692,"children":4694},{"className":83,"code":4693,"language":85,"meta":8,"style":8},"GMaps.CustomWindow = (function(){\n...\n",[4695],{"type":21,"tag":88,"props":4696,"children":4697},{"__ignoreMap":8},[4698,4722],{"type":21,"tag":92,"props":4699,"children":4700},{"class":94,"line":95},[4701,4706,4710,4714,4718],{"type":21,"tag":92,"props":4702,"children":4703},{"style":142},[4704],{"type":30,"value":4705},"GMaps.CustomWindow ",{"type":21,"tag":92,"props":4707,"children":4708},{"style":163},[4709],{"type":30,"value":195},{"type":21,"tag":92,"props":4711,"children":4712},{"style":142},[4713],{"type":30,"value":446},{"type":21,"tag":92,"props":4715,"children":4716},{"style":163},[4717],{"type":30,"value":451},{"type":21,"tag":92,"props":4719,"children":4720},{"style":142},[4721],{"type":30,"value":176},{"type":21,"tag":92,"props":4723,"children":4724},{"class":94,"line":105},[4725],{"type":21,"tag":92,"props":4726,"children":4727},{"style":163},[4728],{"type":30,"value":4729},"...\n",{"type":21,"tag":26,"props":4731,"children":4732},{},[4733,4735,4740],{"type":30,"value":4734},"There's a few ways we could now create our custom info window, depending on whether we decided to use an instantiated object or a 'static' function as our init callback. We could use a listener (listening for an event triggered on some guaranteed-present element, like 'body') for the static, so that we access to ",{"type":21,"tag":88,"props":4736,"children":4738},{"className":4737},[],[4739],{"type":30,"value":265},{"type":30,"value":4741}," when we create the info window; or, if we already have our GMaps object, we could simply instantiate it in our init function itself.",{"type":21,"tag":81,"props":4743,"children":4745},{"className":83,"code":4744,"language":85,"meta":8,"style":8},"function GMaps(){\n    // Set properties\n    this.mapReady = false;\n    $('body').one('gmaps:ready', function(){\n        this.mapReady = true;\n        this.infoWindow = (GMaps.CustomWindow())();\n    }.bind(this));\n}\n\nGMaps.init = function(){\n    $('body').trigger('gmaps:ready');\n}\n\n// OR\n\nGMaps.prototype.init = function(){\n    this.mapReady = true;\n    this.infoWindow = (GMaps.CustomWindow())();\n}\n",[4746],{"type":21,"tag":88,"props":4747,"children":4748},{"__ignoreMap":8},[4749,4764,4771,4794,4841,4864,4894,4918,4925,4932,4955,4991,4998,5005,5012,5019,5054,5077,5104],{"type":21,"tag":92,"props":4750,"children":4751},{"class":94,"line":95},[4752,4756,4760],{"type":21,"tag":92,"props":4753,"children":4754},{"style":163},[4755],{"type":30,"value":451},{"type":21,"tag":92,"props":4757,"children":4758},{"style":157},[4759],{"type":30,"value":2953},{"type":21,"tag":92,"props":4761,"children":4762},{"style":142},[4763],{"type":30,"value":176},{"type":21,"tag":92,"props":4765,"children":4766},{"class":94,"line":105},[4767],{"type":21,"tag":92,"props":4768,"children":4769},{"style":99},[4770],{"type":30,"value":2965},{"type":21,"tag":92,"props":4772,"children":4773},{"class":94,"line":114},[4774,4778,4782,4786,4790],{"type":21,"tag":92,"props":4775,"children":4776},{"style":136},[4777],{"type":30,"value":2973},{"type":21,"tag":92,"props":4779,"children":4780},{"style":142},[4781],{"type":30,"value":2978},{"type":21,"tag":92,"props":4783,"children":4784},{"style":163},[4785],{"type":30,"value":195},{"type":21,"tag":92,"props":4787,"children":4788},{"style":136},[4789],{"type":30,"value":2987},{"type":21,"tag":92,"props":4791,"children":4792},{"style":142},[4793],{"type":30,"value":1420},{"type":21,"tag":92,"props":4795,"children":4796},{"class":94,"line":123},[4797,4802,4806,4811,4815,4820,4824,4829,4833,4837],{"type":21,"tag":92,"props":4798,"children":4799},{"style":157},[4800],{"type":30,"value":4801},"    $",{"type":21,"tag":92,"props":4803,"children":4804},{"style":142},[4805],{"type":30,"value":260},{"type":21,"tag":92,"props":4807,"children":4808},{"style":2867},[4809],{"type":30,"value":4810},"'body'",{"type":21,"tag":92,"props":4812,"children":4813},{"style":142},[4814],{"type":30,"value":3707},{"type":21,"tag":92,"props":4816,"children":4817},{"style":157},[4818],{"type":30,"value":4819},"one",{"type":21,"tag":92,"props":4821,"children":4822},{"style":142},[4823],{"type":30,"value":260},{"type":21,"tag":92,"props":4825,"children":4826},{"style":2867},[4827],{"type":30,"value":4828},"'gmaps:ready'",{"type":21,"tag":92,"props":4830,"children":4831},{"style":142},[4832],{"type":30,"value":4504},{"type":21,"tag":92,"props":4834,"children":4835},{"style":163},[4836],{"type":30,"value":451},{"type":21,"tag":92,"props":4838,"children":4839},{"style":142},[4840],{"type":30,"value":176},{"type":21,"tag":92,"props":4842,"children":4843},{"class":94,"line":132},[4844,4848,4852,4856,4860],{"type":21,"tag":92,"props":4845,"children":4846},{"style":136},[4847],{"type":30,"value":3338},{"type":21,"tag":92,"props":4849,"children":4850},{"style":142},[4851],{"type":30,"value":2978},{"type":21,"tag":92,"props":4853,"children":4854},{"style":163},[4855],{"type":30,"value":195},{"type":21,"tag":92,"props":4857,"children":4858},{"style":136},[4859],{"type":30,"value":3093},{"type":21,"tag":92,"props":4861,"children":4862},{"style":142},[4863],{"type":30,"value":1420},{"type":21,"tag":92,"props":4865,"children":4866},{"class":94,"line":179},[4867,4871,4876,4880,4885,4889],{"type":21,"tag":92,"props":4868,"children":4869},{"style":136},[4870],{"type":30,"value":3338},{"type":21,"tag":92,"props":4872,"children":4873},{"style":142},[4874],{"type":30,"value":4875},".infoWindow ",{"type":21,"tag":92,"props":4877,"children":4878},{"style":163},[4879],{"type":30,"value":195},{"type":21,"tag":92,"props":4881,"children":4882},{"style":142},[4883],{"type":30,"value":4884}," (GMaps.",{"type":21,"tag":92,"props":4886,"children":4887},{"style":157},[4888],{"type":30,"value":139},{"type":21,"tag":92,"props":4890,"children":4891},{"style":142},[4892],{"type":30,"value":4893},"())();\n",{"type":21,"tag":92,"props":4895,"children":4896},{"class":94,"line":208},[4897,4902,4906,4910,4914],{"type":21,"tag":92,"props":4898,"children":4899},{"style":142},[4900],{"type":30,"value":4901},"    }.",{"type":21,"tag":92,"props":4903,"children":4904},{"style":157},[4905],{"type":30,"value":3731},{"type":21,"tag":92,"props":4907,"children":4908},{"style":142},[4909],{"type":30,"value":260},{"type":21,"tag":92,"props":4911,"children":4912},{"style":136},[4913],{"type":30,"value":265},{"type":21,"tag":92,"props":4915,"children":4916},{"style":142},[4917],{"type":30,"value":3789},{"type":21,"tag":92,"props":4919,"children":4920},{"class":94,"line":240},[4921],{"type":21,"tag":92,"props":4922,"children":4923},{"style":142},[4924],{"type":30,"value":2734},{"type":21,"tag":92,"props":4926,"children":4927},{"class":94,"line":283},[4928],{"type":21,"tag":92,"props":4929,"children":4930},{"emptyLinePlaceholder":539},[4931],{"type":30,"value":542},{"type":21,"tag":92,"props":4933,"children":4934},{"class":94,"line":311},[4935,4939,4943,4947,4951],{"type":21,"tag":92,"props":4936,"children":4937},{"style":142},[4938],{"type":30,"value":3157},{"type":21,"tag":92,"props":4940,"children":4941},{"style":157},[4942],{"type":30,"value":3061},{"type":21,"tag":92,"props":4944,"children":4945},{"style":163},[4946],{"type":30,"value":166},{"type":21,"tag":92,"props":4948,"children":4949},{"style":163},[4950],{"type":30,"value":171},{"type":21,"tag":92,"props":4952,"children":4953},{"style":142},[4954],{"type":30,"value":176},{"type":21,"tag":92,"props":4956,"children":4957},{"class":94,"line":348},[4958,4962,4966,4970,4974,4979,4983,4987],{"type":21,"tag":92,"props":4959,"children":4960},{"style":157},[4961],{"type":30,"value":4801},{"type":21,"tag":92,"props":4963,"children":4964},{"style":142},[4965],{"type":30,"value":260},{"type":21,"tag":92,"props":4967,"children":4968},{"style":2867},[4969],{"type":30,"value":4810},{"type":21,"tag":92,"props":4971,"children":4972},{"style":142},[4973],{"type":30,"value":3707},{"type":21,"tag":92,"props":4975,"children":4976},{"style":157},[4977],{"type":30,"value":4978},"trigger",{"type":21,"tag":92,"props":4980,"children":4981},{"style":142},[4982],{"type":30,"value":260},{"type":21,"tag":92,"props":4984,"children":4985},{"style":2867},[4986],{"type":30,"value":4828},{"type":21,"tag":92,"props":4988,"children":4989},{"style":142},[4990],{"type":30,"value":1329},{"type":21,"tag":92,"props":4992,"children":4993},{"class":94,"line":378},[4994],{"type":21,"tag":92,"props":4995,"children":4996},{"style":142},[4997],{"type":30,"value":2734},{"type":21,"tag":92,"props":4999,"children":5000},{"class":94,"line":405},[5001],{"type":21,"tag":92,"props":5002,"children":5003},{"emptyLinePlaceholder":539},[5004],{"type":30,"value":542},{"type":21,"tag":92,"props":5006,"children":5007},{"class":94,"line":431},[5008],{"type":21,"tag":92,"props":5009,"children":5010},{"style":99},[5011],{"type":30,"value":3119},{"type":21,"tag":92,"props":5013,"children":5014},{"class":94,"line":458},[5015],{"type":21,"tag":92,"props":5016,"children":5017},{"emptyLinePlaceholder":539},[5018],{"type":30,"value":542},{"type":21,"tag":92,"props":5020,"children":5021},{"class":94,"line":481},[5022,5026,5030,5034,5038,5042,5046,5050],{"type":21,"tag":92,"props":5023,"children":5024},{"style":136},[5025],{"type":30,"value":3044},{"type":21,"tag":92,"props":5027,"children":5028},{"style":142},[5029],{"type":30,"value":145},{"type":21,"tag":92,"props":5031,"children":5032},{"style":136},[5033],{"type":30,"value":150},{"type":21,"tag":92,"props":5035,"children":5036},{"style":142},[5037],{"type":30,"value":145},{"type":21,"tag":92,"props":5039,"children":5040},{"style":157},[5041],{"type":30,"value":3061},{"type":21,"tag":92,"props":5043,"children":5044},{"style":163},[5045],{"type":30,"value":166},{"type":21,"tag":92,"props":5047,"children":5048},{"style":163},[5049],{"type":30,"value":171},{"type":21,"tag":92,"props":5051,"children":5052},{"style":142},[5053],{"type":30,"value":176},{"type":21,"tag":92,"props":5055,"children":5056},{"class":94,"line":507},[5057,5061,5065,5069,5073],{"type":21,"tag":92,"props":5058,"children":5059},{"style":136},[5060],{"type":30,"value":2973},{"type":21,"tag":92,"props":5062,"children":5063},{"style":142},[5064],{"type":30,"value":2978},{"type":21,"tag":92,"props":5066,"children":5067},{"style":163},[5068],{"type":30,"value":195},{"type":21,"tag":92,"props":5070,"children":5071},{"style":136},[5072],{"type":30,"value":3093},{"type":21,"tag":92,"props":5074,"children":5075},{"style":142},[5076],{"type":30,"value":1420},{"type":21,"tag":92,"props":5078,"children":5079},{"class":94,"line":535},[5080,5084,5088,5092,5096,5100],{"type":21,"tag":92,"props":5081,"children":5082},{"style":136},[5083],{"type":30,"value":2973},{"type":21,"tag":92,"props":5085,"children":5086},{"style":142},[5087],{"type":30,"value":4875},{"type":21,"tag":92,"props":5089,"children":5090},{"style":163},[5091],{"type":30,"value":195},{"type":21,"tag":92,"props":5093,"children":5094},{"style":142},[5095],{"type":30,"value":4884},{"type":21,"tag":92,"props":5097,"children":5098},{"style":157},[5099],{"type":30,"value":139},{"type":21,"tag":92,"props":5101,"children":5102},{"style":142},[5103],{"type":30,"value":4893},{"type":21,"tag":92,"props":5105,"children":5106},{"class":94,"line":545},[5107],{"type":21,"tag":92,"props":5108,"children":5109},{"style":142},[5110],{"type":30,"value":2734},{"type":21,"tag":2808,"props":5112,"children":5114},{"id":5113},"content-and-styling",[5115],{"type":30,"value":5116},"Content and Styling",{"type":21,"tag":26,"props":5118,"children":5119},{},[5120,5122,5128,5130,5136],{"type":30,"value":5121},"There are some assumptions built in to the object - namely, that we want a div with the class ",{"type":21,"tag":88,"props":5123,"children":5125},{"className":5124},[],[5126],{"type":30,"value":5127},"map-info-window",{"type":30,"value":5129}," feel free to change this however you please. There's one other element addressed by class name, ",{"type":21,"tag":88,"props":5131,"children":5133},{"className":5132},[],[5134],{"type":30,"value":5135},"map-info-close",{"type":30,"value":5137}," this is our close button, obviously.",{"type":21,"tag":26,"props":5139,"children":5140},{},[5141],{"type":30,"value":5142},"The expected markup for our info window looks something like:",{"type":21,"tag":81,"props":5144,"children":5147},{"className":5145,"code":5146,"language":4354,"meta":8,"style":8},"language-html shiki shiki-themes github-light github-dark","\u003Cdiv class=\"map-info-window\">\n    \u003Cdiv class=\"map-info-close\">x\u003C/div>\n    \u003C!-- The rest of your content -->\n\u003C/div>\n",[5148],{"type":21,"tag":88,"props":5149,"children":5150},{"__ignoreMap":8},[5151,5183,5221,5229],{"type":21,"tag":92,"props":5152,"children":5153},{"class":94,"line":95},[5154,5158,5164,5169,5173,5178],{"type":21,"tag":92,"props":5155,"children":5156},{"style":142},[5157],{"type":30,"value":1126},{"type":21,"tag":92,"props":5159,"children":5161},{"style":5160},"--shiki-default:#22863A;--shiki-dark:#85E89D",[5162],{"type":30,"value":5163},"div",{"type":21,"tag":92,"props":5165,"children":5166},{"style":157},[5167],{"type":30,"value":5168}," class",{"type":21,"tag":92,"props":5170,"children":5171},{"style":142},[5172],{"type":30,"value":195},{"type":21,"tag":92,"props":5174,"children":5175},{"style":2867},[5176],{"type":30,"value":5177},"\"map-info-window\"",{"type":21,"tag":92,"props":5179,"children":5180},{"style":142},[5181],{"type":30,"value":5182},">\n",{"type":21,"tag":92,"props":5184,"children":5185},{"class":94,"line":105},[5186,5191,5195,5199,5203,5208,5213,5217],{"type":21,"tag":92,"props":5187,"children":5188},{"style":142},[5189],{"type":30,"value":5190},"    \u003C",{"type":21,"tag":92,"props":5192,"children":5193},{"style":5160},[5194],{"type":30,"value":5163},{"type":21,"tag":92,"props":5196,"children":5197},{"style":157},[5198],{"type":30,"value":5168},{"type":21,"tag":92,"props":5200,"children":5201},{"style":142},[5202],{"type":30,"value":195},{"type":21,"tag":92,"props":5204,"children":5205},{"style":2867},[5206],{"type":30,"value":5207},"\"map-info-close\"",{"type":21,"tag":92,"props":5209,"children":5210},{"style":142},[5211],{"type":30,"value":5212},">x\u003C/",{"type":21,"tag":92,"props":5214,"children":5215},{"style":5160},[5216],{"type":30,"value":5163},{"type":21,"tag":92,"props":5218,"children":5219},{"style":142},[5220],{"type":30,"value":5182},{"type":21,"tag":92,"props":5222,"children":5223},{"class":94,"line":114},[5224],{"type":21,"tag":92,"props":5225,"children":5226},{"style":99},[5227],{"type":30,"value":5228},"    \u003C!-- The rest of your content -->\n",{"type":21,"tag":92,"props":5230,"children":5231},{"class":94,"line":123},[5232,5237,5241],{"type":21,"tag":92,"props":5233,"children":5234},{"style":142},[5235],{"type":30,"value":5236},"\u003C/",{"type":21,"tag":92,"props":5238,"children":5239},{"style":5160},[5240],{"type":30,"value":5163},{"type":21,"tag":92,"props":5242,"children":5243},{"style":142},[5244],{"type":30,"value":5182},{"type":21,"tag":26,"props":5246,"children":5247},{},[5248],{"type":30,"value":5249},"You can insert arbitrary html content into this div (via setContent), just as you would with a standard infoWindow. This content can then be styled as per usual.",{"type":21,"tag":26,"props":5251,"children":5252},{},[5253],{"type":30,"value":5254},"The absolute minimum required css looks like:",{"type":21,"tag":81,"props":5256,"children":5259},{"className":5257,"code":5258,"language":4080,"meta":8,"style":8},"language-css shiki shiki-themes github-light github-dark",".map-info-window{\n    overflow:hidden;\n    position:absolute;\n}\n\n.map-info-window .map-info-close{\n    float:right;\n    cursor:pointer;\n}\n",[5260],{"type":21,"tag":88,"props":5261,"children":5262},{"__ignoreMap":8},[5263,5276,5297,5318,5325,5332,5348,5369,5390],{"type":21,"tag":92,"props":5264,"children":5265},{"class":94,"line":95},[5266,5271],{"type":21,"tag":92,"props":5267,"children":5268},{"style":157},[5269],{"type":30,"value":5270},".map-info-window",{"type":21,"tag":92,"props":5272,"children":5273},{"style":142},[5274],{"type":30,"value":5275},"{\n",{"type":21,"tag":92,"props":5277,"children":5278},{"class":94,"line":105},[5279,5284,5288,5293],{"type":21,"tag":92,"props":5280,"children":5281},{"style":136},[5282],{"type":30,"value":5283},"    overflow",{"type":21,"tag":92,"props":5285,"children":5286},{"style":142},[5287],{"type":30,"value":1155},{"type":21,"tag":92,"props":5289,"children":5290},{"style":136},[5291],{"type":30,"value":5292},"hidden",{"type":21,"tag":92,"props":5294,"children":5295},{"style":142},[5296],{"type":30,"value":1420},{"type":21,"tag":92,"props":5298,"children":5299},{"class":94,"line":114},[5300,5305,5309,5314],{"type":21,"tag":92,"props":5301,"children":5302},{"style":136},[5303],{"type":30,"value":5304},"    position",{"type":21,"tag":92,"props":5306,"children":5307},{"style":142},[5308],{"type":30,"value":1155},{"type":21,"tag":92,"props":5310,"children":5311},{"style":136},[5312],{"type":30,"value":5313},"absolute",{"type":21,"tag":92,"props":5315,"children":5316},{"style":142},[5317],{"type":30,"value":1420},{"type":21,"tag":92,"props":5319,"children":5320},{"class":94,"line":123},[5321],{"type":21,"tag":92,"props":5322,"children":5323},{"style":142},[5324],{"type":30,"value":2734},{"type":21,"tag":92,"props":5326,"children":5327},{"class":94,"line":132},[5328],{"type":21,"tag":92,"props":5329,"children":5330},{"emptyLinePlaceholder":539},[5331],{"type":30,"value":542},{"type":21,"tag":92,"props":5333,"children":5334},{"class":94,"line":179},[5335,5339,5344],{"type":21,"tag":92,"props":5336,"children":5337},{"style":157},[5338],{"type":30,"value":5270},{"type":21,"tag":92,"props":5340,"children":5341},{"style":157},[5342],{"type":30,"value":5343}," .map-info-close",{"type":21,"tag":92,"props":5345,"children":5346},{"style":142},[5347],{"type":30,"value":5275},{"type":21,"tag":92,"props":5349,"children":5350},{"class":94,"line":208},[5351,5356,5360,5365],{"type":21,"tag":92,"props":5352,"children":5353},{"style":136},[5354],{"type":30,"value":5355},"    float",{"type":21,"tag":92,"props":5357,"children":5358},{"style":142},[5359],{"type":30,"value":1155},{"type":21,"tag":92,"props":5361,"children":5362},{"style":136},[5363],{"type":30,"value":5364},"right",{"type":21,"tag":92,"props":5366,"children":5367},{"style":142},[5368],{"type":30,"value":1420},{"type":21,"tag":92,"props":5370,"children":5371},{"class":94,"line":240},[5372,5377,5381,5386],{"type":21,"tag":92,"props":5373,"children":5374},{"style":136},[5375],{"type":30,"value":5376},"    cursor",{"type":21,"tag":92,"props":5378,"children":5379},{"style":142},[5380],{"type":30,"value":1155},{"type":21,"tag":92,"props":5382,"children":5383},{"style":136},[5384],{"type":30,"value":5385},"pointer",{"type":21,"tag":92,"props":5387,"children":5388},{"style":142},[5389],{"type":30,"value":1420},{"type":21,"tag":92,"props":5391,"children":5392},{"class":94,"line":283},[5393],{"type":21,"tag":92,"props":5394,"children":5395},{"style":142},[5396],{"type":30,"value":2734},{"type":21,"tag":26,"props":5398,"children":5399},{},[5400],{"type":30,"value":5401},"In order to get your info window to look something like the top-image example, you'll want a little more than the barebones:",{"type":21,"tag":81,"props":5403,"children":5405},{"className":5257,"code":5404,"language":4080,"meta":8,"style":8},".map-info-window{\n    background:#333;\n    border-radius:4px;\n    box-shadow:8px 8px 16px #222;\n    color:#fff;\n    max-width:200px;\n    max-height:300px;\n    text-align:center;\n    padding:5px 20px 10px;\n    overflow:hidden;\n    position:absolute;\n    text-transform:uppercase;\n}\n.map-info-window .map-info-close{\n    float:right;\n    cursor:pointer;\n    margin-right:-5px;\n    margin-left:5px;\n}\n\n.map-info-window h5{\n    font-weight:bold;\n}\n.map-info-window p{\n    color:#939393;\n}\n",[5406],{"type":21,"tag":88,"props":5407,"children":5408},{"__ignoreMap":8},[5409,5420,5441,5467,5515,5536,5561,5586,5607,5649,5668,5687,5708,5715,5730,5749,5768,5793,5817,5824,5831,5847,5868,5875,5891,5911],{"type":21,"tag":92,"props":5410,"children":5411},{"class":94,"line":95},[5412,5416],{"type":21,"tag":92,"props":5413,"children":5414},{"style":157},[5415],{"type":30,"value":5270},{"type":21,"tag":92,"props":5417,"children":5418},{"style":142},[5419],{"type":30,"value":5275},{"type":21,"tag":92,"props":5421,"children":5422},{"class":94,"line":105},[5423,5428,5432,5437],{"type":21,"tag":92,"props":5424,"children":5425},{"style":136},[5426],{"type":30,"value":5427},"    background",{"type":21,"tag":92,"props":5429,"children":5430},{"style":142},[5431],{"type":30,"value":1155},{"type":21,"tag":92,"props":5433,"children":5434},{"style":136},[5435],{"type":30,"value":5436},"#333",{"type":21,"tag":92,"props":5438,"children":5439},{"style":142},[5440],{"type":30,"value":1420},{"type":21,"tag":92,"props":5442,"children":5443},{"class":94,"line":114},[5444,5449,5453,5458,5463],{"type":21,"tag":92,"props":5445,"children":5446},{"style":136},[5447],{"type":30,"value":5448},"    border-radius",{"type":21,"tag":92,"props":5450,"children":5451},{"style":142},[5452],{"type":30,"value":1155},{"type":21,"tag":92,"props":5454,"children":5455},{"style":136},[5456],{"type":30,"value":5457},"4",{"type":21,"tag":92,"props":5459,"children":5460},{"style":163},[5461],{"type":30,"value":5462},"px",{"type":21,"tag":92,"props":5464,"children":5465},{"style":142},[5466],{"type":30,"value":1420},{"type":21,"tag":92,"props":5468,"children":5469},{"class":94,"line":123},[5470,5475,5479,5484,5488,5493,5497,5502,5506,5511],{"type":21,"tag":92,"props":5471,"children":5472},{"style":136},[5473],{"type":30,"value":5474},"    box-shadow",{"type":21,"tag":92,"props":5476,"children":5477},{"style":142},[5478],{"type":30,"value":1155},{"type":21,"tag":92,"props":5480,"children":5481},{"style":136},[5482],{"type":30,"value":5483},"8",{"type":21,"tag":92,"props":5485,"children":5486},{"style":163},[5487],{"type":30,"value":5462},{"type":21,"tag":92,"props":5489,"children":5490},{"style":136},[5491],{"type":30,"value":5492}," 8",{"type":21,"tag":92,"props":5494,"children":5495},{"style":163},[5496],{"type":30,"value":5462},{"type":21,"tag":92,"props":5498,"children":5499},{"style":136},[5500],{"type":30,"value":5501}," 16",{"type":21,"tag":92,"props":5503,"children":5504},{"style":163},[5505],{"type":30,"value":5462},{"type":21,"tag":92,"props":5507,"children":5508},{"style":136},[5509],{"type":30,"value":5510}," #222",{"type":21,"tag":92,"props":5512,"children":5513},{"style":142},[5514],{"type":30,"value":1420},{"type":21,"tag":92,"props":5516,"children":5517},{"class":94,"line":132},[5518,5523,5527,5532],{"type":21,"tag":92,"props":5519,"children":5520},{"style":136},[5521],{"type":30,"value":5522},"    color",{"type":21,"tag":92,"props":5524,"children":5525},{"style":142},[5526],{"type":30,"value":1155},{"type":21,"tag":92,"props":5528,"children":5529},{"style":136},[5530],{"type":30,"value":5531},"#fff",{"type":21,"tag":92,"props":5533,"children":5534},{"style":142},[5535],{"type":30,"value":1420},{"type":21,"tag":92,"props":5537,"children":5538},{"class":94,"line":179},[5539,5544,5548,5553,5557],{"type":21,"tag":92,"props":5540,"children":5541},{"style":136},[5542],{"type":30,"value":5543},"    max-width",{"type":21,"tag":92,"props":5545,"children":5546},{"style":142},[5547],{"type":30,"value":1155},{"type":21,"tag":92,"props":5549,"children":5550},{"style":136},[5551],{"type":30,"value":5552},"200",{"type":21,"tag":92,"props":5554,"children":5555},{"style":163},[5556],{"type":30,"value":5462},{"type":21,"tag":92,"props":5558,"children":5559},{"style":142},[5560],{"type":30,"value":1420},{"type":21,"tag":92,"props":5562,"children":5563},{"class":94,"line":208},[5564,5569,5573,5578,5582],{"type":21,"tag":92,"props":5565,"children":5566},{"style":136},[5567],{"type":30,"value":5568},"    max-height",{"type":21,"tag":92,"props":5570,"children":5571},{"style":142},[5572],{"type":30,"value":1155},{"type":21,"tag":92,"props":5574,"children":5575},{"style":136},[5576],{"type":30,"value":5577},"300",{"type":21,"tag":92,"props":5579,"children":5580},{"style":163},[5581],{"type":30,"value":5462},{"type":21,"tag":92,"props":5583,"children":5584},{"style":142},[5585],{"type":30,"value":1420},{"type":21,"tag":92,"props":5587,"children":5588},{"class":94,"line":240},[5589,5594,5598,5603],{"type":21,"tag":92,"props":5590,"children":5591},{"style":136},[5592],{"type":30,"value":5593},"    text-align",{"type":21,"tag":92,"props":5595,"children":5596},{"style":142},[5597],{"type":30,"value":1155},{"type":21,"tag":92,"props":5599,"children":5600},{"style":136},[5601],{"type":30,"value":5602},"center",{"type":21,"tag":92,"props":5604,"children":5605},{"style":142},[5606],{"type":30,"value":1420},{"type":21,"tag":92,"props":5608,"children":5609},{"class":94,"line":283},[5610,5615,5619,5624,5628,5633,5637,5641,5645],{"type":21,"tag":92,"props":5611,"children":5612},{"style":136},[5613],{"type":30,"value":5614},"    padding",{"type":21,"tag":92,"props":5616,"children":5617},{"style":142},[5618],{"type":30,"value":1155},{"type":21,"tag":92,"props":5620,"children":5621},{"style":136},[5622],{"type":30,"value":5623},"5",{"type":21,"tag":92,"props":5625,"children":5626},{"style":163},[5627],{"type":30,"value":5462},{"type":21,"tag":92,"props":5629,"children":5630},{"style":136},[5631],{"type":30,"value":5632}," 20",{"type":21,"tag":92,"props":5634,"children":5635},{"style":163},[5636],{"type":30,"value":5462},{"type":21,"tag":92,"props":5638,"children":5639},{"style":136},[5640],{"type":30,"value":3942},{"type":21,"tag":92,"props":5642,"children":5643},{"style":163},[5644],{"type":30,"value":5462},{"type":21,"tag":92,"props":5646,"children":5647},{"style":142},[5648],{"type":30,"value":1420},{"type":21,"tag":92,"props":5650,"children":5651},{"class":94,"line":311},[5652,5656,5660,5664],{"type":21,"tag":92,"props":5653,"children":5654},{"style":136},[5655],{"type":30,"value":5283},{"type":21,"tag":92,"props":5657,"children":5658},{"style":142},[5659],{"type":30,"value":1155},{"type":21,"tag":92,"props":5661,"children":5662},{"style":136},[5663],{"type":30,"value":5292},{"type":21,"tag":92,"props":5665,"children":5666},{"style":142},[5667],{"type":30,"value":1420},{"type":21,"tag":92,"props":5669,"children":5670},{"class":94,"line":348},[5671,5675,5679,5683],{"type":21,"tag":92,"props":5672,"children":5673},{"style":136},[5674],{"type":30,"value":5304},{"type":21,"tag":92,"props":5676,"children":5677},{"style":142},[5678],{"type":30,"value":1155},{"type":21,"tag":92,"props":5680,"children":5681},{"style":136},[5682],{"type":30,"value":5313},{"type":21,"tag":92,"props":5684,"children":5685},{"style":142},[5686],{"type":30,"value":1420},{"type":21,"tag":92,"props":5688,"children":5689},{"class":94,"line":378},[5690,5695,5699,5704],{"type":21,"tag":92,"props":5691,"children":5692},{"style":136},[5693],{"type":30,"value":5694},"    text-transform",{"type":21,"tag":92,"props":5696,"children":5697},{"style":142},[5698],{"type":30,"value":1155},{"type":21,"tag":92,"props":5700,"children":5701},{"style":136},[5702],{"type":30,"value":5703},"uppercase",{"type":21,"tag":92,"props":5705,"children":5706},{"style":142},[5707],{"type":30,"value":1420},{"type":21,"tag":92,"props":5709,"children":5710},{"class":94,"line":405},[5711],{"type":21,"tag":92,"props":5712,"children":5713},{"style":142},[5714],{"type":30,"value":2734},{"type":21,"tag":92,"props":5716,"children":5717},{"class":94,"line":431},[5718,5722,5726],{"type":21,"tag":92,"props":5719,"children":5720},{"style":157},[5721],{"type":30,"value":5270},{"type":21,"tag":92,"props":5723,"children":5724},{"style":157},[5725],{"type":30,"value":5343},{"type":21,"tag":92,"props":5727,"children":5728},{"style":142},[5729],{"type":30,"value":5275},{"type":21,"tag":92,"props":5731,"children":5732},{"class":94,"line":458},[5733,5737,5741,5745],{"type":21,"tag":92,"props":5734,"children":5735},{"style":136},[5736],{"type":30,"value":5355},{"type":21,"tag":92,"props":5738,"children":5739},{"style":142},[5740],{"type":30,"value":1155},{"type":21,"tag":92,"props":5742,"children":5743},{"style":136},[5744],{"type":30,"value":5364},{"type":21,"tag":92,"props":5746,"children":5747},{"style":142},[5748],{"type":30,"value":1420},{"type":21,"tag":92,"props":5750,"children":5751},{"class":94,"line":481},[5752,5756,5760,5764],{"type":21,"tag":92,"props":5753,"children":5754},{"style":136},[5755],{"type":30,"value":5376},{"type":21,"tag":92,"props":5757,"children":5758},{"style":142},[5759],{"type":30,"value":1155},{"type":21,"tag":92,"props":5761,"children":5762},{"style":136},[5763],{"type":30,"value":5385},{"type":21,"tag":92,"props":5765,"children":5766},{"style":142},[5767],{"type":30,"value":1420},{"type":21,"tag":92,"props":5769,"children":5770},{"class":94,"line":507},[5771,5776,5780,5785,5789],{"type":21,"tag":92,"props":5772,"children":5773},{"style":136},[5774],{"type":30,"value":5775},"    margin-right",{"type":21,"tag":92,"props":5777,"children":5778},{"style":142},[5779],{"type":30,"value":1155},{"type":21,"tag":92,"props":5781,"children":5782},{"style":136},[5783],{"type":30,"value":5784},"-5",{"type":21,"tag":92,"props":5786,"children":5787},{"style":163},[5788],{"type":30,"value":5462},{"type":21,"tag":92,"props":5790,"children":5791},{"style":142},[5792],{"type":30,"value":1420},{"type":21,"tag":92,"props":5794,"children":5795},{"class":94,"line":535},[5796,5801,5805,5809,5813],{"type":21,"tag":92,"props":5797,"children":5798},{"style":136},[5799],{"type":30,"value":5800},"    margin-left",{"type":21,"tag":92,"props":5802,"children":5803},{"style":142},[5804],{"type":30,"value":1155},{"type":21,"tag":92,"props":5806,"children":5807},{"style":136},[5808],{"type":30,"value":5623},{"type":21,"tag":92,"props":5810,"children":5811},{"style":163},[5812],{"type":30,"value":5462},{"type":21,"tag":92,"props":5814,"children":5815},{"style":142},[5816],{"type":30,"value":1420},{"type":21,"tag":92,"props":5818,"children":5819},{"class":94,"line":545},[5820],{"type":21,"tag":92,"props":5821,"children":5822},{"style":142},[5823],{"type":30,"value":2734},{"type":21,"tag":92,"props":5825,"children":5826},{"class":94,"line":582},[5827],{"type":21,"tag":92,"props":5828,"children":5829},{"emptyLinePlaceholder":539},[5830],{"type":30,"value":542},{"type":21,"tag":92,"props":5832,"children":5833},{"class":94,"line":617},[5834,5838,5843],{"type":21,"tag":92,"props":5835,"children":5836},{"style":157},[5837],{"type":30,"value":5270},{"type":21,"tag":92,"props":5839,"children":5840},{"style":5160},[5841],{"type":30,"value":5842}," h5",{"type":21,"tag":92,"props":5844,"children":5845},{"style":142},[5846],{"type":30,"value":5275},{"type":21,"tag":92,"props":5848,"children":5849},{"class":94,"line":631},[5850,5855,5859,5864],{"type":21,"tag":92,"props":5851,"children":5852},{"style":136},[5853],{"type":30,"value":5854},"    font-weight",{"type":21,"tag":92,"props":5856,"children":5857},{"style":142},[5858],{"type":30,"value":1155},{"type":21,"tag":92,"props":5860,"children":5861},{"style":136},[5862],{"type":30,"value":5863},"bold",{"type":21,"tag":92,"props":5865,"children":5866},{"style":142},[5867],{"type":30,"value":1420},{"type":21,"tag":92,"props":5869,"children":5870},{"class":94,"line":640},[5871],{"type":21,"tag":92,"props":5872,"children":5873},{"style":142},[5874],{"type":30,"value":2734},{"type":21,"tag":92,"props":5876,"children":5877},{"class":94,"line":665},[5878,5882,5887],{"type":21,"tag":92,"props":5879,"children":5880},{"style":157},[5881],{"type":30,"value":5270},{"type":21,"tag":92,"props":5883,"children":5884},{"style":5160},[5885],{"type":30,"value":5886}," p",{"type":21,"tag":92,"props":5888,"children":5889},{"style":142},[5890],{"type":30,"value":5275},{"type":21,"tag":92,"props":5892,"children":5893},{"class":94,"line":688},[5894,5898,5902,5907],{"type":21,"tag":92,"props":5895,"children":5896},{"style":136},[5897],{"type":30,"value":5522},{"type":21,"tag":92,"props":5899,"children":5900},{"style":142},[5901],{"type":30,"value":1155},{"type":21,"tag":92,"props":5903,"children":5904},{"style":136},[5905],{"type":30,"value":5906},"#939393",{"type":21,"tag":92,"props":5908,"children":5909},{"style":142},[5910],{"type":30,"value":1420},{"type":21,"tag":92,"props":5912,"children":5913},{"class":94,"line":696},[5914],{"type":21,"tag":92,"props":5915,"children":5916},{"style":142},[5917],{"type":30,"value":2734},{"type":21,"tag":26,"props":5919,"children":5920},{},[5921],{"type":30,"value":5922},"Of course, the info window itself and all content can be styled however you please.",{"type":21,"tag":2808,"props":5924,"children":5926},{"id":5925},"marker-prerequisites",[5927],{"type":30,"value":5928},"Marker Prerequisites",{"type":21,"tag":26,"props":5930,"children":5931},{},[5932,5934,5940],{"type":30,"value":5933},"There are some prerequisites to your marker setup, however - namely, you need to specify an icon, with the ",{"type":21,"tag":88,"props":5935,"children":5937},{"className":5936},[],[5938],{"type":30,"value":5939},"scaledSize",{"type":30,"value":5941}," set appropriately. You can still use the generic google maps icon image, if so desired:",{"type":21,"tag":81,"props":5943,"children":5945},{"className":83,"code":5944,"language":85,"meta":8,"style":8},"var marker = new google.maps.Marker({\n    icon:{\n        url:http://maps.google.com/mapfiles/ms/icons/red-dot.png,\n        size:new google.maps.Size(32, 32),\n        scaledSize:new google.maps.Size(32, 32)\n    };\n});\n",[5946],{"type":21,"tag":88,"props":5947,"children":5948},{"__ignoreMap":8},[5949,5982,5990,6003,6046,6087,6094],{"type":21,"tag":92,"props":5950,"children":5951},{"class":94,"line":95},[5952,5956,5961,5965,5969,5973,5978],{"type":21,"tag":92,"props":5953,"children":5954},{"style":163},[5955],{"type":30,"value":1507},{"type":21,"tag":92,"props":5957,"children":5958},{"style":142},[5959],{"type":30,"value":5960}," marker ",{"type":21,"tag":92,"props":5962,"children":5963},{"style":163},[5964],{"type":30,"value":195},{"type":21,"tag":92,"props":5966,"children":5967},{"style":163},[5968],{"type":30,"value":1369},{"type":21,"tag":92,"props":5970,"children":5971},{"style":142},[5972],{"type":30,"value":1374},{"type":21,"tag":92,"props":5974,"children":5975},{"style":157},[5976],{"type":30,"value":5977},"Marker",{"type":21,"tag":92,"props":5979,"children":5980},{"style":142},[5981],{"type":30,"value":4085},{"type":21,"tag":92,"props":5983,"children":5984},{"class":94,"line":105},[5985],{"type":21,"tag":92,"props":5986,"children":5987},{"style":142},[5988],{"type":30,"value":5989},"    icon:{\n",{"type":21,"tag":92,"props":5991,"children":5992},{"class":94,"line":114},[5993,5998],{"type":21,"tag":92,"props":5994,"children":5995},{"style":142},[5996],{"type":30,"value":5997},"        url:http:",{"type":21,"tag":92,"props":5999,"children":6000},{"style":99},[6001],{"type":30,"value":6002},"//maps.google.com/mapfiles/ms/icons/red-dot.png,\n",{"type":21,"tag":92,"props":6004,"children":6005},{"class":94,"line":123},[6006,6011,6016,6020,6025,6029,6034,6038,6042],{"type":21,"tag":92,"props":6007,"children":6008},{"style":142},[6009],{"type":30,"value":6010},"        size:",{"type":21,"tag":92,"props":6012,"children":6013},{"style":163},[6014],{"type":30,"value":6015},"new",{"type":21,"tag":92,"props":6017,"children":6018},{"style":142},[6019],{"type":30,"value":1374},{"type":21,"tag":92,"props":6021,"children":6022},{"style":157},[6023],{"type":30,"value":6024},"Size",{"type":21,"tag":92,"props":6026,"children":6027},{"style":142},[6028],{"type":30,"value":260},{"type":21,"tag":92,"props":6030,"children":6031},{"style":136},[6032],{"type":30,"value":6033},"32",{"type":21,"tag":92,"props":6035,"children":6036},{"style":142},[6037],{"type":30,"value":4504},{"type":21,"tag":92,"props":6039,"children":6040},{"style":136},[6041],{"type":30,"value":6033},{"type":21,"tag":92,"props":6043,"children":6044},{"style":142},[6045],{"type":30,"value":280},{"type":21,"tag":92,"props":6047,"children":6048},{"class":94,"line":132},[6049,6054,6058,6062,6066,6070,6074,6078,6082],{"type":21,"tag":92,"props":6050,"children":6051},{"style":142},[6052],{"type":30,"value":6053},"        scaledSize:",{"type":21,"tag":92,"props":6055,"children":6056},{"style":163},[6057],{"type":30,"value":6015},{"type":21,"tag":92,"props":6059,"children":6060},{"style":142},[6061],{"type":30,"value":1374},{"type":21,"tag":92,"props":6063,"children":6064},{"style":157},[6065],{"type":30,"value":6024},{"type":21,"tag":92,"props":6067,"children":6068},{"style":142},[6069],{"type":30,"value":260},{"type":21,"tag":92,"props":6071,"children":6072},{"style":136},[6073],{"type":30,"value":6033},{"type":21,"tag":92,"props":6075,"children":6076},{"style":142},[6077],{"type":30,"value":4504},{"type":21,"tag":92,"props":6079,"children":6080},{"style":136},[6081],{"type":30,"value":6033},{"type":21,"tag":92,"props":6083,"children":6084},{"style":142},[6085],{"type":30,"value":6086},")\n",{"type":21,"tag":92,"props":6088,"children":6089},{"class":94,"line":179},[6090],{"type":21,"tag":92,"props":6091,"children":6092},{"style":142},[6093],{"type":30,"value":3446},{"type":21,"tag":92,"props":6095,"children":6096},{"class":94,"line":208},[6097],{"type":21,"tag":92,"props":6098,"children":6099},{"style":142},[6100],{"type":30,"value":4685},{"type":21,"tag":2808,"props":6102,"children":6104},{"id":6103},"calling-the-custom-window",[6105],{"type":30,"value":6106},"Calling the Custom Window",{"type":21,"tag":26,"props":6108,"children":6109},{},[6110],{"type":30,"value":6111},"This works exactly the same as calling the standard info window. Assuming our infoWindow is living in GMaps as this.infoWindow, and we're inside the GMaps 'class':",{"type":21,"tag":81,"props":6113,"children":6115},{"className":83,"code":6114,"language":85,"meta":8,"style":8},"google.maps.event.addListener(marker, 'click', function(){\n    this.infoWindow.setContent('your html content');\n    this.infoWindow.open(map, marker);\n}.bind(this));\n",[6116],{"type":21,"tag":88,"props":6117,"children":6118},{"__ignoreMap":8},[6119,6153,6182,6202],{"type":21,"tag":92,"props":6120,"children":6121},{"class":94,"line":95},[6122,6127,6132,6137,6141,6145,6149],{"type":21,"tag":92,"props":6123,"children":6124},{"style":142},[6125],{"type":30,"value":6126},"google.maps.event.",{"type":21,"tag":92,"props":6128,"children":6129},{"style":157},[6130],{"type":30,"value":6131},"addListener",{"type":21,"tag":92,"props":6133,"children":6134},{"style":142},[6135],{"type":30,"value":6136},"(marker, ",{"type":21,"tag":92,"props":6138,"children":6139},{"style":2867},[6140],{"type":30,"value":3721},{"type":21,"tag":92,"props":6142,"children":6143},{"style":142},[6144],{"type":30,"value":4504},{"type":21,"tag":92,"props":6146,"children":6147},{"style":163},[6148],{"type":30,"value":451},{"type":21,"tag":92,"props":6150,"children":6151},{"style":142},[6152],{"type":30,"value":176},{"type":21,"tag":92,"props":6154,"children":6155},{"class":94,"line":105},[6156,6160,6165,6169,6173,6178],{"type":21,"tag":92,"props":6157,"children":6158},{"style":136},[6159],{"type":30,"value":2973},{"type":21,"tag":92,"props":6161,"children":6162},{"style":142},[6163],{"type":30,"value":6164},".infoWindow.",{"type":21,"tag":92,"props":6166,"children":6167},{"style":157},[6168],{"type":30,"value":4336},{"type":21,"tag":92,"props":6170,"children":6171},{"style":142},[6172],{"type":30,"value":260},{"type":21,"tag":92,"props":6174,"children":6175},{"style":2867},[6176],{"type":30,"value":6177},"'your html content'",{"type":21,"tag":92,"props":6179,"children":6180},{"style":142},[6181],{"type":30,"value":1329},{"type":21,"tag":92,"props":6183,"children":6184},{"class":94,"line":114},[6185,6189,6193,6197],{"type":21,"tag":92,"props":6186,"children":6187},{"style":136},[6188],{"type":30,"value":2973},{"type":21,"tag":92,"props":6190,"children":6191},{"style":142},[6192],{"type":30,"value":6164},{"type":21,"tag":92,"props":6194,"children":6195},{"style":157},[6196],{"type":30,"value":4482},{"type":21,"tag":92,"props":6198,"children":6199},{"style":142},[6200],{"type":30,"value":6201},"(map, marker);\n",{"type":21,"tag":92,"props":6203,"children":6204},{"class":94,"line":123},[6205,6210,6214,6218,6222],{"type":21,"tag":92,"props":6206,"children":6207},{"style":142},[6208],{"type":30,"value":6209},"}.",{"type":21,"tag":92,"props":6211,"children":6212},{"style":157},[6213],{"type":30,"value":3731},{"type":21,"tag":92,"props":6215,"children":6216},{"style":142},[6217],{"type":30,"value":260},{"type":21,"tag":92,"props":6219,"children":6220},{"style":136},[6221],{"type":30,"value":265},{"type":21,"tag":92,"props":6223,"children":6224},{"style":142},[6225],{"type":30,"value":3789},{"type":21,"tag":2808,"props":6227,"children":6229},{"id":6228},"jquery-free",[6230],{"type":30,"value":6231},"jQuery Free",{"type":21,"tag":26,"props":6233,"children":6234},{},[6235],{"type":30,"value":6236},"This isn't a jQuery plugin, so if we want to do without jQuery, we certainly can:",{"type":21,"tag":81,"props":6238,"children":6240},{"className":83,"code":6239,"language":85,"meta":8,"style":8},"/**\n * Create a custom overlay for our window marker display, extending google.maps.OverlayView.\n * This is somewhat complicated by needing to async load the google.maps api first - thus, we\n * wrap CustomWindow into a closure, and when instantiating CustomNativeWindow, we first execute the closure\n * (to create our CustomNativeWindow function, now properly extending the newly loaded google.maps.OverlayView),\n * and then instantiate said function.\n * @type {Function}\n * @see _mapView.onRender\n */\n(function(){\n    var CustomWindow = function(){\n        this.container = document.createElement('div');\n        this.container.classList.add('map-info-window');\n        this.layer = null;\n        this.marker = null;\n        this.position = null;\n    };\n    /**\n     * Inherit from OverlayView\n     * @type {google.maps.OverlayView}\n     */\n    CustomWindow.prototype = new google.maps.OverlayView();\n    /**\n     * Called when this overlay is set to a map via this.setMap. Get the appropriate map pane\n     * to add the window to, append the container, bind to close element.\n     * @see CustomWindow.open\n     */\n    CustomWindow.prototype.onAdd = function(){\n        this.layer = this.getPanes().floatPane;\n        this.layer.appendChild(this.container);\n        this.container.getElementsByClassName('map-info-close')[0].addEventListener('click', function(){\n            // Close info window on click\n            this.close();\n        }.bind(this), false);\n    };\n    /**\n     * Called after onAdd, and every time the map is moved, zoomed, or anything else that\n     * would effect positions, to redraw this overlay.\n     */\n    CustomWindow.prototype.draw = function(){\n        var markerIcon = this.marker.getIcon(),\n            cBounds = this.container.getBoundingClientRect(),\n            cHeight = cBounds.height + markerIcon.scaledSize.height + 10,\n            cWidth = cBounds.width / 2;\n        this.position = this.getProjection().fromLatLngToDivPixel(this.marker.getPosition());\n        this.container.style.top = this.position.y - cHeight+'px';\n        this.container.style.left = this.position.x - cWidth+'px';\n    };\n    /**\n     * Called when this overlay has its map set to null.\n     * @see CustomWindow.close\n     */\n    CustomWindow.prototype.onRemove = function(){\n        this.layer.removeChild(this.container);\n    };\n    /**\n     * Sets the contents of this overlay.\n     * @param {string} html\n     */\n    CustomWindow.prototype.setContent = function(html){\n        this.container.innerHTML = html;\n    };\n    /**\n     * Sets the map and relevant marker for this overlay.\n     * @param {google.maps.Map} map\n     * @param {google.maps.Marker} marker\n     */\n    CustomWindow.prototype.open = function(map, marker){\n        this.marker = marker;\n        this.setMap(map);\n    };\n    /**\n     * Close this overlay by setting its map to null.\n     */\n    CustomWindow.prototype.close = function(){\n        this.setMap(null);\n    };\n    return CustomWindow;\n});\n",[6241],{"type":21,"tag":88,"props":6242,"children":6243},{"__ignoreMap":8},[6244,6251,6259,6267,6275,6283,6291,6307,6323,6330,6345,6368,6404,6434,6457,6480,6503,6510,6517,6524,6539,6546,6581,6588,6595,6602,6617,6624,6659,6691,6719,6784,6791,6810,6844,6851,6858,6865,6872,6879,6914,6945,6974,7010,7038,7093,7139,7184,7191,7198,7205,7220,7227,7262,7290,7297,7304,7311,7330,7337,7380,7401,7408,7415,7422,7441,7460,7467,7518,7537,7556,7563,7570,7577,7584,7619,7646,7653,7664],{"type":21,"tag":92,"props":6245,"children":6246},{"class":94,"line":95},[6247],{"type":21,"tag":92,"props":6248,"children":6249},{"style":99},[6250],{"type":30,"value":102},{"type":21,"tag":92,"props":6252,"children":6253},{"class":94,"line":105},[6254],{"type":21,"tag":92,"props":6255,"children":6256},{"style":99},[6257],{"type":30,"value":6258}," * Create a custom overlay for our window marker display, extending google.maps.OverlayView.\n",{"type":21,"tag":92,"props":6260,"children":6261},{"class":94,"line":114},[6262],{"type":21,"tag":92,"props":6263,"children":6264},{"style":99},[6265],{"type":30,"value":6266}," * This is somewhat complicated by needing to async load the google.maps api first - thus, we\n",{"type":21,"tag":92,"props":6268,"children":6269},{"class":94,"line":123},[6270],{"type":21,"tag":92,"props":6271,"children":6272},{"style":99},[6273],{"type":30,"value":6274}," * wrap CustomWindow into a closure, and when instantiating CustomNativeWindow, we first execute the closure\n",{"type":21,"tag":92,"props":6276,"children":6277},{"class":94,"line":132},[6278],{"type":21,"tag":92,"props":6279,"children":6280},{"style":99},[6281],{"type":30,"value":6282}," * (to create our CustomNativeWindow function, now properly extending the newly loaded google.maps.OverlayView),\n",{"type":21,"tag":92,"props":6284,"children":6285},{"class":94,"line":179},[6286],{"type":21,"tag":92,"props":6287,"children":6288},{"style":99},[6289],{"type":30,"value":6290}," * and then instantiate said function.\n",{"type":21,"tag":92,"props":6292,"children":6293},{"class":94,"line":208},[6294,6299,6303],{"type":21,"tag":92,"props":6295,"children":6296},{"style":99},[6297],{"type":30,"value":6298}," * ",{"type":21,"tag":92,"props":6300,"children":6301},{"style":163},[6302],{"type":30,"value":3278},{"type":21,"tag":92,"props":6304,"children":6305},{"style":157},[6306],{"type":30,"value":3283},{"type":21,"tag":92,"props":6308,"children":6309},{"class":94,"line":240},[6310,6314,6318],{"type":21,"tag":92,"props":6311,"children":6312},{"style":99},[6313],{"type":30,"value":6298},{"type":21,"tag":92,"props":6315,"children":6316},{"style":163},[6317],{"type":30,"value":3557},{"type":21,"tag":92,"props":6319,"children":6320},{"style":157},[6321],{"type":30,"value":6322}," _mapView.onRender\n",{"type":21,"tag":92,"props":6324,"children":6325},{"class":94,"line":283},[6326],{"type":21,"tag":92,"props":6327,"children":6328},{"style":99},[6329],{"type":30,"value":129},{"type":21,"tag":92,"props":6331,"children":6332},{"class":94,"line":311},[6333,6337,6341],{"type":21,"tag":92,"props":6334,"children":6335},{"style":142},[6336],{"type":30,"value":260},{"type":21,"tag":92,"props":6338,"children":6339},{"style":163},[6340],{"type":30,"value":451},{"type":21,"tag":92,"props":6342,"children":6343},{"style":142},[6344],{"type":30,"value":176},{"type":21,"tag":92,"props":6346,"children":6347},{"class":94,"line":348},[6348,6352,6356,6360,6364],{"type":21,"tag":92,"props":6349,"children":6350},{"style":163},[6351],{"type":30,"value":185},{"type":21,"tag":92,"props":6353,"children":6354},{"style":157},[6355],{"type":30,"value":3318},{"type":21,"tag":92,"props":6357,"children":6358},{"style":163},[6359],{"type":30,"value":166},{"type":21,"tag":92,"props":6361,"children":6362},{"style":163},[6363],{"type":30,"value":171},{"type":21,"tag":92,"props":6365,"children":6366},{"style":142},[6367],{"type":30,"value":176},{"type":21,"tag":92,"props":6369,"children":6370},{"class":94,"line":378},[6371,6375,6379,6383,6387,6391,6395,6400],{"type":21,"tag":92,"props":6372,"children":6373},{"style":136},[6374],{"type":30,"value":3338},{"type":21,"tag":92,"props":6376,"children":6377},{"style":142},[6378],{"type":30,"value":3343},{"type":21,"tag":92,"props":6380,"children":6381},{"style":163},[6382],{"type":30,"value":195},{"type":21,"tag":92,"props":6384,"children":6385},{"style":142},[6386],{"type":30,"value":2855},{"type":21,"tag":92,"props":6388,"children":6389},{"style":157},[6390],{"type":30,"value":2860},{"type":21,"tag":92,"props":6392,"children":6393},{"style":142},[6394],{"type":30,"value":260},{"type":21,"tag":92,"props":6396,"children":6397},{"style":2867},[6398],{"type":30,"value":6399},"'div'",{"type":21,"tag":92,"props":6401,"children":6402},{"style":142},[6403],{"type":30,"value":1329},{"type":21,"tag":92,"props":6405,"children":6406},{"class":94,"line":405},[6407,6411,6416,6421,6425,6430],{"type":21,"tag":92,"props":6408,"children":6409},{"style":136},[6410],{"type":30,"value":3338},{"type":21,"tag":92,"props":6412,"children":6413},{"style":142},[6414],{"type":30,"value":6415},".container.classList.",{"type":21,"tag":92,"props":6417,"children":6418},{"style":157},[6419],{"type":30,"value":6420},"add",{"type":21,"tag":92,"props":6422,"children":6423},{"style":142},[6424],{"type":30,"value":260},{"type":21,"tag":92,"props":6426,"children":6427},{"style":2867},[6428],{"type":30,"value":6429},"'map-info-window'",{"type":21,"tag":92,"props":6431,"children":6432},{"style":142},[6433],{"type":30,"value":1329},{"type":21,"tag":92,"props":6435,"children":6436},{"class":94,"line":431},[6437,6441,6445,6449,6453],{"type":21,"tag":92,"props":6438,"children":6439},{"style":136},[6440],{"type":30,"value":3338},{"type":21,"tag":92,"props":6442,"children":6443},{"style":142},[6444],{"type":30,"value":3377},{"type":21,"tag":92,"props":6446,"children":6447},{"style":163},[6448],{"type":30,"value":195},{"type":21,"tag":92,"props":6450,"children":6451},{"style":136},[6452],{"type":30,"value":3386},{"type":21,"tag":92,"props":6454,"children":6455},{"style":142},[6456],{"type":30,"value":1420},{"type":21,"tag":92,"props":6458,"children":6459},{"class":94,"line":458},[6460,6464,6468,6472,6476],{"type":21,"tag":92,"props":6461,"children":6462},{"style":136},[6463],{"type":30,"value":3338},{"type":21,"tag":92,"props":6465,"children":6466},{"style":142},[6467],{"type":30,"value":3402},{"type":21,"tag":92,"props":6469,"children":6470},{"style":163},[6471],{"type":30,"value":195},{"type":21,"tag":92,"props":6473,"children":6474},{"style":136},[6475],{"type":30,"value":3386},{"type":21,"tag":92,"props":6477,"children":6478},{"style":142},[6479],{"type":30,"value":1420},{"type":21,"tag":92,"props":6481,"children":6482},{"class":94,"line":481},[6483,6487,6491,6495,6499],{"type":21,"tag":92,"props":6484,"children":6485},{"style":136},[6486],{"type":30,"value":3338},{"type":21,"tag":92,"props":6488,"children":6489},{"style":142},[6490],{"type":30,"value":3426},{"type":21,"tag":92,"props":6492,"children":6493},{"style":163},[6494],{"type":30,"value":195},{"type":21,"tag":92,"props":6496,"children":6497},{"style":136},[6498],{"type":30,"value":3386},{"type":21,"tag":92,"props":6500,"children":6501},{"style":142},[6502],{"type":30,"value":1420},{"type":21,"tag":92,"props":6504,"children":6505},{"class":94,"line":507},[6506],{"type":21,"tag":92,"props":6507,"children":6508},{"style":142},[6509],{"type":30,"value":3446},{"type":21,"tag":92,"props":6511,"children":6512},{"class":94,"line":535},[6513],{"type":21,"tag":92,"props":6514,"children":6515},{"style":99},[6516],{"type":30,"value":3454},{"type":21,"tag":92,"props":6518,"children":6519},{"class":94,"line":545},[6520],{"type":21,"tag":92,"props":6521,"children":6522},{"style":99},[6523],{"type":30,"value":3462},{"type":21,"tag":92,"props":6525,"children":6526},{"class":94,"line":582},[6527,6531,6535],{"type":21,"tag":92,"props":6528,"children":6529},{"style":99},[6530],{"type":30,"value":3273},{"type":21,"tag":92,"props":6532,"children":6533},{"style":163},[6534],{"type":30,"value":3278},{"type":21,"tag":92,"props":6536,"children":6537},{"style":157},[6538],{"type":30,"value":3478},{"type":21,"tag":92,"props":6540,"children":6541},{"class":94,"line":617},[6542],{"type":21,"tag":92,"props":6543,"children":6544},{"style":99},[6545],{"type":30,"value":3291},{"type":21,"tag":92,"props":6547,"children":6548},{"class":94,"line":631},[6549,6553,6557,6561,6565,6569,6573,6577],{"type":21,"tag":92,"props":6550,"children":6551},{"style":136},[6552],{"type":30,"value":3493},{"type":21,"tag":92,"props":6554,"children":6555},{"style":142},[6556],{"type":30,"value":145},{"type":21,"tag":92,"props":6558,"children":6559},{"style":136},[6560],{"type":30,"value":150},{"type":21,"tag":92,"props":6562,"children":6563},{"style":163},[6564],{"type":30,"value":166},{"type":21,"tag":92,"props":6566,"children":6567},{"style":163},[6568],{"type":30,"value":1369},{"type":21,"tag":92,"props":6570,"children":6571},{"style":142},[6572],{"type":30,"value":1374},{"type":21,"tag":92,"props":6574,"children":6575},{"style":157},[6576],{"type":30,"value":3518},{"type":21,"tag":92,"props":6578,"children":6579},{"style":142},[6580],{"type":30,"value":532},{"type":21,"tag":92,"props":6582,"children":6583},{"class":94,"line":640},[6584],{"type":21,"tag":92,"props":6585,"children":6586},{"style":99},[6587],{"type":30,"value":3454},{"type":21,"tag":92,"props":6589,"children":6590},{"class":94,"line":665},[6591],{"type":21,"tag":92,"props":6592,"children":6593},{"style":99},[6594],{"type":30,"value":3537},{"type":21,"tag":92,"props":6596,"children":6597},{"class":94,"line":688},[6598],{"type":21,"tag":92,"props":6599,"children":6600},{"style":99},[6601],{"type":30,"value":3545},{"type":21,"tag":92,"props":6603,"children":6604},{"class":94,"line":696},[6605,6609,6613],{"type":21,"tag":92,"props":6606,"children":6607},{"style":99},[6608],{"type":30,"value":3273},{"type":21,"tag":92,"props":6610,"children":6611},{"style":163},[6612],{"type":30,"value":3557},{"type":21,"tag":92,"props":6614,"children":6615},{"style":157},[6616],{"type":30,"value":3562},{"type":21,"tag":92,"props":6618,"children":6619},{"class":94,"line":742},[6620],{"type":21,"tag":92,"props":6621,"children":6622},{"style":99},[6623],{"type":30,"value":3291},{"type":21,"tag":92,"props":6625,"children":6626},{"class":94,"line":767},[6627,6631,6635,6639,6643,6647,6651,6655],{"type":21,"tag":92,"props":6628,"children":6629},{"style":136},[6630],{"type":30,"value":3493},{"type":21,"tag":92,"props":6632,"children":6633},{"style":142},[6634],{"type":30,"value":145},{"type":21,"tag":92,"props":6636,"children":6637},{"style":136},[6638],{"type":30,"value":150},{"type":21,"tag":92,"props":6640,"children":6641},{"style":142},[6642],{"type":30,"value":145},{"type":21,"tag":92,"props":6644,"children":6645},{"style":157},[6646],{"type":30,"value":3593},{"type":21,"tag":92,"props":6648,"children":6649},{"style":163},[6650],{"type":30,"value":166},{"type":21,"tag":92,"props":6652,"children":6653},{"style":163},[6654],{"type":30,"value":171},{"type":21,"tag":92,"props":6656,"children":6657},{"style":142},[6658],{"type":30,"value":176},{"type":21,"tag":92,"props":6660,"children":6661},{"class":94,"line":810},[6662,6666,6670,6674,6678,6682,6686],{"type":21,"tag":92,"props":6663,"children":6664},{"style":136},[6665],{"type":30,"value":3338},{"type":21,"tag":92,"props":6667,"children":6668},{"style":142},[6669],{"type":30,"value":3377},{"type":21,"tag":92,"props":6671,"children":6672},{"style":163},[6673],{"type":30,"value":195},{"type":21,"tag":92,"props":6675,"children":6676},{"style":136},[6677],{"type":30,"value":200},{"type":21,"tag":92,"props":6679,"children":6680},{"style":142},[6681],{"type":30,"value":145},{"type":21,"tag":92,"props":6683,"children":6684},{"style":157},[6685],{"type":30,"value":3641},{"type":21,"tag":92,"props":6687,"children":6688},{"style":142},[6689],{"type":30,"value":6690},"().floatPane;\n",{"type":21,"tag":92,"props":6692,"children":6693},{"class":94,"line":851},[6694,6698,6702,6707,6711,6715],{"type":21,"tag":92,"props":6695,"children":6696},{"style":136},[6697],{"type":30,"value":3338},{"type":21,"tag":92,"props":6699,"children":6700},{"style":142},[6701],{"type":30,"value":3658},{"type":21,"tag":92,"props":6703,"children":6704},{"style":157},[6705],{"type":30,"value":6706},"appendChild",{"type":21,"tag":92,"props":6708,"children":6709},{"style":142},[6710],{"type":30,"value":260},{"type":21,"tag":92,"props":6712,"children":6713},{"style":136},[6714],{"type":30,"value":265},{"type":21,"tag":92,"props":6716,"children":6717},{"style":142},[6718],{"type":30,"value":3676},{"type":21,"tag":92,"props":6720,"children":6721},{"class":94,"line":864},[6722,6726,6730,6735,6739,6744,6749,6754,6759,6764,6768,6772,6776,6780],{"type":21,"tag":92,"props":6723,"children":6724},{"style":136},[6725],{"type":30,"value":3338},{"type":21,"tag":92,"props":6727,"children":6728},{"style":142},[6729],{"type":30,"value":3688},{"type":21,"tag":92,"props":6731,"children":6732},{"style":157},[6733],{"type":30,"value":6734},"getElementsByClassName",{"type":21,"tag":92,"props":6736,"children":6737},{"style":142},[6738],{"type":30,"value":260},{"type":21,"tag":92,"props":6740,"children":6741},{"style":2867},[6742],{"type":30,"value":6743},"'map-info-close'",{"type":21,"tag":92,"props":6745,"children":6746},{"style":142},[6747],{"type":30,"value":6748},")[",{"type":21,"tag":92,"props":6750,"children":6751},{"style":136},[6752],{"type":30,"value":6753},"0",{"type":21,"tag":92,"props":6755,"children":6756},{"style":142},[6757],{"type":30,"value":6758},"].",{"type":21,"tag":92,"props":6760,"children":6761},{"style":157},[6762],{"type":30,"value":6763},"addEventListener",{"type":21,"tag":92,"props":6765,"children":6766},{"style":142},[6767],{"type":30,"value":260},{"type":21,"tag":92,"props":6769,"children":6770},{"style":2867},[6771],{"type":30,"value":3721},{"type":21,"tag":92,"props":6773,"children":6774},{"style":142},[6775],{"type":30,"value":4504},{"type":21,"tag":92,"props":6777,"children":6778},{"style":163},[6779],{"type":30,"value":451},{"type":21,"tag":92,"props":6781,"children":6782},{"style":142},[6783],{"type":30,"value":176},{"type":21,"tag":92,"props":6785,"children":6786},{"class":94,"line":872},[6787],{"type":21,"tag":92,"props":6788,"children":6789},{"style":99},[6790],{"type":30,"value":3751},{"type":21,"tag":92,"props":6792,"children":6793},{"class":94,"line":897},[6794,6798,6802,6806],{"type":21,"tag":92,"props":6795,"children":6796},{"style":136},[6797],{"type":30,"value":3759},{"type":21,"tag":92,"props":6799,"children":6800},{"style":142},[6801],{"type":30,"value":145},{"type":21,"tag":92,"props":6803,"children":6804},{"style":157},[6805],{"type":30,"value":3768},{"type":21,"tag":92,"props":6807,"children":6808},{"style":142},[6809],{"type":30,"value":532},{"type":21,"tag":92,"props":6811,"children":6812},{"class":94,"line":927},[6813,6818,6822,6826,6830,6835,6840],{"type":21,"tag":92,"props":6814,"children":6815},{"style":142},[6816],{"type":30,"value":6817},"        }.",{"type":21,"tag":92,"props":6819,"children":6820},{"style":157},[6821],{"type":30,"value":3731},{"type":21,"tag":92,"props":6823,"children":6824},{"style":142},[6825],{"type":30,"value":260},{"type":21,"tag":92,"props":6827,"children":6828},{"style":136},[6829],{"type":30,"value":265},{"type":21,"tag":92,"props":6831,"children":6832},{"style":142},[6833],{"type":30,"value":6834},"), ",{"type":21,"tag":92,"props":6836,"children":6837},{"style":136},[6838],{"type":30,"value":6839},"false",{"type":21,"tag":92,"props":6841,"children":6842},{"style":142},[6843],{"type":30,"value":1329},{"type":21,"tag":92,"props":6845,"children":6846},{"class":94,"line":953},[6847],{"type":21,"tag":92,"props":6848,"children":6849},{"style":142},[6850],{"type":30,"value":3446},{"type":21,"tag":92,"props":6852,"children":6853},{"class":94,"line":979},[6854],{"type":21,"tag":92,"props":6855,"children":6856},{"style":99},[6857],{"type":30,"value":3454},{"type":21,"tag":92,"props":6859,"children":6860},{"class":94,"line":1004},[6861],{"type":21,"tag":92,"props":6862,"children":6863},{"style":99},[6864],{"type":30,"value":3811},{"type":21,"tag":92,"props":6866,"children":6867},{"class":94,"line":1030},[6868],{"type":21,"tag":92,"props":6869,"children":6870},{"style":99},[6871],{"type":30,"value":3819},{"type":21,"tag":92,"props":6873,"children":6874},{"class":94,"line":1055},[6875],{"type":21,"tag":92,"props":6876,"children":6877},{"style":99},[6878],{"type":30,"value":3291},{"type":21,"tag":92,"props":6880,"children":6881},{"class":94,"line":1081},[6882,6886,6890,6894,6898,6902,6906,6910],{"type":21,"tag":92,"props":6883,"children":6884},{"style":136},[6885],{"type":30,"value":3493},{"type":21,"tag":92,"props":6887,"children":6888},{"style":142},[6889],{"type":30,"value":145},{"type":21,"tag":92,"props":6891,"children":6892},{"style":136},[6893],{"type":30,"value":150},{"type":21,"tag":92,"props":6895,"children":6896},{"style":142},[6897],{"type":30,"value":145},{"type":21,"tag":92,"props":6899,"children":6900},{"style":157},[6901],{"type":30,"value":3850},{"type":21,"tag":92,"props":6903,"children":6904},{"style":163},[6905],{"type":30,"value":166},{"type":21,"tag":92,"props":6907,"children":6908},{"style":163},[6909],{"type":30,"value":171},{"type":21,"tag":92,"props":6911,"children":6912},{"style":142},[6913],{"type":30,"value":176},{"type":21,"tag":92,"props":6915,"children":6916},{"class":94,"line":1106},[6917,6921,6925,6929,6933,6937,6941],{"type":21,"tag":92,"props":6918,"children":6919},{"style":163},[6920],{"type":30,"value":671},{"type":21,"tag":92,"props":6922,"children":6923},{"style":142},[6924],{"type":30,"value":3874},{"type":21,"tag":92,"props":6926,"children":6927},{"style":163},[6928],{"type":30,"value":195},{"type":21,"tag":92,"props":6930,"children":6931},{"style":136},[6932],{"type":30,"value":200},{"type":21,"tag":92,"props":6934,"children":6935},{"style":142},[6936],{"type":30,"value":227},{"type":21,"tag":92,"props":6938,"children":6939},{"style":157},[6940],{"type":30,"value":3891},{"type":21,"tag":92,"props":6942,"children":6943},{"style":142},[6944],{"type":30,"value":237},{"type":21,"tag":92,"props":6946,"children":6947},{"class":94,"line":1173},[6948,6953,6957,6961,6965,6970],{"type":21,"tag":92,"props":6949,"children":6950},{"style":142},[6951],{"type":30,"value":6952},"            cBounds ",{"type":21,"tag":92,"props":6954,"children":6955},{"style":163},[6956],{"type":30,"value":195},{"type":21,"tag":92,"props":6958,"children":6959},{"style":136},[6960],{"type":30,"value":200},{"type":21,"tag":92,"props":6962,"children":6963},{"style":142},[6964],{"type":30,"value":3688},{"type":21,"tag":92,"props":6966,"children":6967},{"style":157},[6968],{"type":30,"value":6969},"getBoundingClientRect",{"type":21,"tag":92,"props":6971,"children":6972},{"style":142},[6973],{"type":30,"value":237},{"type":21,"tag":92,"props":6975,"children":6976},{"class":94,"line":1222},[6977,6981,6985,6990,6994,6998,7002,7006],{"type":21,"tag":92,"props":6978,"children":6979},{"style":142},[6980],{"type":30,"value":3903},{"type":21,"tag":92,"props":6982,"children":6983},{"style":163},[6984],{"type":30,"value":195},{"type":21,"tag":92,"props":6986,"children":6987},{"style":142},[6988],{"type":30,"value":6989}," cBounds.height ",{"type":21,"tag":92,"props":6991,"children":6992},{"style":163},[6993],{"type":30,"value":724},{"type":21,"tag":92,"props":6995,"children":6996},{"style":142},[6997],{"type":30,"value":3933},{"type":21,"tag":92,"props":6999,"children":7000},{"style":163},[7001],{"type":30,"value":724},{"type":21,"tag":92,"props":7003,"children":7004},{"style":136},[7005],{"type":30,"value":3942},{"type":21,"tag":92,"props":7007,"children":7008},{"style":142},[7009],{"type":30,"value":345},{"type":21,"tag":92,"props":7011,"children":7012},{"class":94,"line":1283},[7013,7017,7021,7026,7030,7034],{"type":21,"tag":92,"props":7014,"children":7015},{"style":142},[7016],{"type":30,"value":3954},{"type":21,"tag":92,"props":7018,"children":7019},{"style":163},[7020],{"type":30,"value":195},{"type":21,"tag":92,"props":7022,"children":7023},{"style":142},[7024],{"type":30,"value":7025}," cBounds.width ",{"type":21,"tag":92,"props":7027,"children":7028},{"style":163},[7029],{"type":30,"value":335},{"type":21,"tag":92,"props":7031,"children":7032},{"style":136},[7033],{"type":30,"value":340},{"type":21,"tag":92,"props":7035,"children":7036},{"style":142},[7037],{"type":30,"value":1420},{"type":21,"tag":92,"props":7039,"children":7040},{"class":94,"line":1332},[7041,7045,7049,7053,7057,7061,7065,7069,7073,7077,7081,7085,7089],{"type":21,"tag":92,"props":7042,"children":7043},{"style":136},[7044],{"type":30,"value":3338},{"type":21,"tag":92,"props":7046,"children":7047},{"style":142},[7048],{"type":30,"value":3426},{"type":21,"tag":92,"props":7050,"children":7051},{"style":163},[7052],{"type":30,"value":195},{"type":21,"tag":92,"props":7054,"children":7055},{"style":136},[7056],{"type":30,"value":200},{"type":21,"tag":92,"props":7058,"children":7059},{"style":142},[7060],{"type":30,"value":145},{"type":21,"tag":92,"props":7062,"children":7063},{"style":157},[7064],{"type":30,"value":4033},{"type":21,"tag":92,"props":7066,"children":7067},{"style":142},[7068],{"type":30,"value":4038},{"type":21,"tag":92,"props":7070,"children":7071},{"style":157},[7072],{"type":30,"value":4043},{"type":21,"tag":92,"props":7074,"children":7075},{"style":142},[7076],{"type":30,"value":260},{"type":21,"tag":92,"props":7078,"children":7079},{"style":136},[7080],{"type":30,"value":265},{"type":21,"tag":92,"props":7082,"children":7083},{"style":142},[7084],{"type":30,"value":227},{"type":21,"tag":92,"props":7086,"children":7087},{"style":157},[7088],{"type":30,"value":232},{"type":21,"tag":92,"props":7090,"children":7091},{"style":142},[7092],{"type":30,"value":4064},{"type":21,"tag":92,"props":7094,"children":7095},{"class":94,"line":1340},[7096,7100,7105,7109,7113,7117,7121,7126,7130,7135],{"type":21,"tag":92,"props":7097,"children":7098},{"style":136},[7099],{"type":30,"value":3338},{"type":21,"tag":92,"props":7101,"children":7102},{"style":142},[7103],{"type":30,"value":7104},".container.style.top ",{"type":21,"tag":92,"props":7106,"children":7107},{"style":163},[7108],{"type":30,"value":195},{"type":21,"tag":92,"props":7110,"children":7111},{"style":136},[7112],{"type":30,"value":200},{"type":21,"tag":92,"props":7114,"children":7115},{"style":142},[7116],{"type":30,"value":4106},{"type":21,"tag":92,"props":7118,"children":7119},{"style":163},[7120],{"type":30,"value":303},{"type":21,"tag":92,"props":7122,"children":7123},{"style":142},[7124],{"type":30,"value":7125}," cHeight",{"type":21,"tag":92,"props":7127,"children":7128},{"style":163},[7129],{"type":30,"value":724},{"type":21,"tag":92,"props":7131,"children":7132},{"style":2867},[7133],{"type":30,"value":7134},"'px'",{"type":21,"tag":92,"props":7136,"children":7137},{"style":142},[7138],{"type":30,"value":1420},{"type":21,"tag":92,"props":7140,"children":7141},{"class":94,"line":1423},[7142,7146,7151,7155,7159,7163,7167,7172,7176,7180],{"type":21,"tag":92,"props":7143,"children":7144},{"style":136},[7145],{"type":30,"value":3338},{"type":21,"tag":92,"props":7147,"children":7148},{"style":142},[7149],{"type":30,"value":7150},".container.style.left ",{"type":21,"tag":92,"props":7152,"children":7153},{"style":163},[7154],{"type":30,"value":195},{"type":21,"tag":92,"props":7156,"children":7157},{"style":136},[7158],{"type":30,"value":200},{"type":21,"tag":92,"props":7160,"children":7161},{"style":142},[7162],{"type":30,"value":4136},{"type":21,"tag":92,"props":7164,"children":7165},{"style":163},[7166],{"type":30,"value":303},{"type":21,"tag":92,"props":7168,"children":7169},{"style":142},[7170],{"type":30,"value":7171}," cWidth",{"type":21,"tag":92,"props":7173,"children":7174},{"style":163},[7175],{"type":30,"value":724},{"type":21,"tag":92,"props":7177,"children":7178},{"style":2867},[7179],{"type":30,"value":7134},{"type":21,"tag":92,"props":7181,"children":7182},{"style":142},[7183],{"type":30,"value":1420},{"type":21,"tag":92,"props":7185,"children":7186},{"class":94,"line":1432},[7187],{"type":21,"tag":92,"props":7188,"children":7189},{"style":142},[7190],{"type":30,"value":3446},{"type":21,"tag":92,"props":7192,"children":7193},{"class":94,"line":1440},[7194],{"type":21,"tag":92,"props":7195,"children":7196},{"style":99},[7197],{"type":30,"value":3454},{"type":21,"tag":92,"props":7199,"children":7200},{"class":94,"line":1454},[7201],{"type":21,"tag":92,"props":7202,"children":7203},{"style":99},[7204],{"type":30,"value":4175},{"type":21,"tag":92,"props":7206,"children":7207},{"class":94,"line":1473},[7208,7212,7216],{"type":21,"tag":92,"props":7209,"children":7210},{"style":99},[7211],{"type":30,"value":3273},{"type":21,"tag":92,"props":7213,"children":7214},{"style":163},[7215],{"type":30,"value":3557},{"type":21,"tag":92,"props":7217,"children":7218},{"style":157},[7219],{"type":30,"value":4191},{"type":21,"tag":92,"props":7221,"children":7222},{"class":94,"line":1482},[7223],{"type":21,"tag":92,"props":7224,"children":7225},{"style":99},[7226],{"type":30,"value":3291},{"type":21,"tag":92,"props":7228,"children":7229},{"class":94,"line":1490},[7230,7234,7238,7242,7246,7250,7254,7258],{"type":21,"tag":92,"props":7231,"children":7232},{"style":136},[7233],{"type":30,"value":3493},{"type":21,"tag":92,"props":7235,"children":7236},{"style":142},[7237],{"type":30,"value":145},{"type":21,"tag":92,"props":7239,"children":7240},{"style":136},[7241],{"type":30,"value":150},{"type":21,"tag":92,"props":7243,"children":7244},{"style":142},[7245],{"type":30,"value":145},{"type":21,"tag":92,"props":7247,"children":7248},{"style":157},[7249],{"type":30,"value":4222},{"type":21,"tag":92,"props":7251,"children":7252},{"style":163},[7253],{"type":30,"value":166},{"type":21,"tag":92,"props":7255,"children":7256},{"style":163},[7257],{"type":30,"value":171},{"type":21,"tag":92,"props":7259,"children":7260},{"style":142},[7261],{"type":30,"value":176},{"type":21,"tag":92,"props":7263,"children":7264},{"class":94,"line":4237},[7265,7269,7273,7278,7282,7286],{"type":21,"tag":92,"props":7266,"children":7267},{"style":136},[7268],{"type":30,"value":3338},{"type":21,"tag":92,"props":7270,"children":7271},{"style":142},[7272],{"type":30,"value":3658},{"type":21,"tag":92,"props":7274,"children":7275},{"style":157},[7276],{"type":30,"value":7277},"removeChild",{"type":21,"tag":92,"props":7279,"children":7280},{"style":142},[7281],{"type":30,"value":260},{"type":21,"tag":92,"props":7283,"children":7284},{"style":136},[7285],{"type":30,"value":265},{"type":21,"tag":92,"props":7287,"children":7288},{"style":142},[7289],{"type":30,"value":3676},{"type":21,"tag":92,"props":7291,"children":7292},{"class":94,"line":4258},[7293],{"type":21,"tag":92,"props":7294,"children":7295},{"style":142},[7296],{"type":30,"value":3446},{"type":21,"tag":92,"props":7298,"children":7299},{"class":94,"line":4266},[7300],{"type":21,"tag":92,"props":7301,"children":7302},{"style":99},[7303],{"type":30,"value":3454},{"type":21,"tag":92,"props":7305,"children":7306},{"class":94,"line":4274},[7307],{"type":21,"tag":92,"props":7308,"children":7309},{"style":99},[7310],{"type":30,"value":4280},{"type":21,"tag":92,"props":7312,"children":7313},{"class":94,"line":4283},[7314,7318,7322,7326],{"type":21,"tag":92,"props":7315,"children":7316},{"style":99},[7317],{"type":30,"value":3273},{"type":21,"tag":92,"props":7319,"children":7320},{"style":163},[7321],{"type":30,"value":4293},{"type":21,"tag":92,"props":7323,"children":7324},{"style":157},[7325],{"type":30,"value":4298},{"type":21,"tag":92,"props":7327,"children":7328},{"style":142},[7329],{"type":30,"value":4303},{"type":21,"tag":92,"props":7331,"children":7332},{"class":94,"line":4306},[7333],{"type":21,"tag":92,"props":7334,"children":7335},{"style":99},[7336],{"type":30,"value":3291},{"type":21,"tag":92,"props":7338,"children":7339},{"class":94,"line":4314},[7340,7344,7348,7352,7356,7360,7364,7368,7372,7376],{"type":21,"tag":92,"props":7341,"children":7342},{"style":136},[7343],{"type":30,"value":3493},{"type":21,"tag":92,"props":7345,"children":7346},{"style":142},[7347],{"type":30,"value":145},{"type":21,"tag":92,"props":7349,"children":7350},{"style":136},[7351],{"type":30,"value":150},{"type":21,"tag":92,"props":7353,"children":7354},{"style":142},[7355],{"type":30,"value":145},{"type":21,"tag":92,"props":7357,"children":7358},{"style":157},[7359],{"type":30,"value":4336},{"type":21,"tag":92,"props":7361,"children":7362},{"style":163},[7363],{"type":30,"value":166},{"type":21,"tag":92,"props":7365,"children":7366},{"style":163},[7367],{"type":30,"value":171},{"type":21,"tag":92,"props":7369,"children":7370},{"style":142},[7371],{"type":30,"value":260},{"type":21,"tag":92,"props":7373,"children":7374},{"style":4351},[7375],{"type":30,"value":4354},{"type":21,"tag":92,"props":7377,"children":7378},{"style":142},[7379],{"type":30,"value":4359},{"type":21,"tag":92,"props":7381,"children":7382},{"class":94,"line":4362},[7383,7387,7392,7396],{"type":21,"tag":92,"props":7384,"children":7385},{"style":136},[7386],{"type":30,"value":3338},{"type":21,"tag":92,"props":7388,"children":7389},{"style":142},[7390],{"type":30,"value":7391},".container.innerHTML ",{"type":21,"tag":92,"props":7393,"children":7394},{"style":163},[7395],{"type":30,"value":195},{"type":21,"tag":92,"props":7397,"children":7398},{"style":142},[7399],{"type":30,"value":7400}," html;\n",{"type":21,"tag":92,"props":7402,"children":7403},{"class":94,"line":4383},[7404],{"type":21,"tag":92,"props":7405,"children":7406},{"style":142},[7407],{"type":30,"value":3446},{"type":21,"tag":92,"props":7409,"children":7410},{"class":94,"line":4391},[7411],{"type":21,"tag":92,"props":7412,"children":7413},{"style":99},[7414],{"type":30,"value":3454},{"type":21,"tag":92,"props":7416,"children":7417},{"class":94,"line":4399},[7418],{"type":21,"tag":92,"props":7419,"children":7420},{"style":99},[7421],{"type":30,"value":4405},{"type":21,"tag":92,"props":7423,"children":7424},{"class":94,"line":4408},[7425,7429,7433,7437],{"type":21,"tag":92,"props":7426,"children":7427},{"style":99},[7428],{"type":30,"value":3273},{"type":21,"tag":92,"props":7430,"children":7431},{"style":163},[7432],{"type":30,"value":4293},{"type":21,"tag":92,"props":7434,"children":7435},{"style":157},[7436],{"type":30,"value":4422},{"type":21,"tag":92,"props":7438,"children":7439},{"style":142},[7440],{"type":30,"value":4427},{"type":21,"tag":92,"props":7442,"children":7443},{"class":94,"line":4430},[7444,7448,7452,7456],{"type":21,"tag":92,"props":7445,"children":7446},{"style":99},[7447],{"type":30,"value":3273},{"type":21,"tag":92,"props":7449,"children":7450},{"style":163},[7451],{"type":30,"value":4293},{"type":21,"tag":92,"props":7453,"children":7454},{"style":157},[7455],{"type":30,"value":4444},{"type":21,"tag":92,"props":7457,"children":7458},{"style":142},[7459],{"type":30,"value":4449},{"type":21,"tag":92,"props":7461,"children":7462},{"class":94,"line":4452},[7463],{"type":21,"tag":92,"props":7464,"children":7465},{"style":99},[7466],{"type":30,"value":3291},{"type":21,"tag":92,"props":7468,"children":7469},{"class":94,"line":4460},[7470,7474,7478,7482,7486,7490,7494,7498,7502,7506,7510,7514],{"type":21,"tag":92,"props":7471,"children":7472},{"style":136},[7473],{"type":30,"value":3493},{"type":21,"tag":92,"props":7475,"children":7476},{"style":142},[7477],{"type":30,"value":145},{"type":21,"tag":92,"props":7479,"children":7480},{"style":136},[7481],{"type":30,"value":150},{"type":21,"tag":92,"props":7483,"children":7484},{"style":142},[7485],{"type":30,"value":145},{"type":21,"tag":92,"props":7487,"children":7488},{"style":157},[7489],{"type":30,"value":4482},{"type":21,"tag":92,"props":7491,"children":7492},{"style":163},[7493],{"type":30,"value":166},{"type":21,"tag":92,"props":7495,"children":7496},{"style":163},[7497],{"type":30,"value":171},{"type":21,"tag":92,"props":7499,"children":7500},{"style":142},[7501],{"type":30,"value":260},{"type":21,"tag":92,"props":7503,"children":7504},{"style":4351},[7505],{"type":30,"value":4499},{"type":21,"tag":92,"props":7507,"children":7508},{"style":142},[7509],{"type":30,"value":4504},{"type":21,"tag":92,"props":7511,"children":7512},{"style":4351},[7513],{"type":30,"value":4509},{"type":21,"tag":92,"props":7515,"children":7516},{"style":142},[7517],{"type":30,"value":4359},{"type":21,"tag":92,"props":7519,"children":7520},{"class":94,"line":4516},[7521,7525,7529,7533],{"type":21,"tag":92,"props":7522,"children":7523},{"style":136},[7524],{"type":30,"value":3338},{"type":21,"tag":92,"props":7526,"children":7527},{"style":142},[7528],{"type":30,"value":3402},{"type":21,"tag":92,"props":7530,"children":7531},{"style":163},[7532],{"type":30,"value":195},{"type":21,"tag":92,"props":7534,"children":7535},{"style":142},[7536],{"type":30,"value":4534},{"type":21,"tag":92,"props":7538,"children":7539},{"class":94,"line":4537},[7540,7544,7548,7552],{"type":21,"tag":92,"props":7541,"children":7542},{"style":136},[7543],{"type":30,"value":3338},{"type":21,"tag":92,"props":7545,"children":7546},{"style":142},[7547],{"type":30,"value":145},{"type":21,"tag":92,"props":7549,"children":7550},{"style":157},[7551],{"type":30,"value":4551},{"type":21,"tag":92,"props":7553,"children":7554},{"style":142},[7555],{"type":30,"value":4556},{"type":21,"tag":92,"props":7557,"children":7558},{"class":94,"line":4559},[7559],{"type":21,"tag":92,"props":7560,"children":7561},{"style":142},[7562],{"type":30,"value":3446},{"type":21,"tag":92,"props":7564,"children":7565},{"class":94,"line":4567},[7566],{"type":21,"tag":92,"props":7567,"children":7568},{"style":99},[7569],{"type":30,"value":3454},{"type":21,"tag":92,"props":7571,"children":7572},{"class":94,"line":4575},[7573],{"type":21,"tag":92,"props":7574,"children":7575},{"style":99},[7576],{"type":30,"value":4581},{"type":21,"tag":92,"props":7578,"children":7579},{"class":94,"line":4584},[7580],{"type":21,"tag":92,"props":7581,"children":7582},{"style":99},[7583],{"type":30,"value":3291},{"type":21,"tag":92,"props":7585,"children":7586},{"class":94,"line":4592},[7587,7591,7595,7599,7603,7607,7611,7615],{"type":21,"tag":92,"props":7588,"children":7589},{"style":136},[7590],{"type":30,"value":3493},{"type":21,"tag":92,"props":7592,"children":7593},{"style":142},[7594],{"type":30,"value":145},{"type":21,"tag":92,"props":7596,"children":7597},{"style":136},[7598],{"type":30,"value":150},{"type":21,"tag":92,"props":7600,"children":7601},{"style":142},[7602],{"type":30,"value":145},{"type":21,"tag":92,"props":7604,"children":7605},{"style":157},[7606],{"type":30,"value":3768},{"type":21,"tag":92,"props":7608,"children":7609},{"style":163},[7610],{"type":30,"value":166},{"type":21,"tag":92,"props":7612,"children":7613},{"style":163},[7614],{"type":30,"value":171},{"type":21,"tag":92,"props":7616,"children":7617},{"style":142},[7618],{"type":30,"value":176},{"type":21,"tag":92,"props":7620,"children":7621},{"class":94,"line":4628},[7622,7626,7630,7634,7638,7642],{"type":21,"tag":92,"props":7623,"children":7624},{"style":136},[7625],{"type":30,"value":3338},{"type":21,"tag":92,"props":7627,"children":7628},{"style":142},[7629],{"type":30,"value":145},{"type":21,"tag":92,"props":7631,"children":7632},{"style":157},[7633],{"type":30,"value":4551},{"type":21,"tag":92,"props":7635,"children":7636},{"style":142},[7637],{"type":30,"value":260},{"type":21,"tag":92,"props":7639,"children":7640},{"style":136},[7641],{"type":30,"value":4650},{"type":21,"tag":92,"props":7643,"children":7644},{"style":142},[7645],{"type":30,"value":1329},{"type":21,"tag":92,"props":7647,"children":7648},{"class":94,"line":4657},[7649],{"type":21,"tag":92,"props":7650,"children":7651},{"style":142},[7652],{"type":30,"value":3446},{"type":21,"tag":92,"props":7654,"children":7655},{"class":94,"line":4665},[7656,7660],{"type":21,"tag":92,"props":7657,"children":7658},{"style":163},[7659],{"type":30,"value":4671},{"type":21,"tag":92,"props":7661,"children":7662},{"style":142},[7663],{"type":30,"value":4676},{"type":21,"tag":92,"props":7665,"children":7666},{"class":94,"line":4679},[7667],{"type":21,"tag":92,"props":7668,"children":7669},{"style":142},[7670],{"type":30,"value":4685},{"type":21,"tag":26,"props":7672,"children":7673},{},[7674],{"type":30,"value":7675},"That's it.",{"type":21,"tag":2760,"props":7677,"children":7678},{},[7679],{"type":30,"value":2764},{"title":8,"searchDepth":114,"depth":114,"links":7681},[7682,7683,7684,7685,7686,7687],{"id":2810,"depth":114,"text":2813},{"id":3196,"depth":114,"text":139},{"id":5113,"depth":114,"text":5116},{"id":5925,"depth":114,"text":5928},{"id":6103,"depth":114,"text":6106},{"id":6228,"depth":114,"text":6231},"content:ckeefer:2014-3:customgmapsinfowindow.md","ckeefer/2014-3/customgmapsinfowindow.md","ckeefer/2014-3/customgmapsinfowindow",{"user":2775,"name":2776},1780330271130]