asascience-open / comt-ui

IOOS Coastal and Ocean Modeling Testbed (COMT) user interface
GNU General Public License v3.0
0 stars 1 forks source link

Add Units to Map Legend #86

Open kknee opened 9 years ago

kknee commented 9 years ago

@brandonmayer @cgalvarino not sure if this is on service or UI side, please assign whoever is most appropriate to this issue.

cgalvarino commented 9 years ago

Sorry. Not me!

brandonmayer-zz commented 9 years ago

@brianmckenna can you take care of this? I would assume you need to extract the units from either the cf-meta data or it is already stored (hard-coded) in the json for @cgalvarino by the indexing script.

brianmckenna commented 9 years ago

@brandonmayer I got this

brandonmayer-zz commented 9 years ago

@brianmckenna grazie

brianmckenna commented 9 years ago

Fixed pending a quick review https://github.com/asascience-open/sci-wms/pull/123

This adds the units to the legend.

I believe there might have been mention of units in the time-series display as well when we reviewed that?

The JSON returned from GetFeatureInfo does have a units field.

cgalvarino commented 9 years ago

The units already appear in the time series both in the legend and the mouseover.