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

org.mapfish.print.map.geotools.StyleSupplier Maven / Gradle / Ivy

package org.mapfish.print.map.geotools;

import org.geotools.styling.Style;
import org.mapfish.print.attribute.map.MapfishMapContext;
import org.mapfish.print.http.MfClientHttpRequestFactory;

/**
 * A strategy for loading style objects.
 *
 * @author Jesse on 6/25/2014.
 *
 * @param  the type source that the style applies to
 */
public interface StyleSupplier {
    /**
     * Load the style.
     * @param requestFactory the factory to use for making http requests
     * @param featureSource the source the style applies to
     * @param mapContext information about the map projection, bounds, size, etc...
     */
    Style load(final MfClientHttpRequestFactory requestFactory,
               final Source featureSource,
               final MapfishMapContext mapContext) throws Exception;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy