text: /* MIT:Daniel Nanovski, http://overfx.net/ */(function(a){function c(a,c,d,e,f,g,h,i,j){b++;if(b%(i+1))return;var k=new Array;k[0]=new google.maps.LatLng(a,c);k[1]=new google.maps.LatLng(d,e);var l=new google.maps.Polyline({path:k,geodesic:false,strokeColor:f,strokeOpacity:g,strokeWeight:h});l.setMap(j)}var b=0;a.fn.extend({curvedLine:function(b){var d={LatStart:null,LngStart:null,LatEnd:null,LngEnd:null,Color:"#FF0000",Opacity:1,Weight:3,GapWidth:0,Horizontal:true,Multiplier:1,Resolution:.1,Map:map};var b=a.extend(d,b);return this.each(function(){var a=b;var d=a.LatStart;var e=a.LngStart;var f;var g;var h=new Array;var i=new Array;for(point=0;point<=1;point+=a.Resolution){h.push(point);offset=.6*Math.sin(Math.PI*point/1);i.push(offset)}var j=0;if(a.Horizontal==true){var k=(a.LngEnd-a.LngStart)*.1}else{var k=(a.LatEnd-a.LatStart)*.1}for(var l=0;l<h.length;l++){if(l==4){j=1.5*a.Multiplier}if(l>=5){j=k*i[l]*a.Multiplier}else{j=k*i[l]*a.Multiplier}if(a.Horizontal==true){f=a.LatStart+(a.LatEnd-a.LatStart)*h[l]+j;g=a.LngStart+(a.LngEnd-a.LngStart)*h[l]}else{f=a.LatStart+(a.LatEnd-a.LatStart)*h[l];g=a.LngStart+(a.LngEnd-a.LngStart)*h[l]+j}c(d,e,f,g,a.Color,a.Opacity,a.Weight,a.GapWidth,a.Map);d=f;e=g}c(d,e,a.LatEnd,a.LngEnd,a.Color,a.Opacity,a.Weight,a.GapWidth,a.Map)})}})})(jQuery)