Changes between Version 25 and Version 26 of ZooWebSite/Demo/GdalProfileJs
- Timestamp:
- Dec 1, 2010, 3:21:21 PM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ZooWebSite/Demo/GdalProfileJs
v25 v26 315 315 pointLayer.removeFeatures(pointLayer.features); 316 316 document.getElementById("chart_container").innerHTML=""; 317 drawControls['line'].deactivate();318 317 isActivated=false; 319 318 } 320 var isActivated=false; 321 function toggleControl() { 322 if(!isActivated){ 323 drawControls['line'].activate(); 324 isActivated=true; 325 } 326 else{ 327 drawControls['line'].deactivate(); 328 isActivated=false; 329 } 330 } 319 331 320 ]]> 332 321 </script>