/** * Map Generator Groovy weather sample */ package weather.data; import idea.geographic.coordsys.orthogonal2d.CartesianGeoPosition; import idea.map.data.DataValue; /** * Data value with stored METAR info - for display it in tooltip * * @author Lumir Vanek, vanek@idea-envi.cz * */ class DataValueWithMetar extends DataValue { /** * Original undecoded METAR */ final String metarOrigin; /** * Constructor * * @param code Code, that allow distinguish this data value from others * @param value Value * @param position Cartesian position of place, where value was measured * @param name Name of place, where data value obtained * @param nameVisible Flag indicating, if name is rendered on map * @param metarOrigin Original undecoded METAR */ public DataValueWithMetar(String code, Float value, CartesianGeoPosition position, String name, boolean nameVisible, String metarOrigin) { super(code, value, position, name, nameVisible); this.metarOrigin = metarOrigin; } }