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

Create a common function for draw functionality on map GD3

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Done
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:

      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

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

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    Tasks

                    Progress: 
                     0/0