function getMaps(){$(".map").each(function(){var n=$(this),r=n.data("title"),u=n.data("desc"),f=parseInt(n.data("width-offset")),e=parseFloat(n.data("height-ratio")),i=n.data("lat-longs"),o=parseInt(n.data("zoom-level")),t=[];$(i).length>0&&$(i).each(function(){var n=this;t.push({Title:r,Description:u,Latitude:parseFloat(n.Latitude),Longitude:parseFloat(n.Longitude),PushPinUrl:mapsPushPinUrl})});t.length>0&&n.BingMap({Width:n.parent().width()-f,Height:n.parent().height()*e,APIKEY:mapsApiKey,ZoomLevel:o,AllowMouseWheelZoom:!1,ShowPinTitle:!1,ShowPinDescription:!1,ShowPushPin:!0,ShowPinInfoBoxes:!1,ShowDashBoard:!1,ShowScaleBar:!1,CenterPoint:{Latitude:t[0].Latitude,Longitude:t[0].Longitude},Pins:t})})}