Unverified Commit 78cb3d55 authored by amystamile's avatar amystamile Committed by GitHub
Browse files

Merge pull request #46 from gsn9/removeControls

removed Polygon and Line Controls
parents 80370f06 387fb688
Loading
Loading
Loading
Loading
+7 −2
Original line number Diff line number Diff line
@@ -26,7 +26,12 @@ import {getCurrentPage} from "./ApiJsonCollection";
 */
export default L.Control.AstroDrawControl = L.Control.Draw.extend({
  options: {
    draw: { circle: false, marker: false, circlemarker: false },
    draw: { 
      circle: false, 
      marker: false, 
      circlemarker: false, 
      polyline: false, 
      polygon:false },
      edit: false
  },