The "uk" unit was in the old documentation. The "uk2" unit type has now replaced that in the documentation and it is technically more appropriate - as it will return nearestStormDistance and visibility in miles and not kilometres.
I suggest add a new enum value Unit.UK2 which returns "uk2" when invoking the ToValue extension method.
The "uk" unit was in the old documentation. The "uk2" unit type has now replaced that in the documentation and it is technically more appropriate - as it will return
nearestStormDistance
andvisibility
in miles and not kilometres.I suggest add a new enum value
Unit.UK2
which returns "uk2" when invoking theToValue
extension method.