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

Create a common function for draw functionality on map GD3

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Done
    • Normal
    • Resolution: Fixed
    • None
    • None
    • None

    Description

      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

      Gliffy Diagrams

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Tasks