Uploaded image for project: 'GeoDashboard'
  1. GeoDashboard
  2. GEOD-926

Create a common function for draw functionality on map GD3

XMLWordPrintableJSON

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Normal Normal
    • None
    • None
    • None

      I see a lot of the same code about 4 times here.
      Can you create a function and send in the parameters that are different like the id of the ol interaction, the type (square, circle, custom). Maybe a boolean for the things you do for the last 3 but not in the clear one?

      And is it a Quadrangle or a Square?

      Issue created for https://opensource.ncsa.illinois.edu/bitbucket/projects/GEOD/repos/geodashboard-v3/pull-requests/57/overview?commentId=11224

              mpitcel2 Michelle Pitcel
              indiragp Indira Gutierrez Polo
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: