function MapShape(D,B,A,C){this.m_strType=D;this.m_strDescription=B;this.m_fRadius=A;this.m_aLatLonPairs=C;this.formatFloat=function(G,F){var E=Math.pow(10,F);return parseInt(G*E,10)/E};this.getSerialized=function(){var F=this.m_strType;F+="|";F+=this.m_strDescription;F+="|";F+=this.formatFloat(this.m_fRadius,2);for(var E in this.m_aLatLonPairs){F+="|";F+=this.m_aLatLonPairs[E].Latitude;F+=",";F+=this.m_aLatLonPairs[E].Longitude}return F};this.setSerialized=function(E){this.m_strType="";this.m_strDescription="";
this.m_fRadius="";this.m_aLatLonPairs=new Array();var G=E.split("|");this.m_strType=G[0];this.m_strDescription=G[1];this.m_fRadius=G[2];for(var F=3;F<G.length;F++){var H=G[F].split(",");this.m_aLatLonPairs.push(new VELatLong(H[0],H[1]))}}};