001    package com.google.gwt.maps.client.weatherlib;
002    
003    /**
004     * The wind speed unit displayed by the weather layer. <br>
005     * <br>
006     * See <a href=
007     * "https://developers.google.com/maps/documentation/javascript/reference#WindSpeedUnit"
008     * >WindSpeedUnit API Doc</a>
009     */
010    public enum WindSpeedUnit {
011            
012            /**
013             * Specifies that wind speeds should be displayed in kilometers per hour.
014             */
015            KILOMETERS_PER_HOUR("kph"),
016            
017            /**
018             * Specifies that wind speeds should be displayed in meters per second.
019             */
020            METERS_PER_SECOND("ms"),
021    
022            /**
023             * Specifies that wind speeds should be displayed in miles per hour.
024             */
025            MILES_PER_HOUR("mph");
026    
027            private final String value;
028            
029            private WindSpeedUnit(String value) {
030                    this.value = value;
031            }
032            
033            public String value() {
034                    return value;
035            }
036    
037            public String toString() {
038                    return name();
039            }
040    
041    }