       if(vectorSource==null)
            {
                return;
            }
            vectorSource.clear(true);
        }
    </script>
</head>

<body onload="init()">
    <div id="mapCon">
    </div>

    <div id="menuContain" class='menuContain'>
        <div id="tool-container">
         <div id='dataSourceMenuID'  class="optmain"  status="unactive" onclick="switchMenuStatus(this,'menu1')">
             <span></span><i class="menuGroup">交互绘制</i><em></em>
         </div>
      
     </div>