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

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

There is a newer version: 3.22.0
Show newest version
package org.mapfish.print.map.geotools;

import org.geotools.data.FeatureSource;
import org.mapfish.print.attribute.map.MapfishMapContext;
import org.mapfish.print.http.MfClientHttpRequestFactory;

import javax.annotation.Nonnull;

/**
 * Function for creating feature source.
 */
public interface FeatureSourceSupplier {
    /**
     * Load/create feature source.
     *
     * @param requestFactory the factory to use for making http requests
     * @param mapContext object containing the map information like bounds, map size, dpi, rotation,
     *         etc...
     */
    @Nonnull
    FeatureSource load(
            @Nonnull MfClientHttpRequestFactory requestFactory,
            @Nonnull MapfishMapContext mapContext);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy