All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.opentripplanner.analyst.request.RenderRequest Maven / Gradle / Ivy

package org.opentripplanner.analyst.request;

import org.opentripplanner.api.parameter.Layer;
import org.opentripplanner.api.parameter.MIMEImageFormat;
import org.opentripplanner.api.parameter.Style;

public class RenderRequest {

    public final MIMEImageFormat format; 
    public final Layer layer; 
    public final Style style; 
    public final boolean transparent;
    public final boolean timestamp;
    
    public RenderRequest (MIMEImageFormat format, 
        Layer layer, Style style, boolean transparent, boolean timestamp) {
        this.format = format;
        this.layer = layer;
        this.style = style;
        this.transparent = transparent;
        this.timestamp = timestamp;
    }
    
    public String toString() {
        return String.format("", 
                format, layer, style);
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy