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

Updates to make the sensors in the map using the information in the sensor

XMLWordPrintableJSON

    • Icon: New Feature New Feature
    • Resolution: Fixed
    • Icon: Normal Normal
    • 3.0
    • None
    • None
    • None

      According to lmarini, the sensors had 'color' information. But I am not seeing it in: https://seagrant-dev.ncsa.illinois.edu/clowder/api/geostreams/sensors

      I looked at what seagrant-dev has. And it seems like the coloring for each sensor would depend on the properties.type.id and you compare it with the following source/color mapping:

      getColor : function(source)

      { return source == "epa" ? "#0D71BA" : source == "usgs" ? "#39B54A" : source == "lec" ? "#4D6363" : source == "gsfmp" ? "#CC2128" : source == "iadn" ? "#F7941E" : "white"; }

      ,

      Source is what is on properties.type.id

      The colors come from seagrant/sources.js (gltg/sources.js and imlczo.js)

              yanzhao3 Yan Zhao (Inactive)
              indiragp Indira Gutierrez Polo
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Estimated:
                  Original Estimate - 2 days
                  2d
                  Remaining:
                  Time Spent - 2 hours Remaining Estimate - 1 day, 6 hours
                  1d 6h
                  Logged:
                  Time Spent - 2 hours Remaining Estimate - 1 day, 6 hours
                  2h