org.mapfish.print.map.geotools.FeatureSourceSupplier Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of print-lib Show documentation
Show all versions of print-lib Show documentation
Library for generating PDFs and images from online webmapping services
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