Package org.mapfish.print.map.geotools

Examples of org.mapfish.print.map.geotools.StyleSupplier


    @Override
    public final Void execute(final Input values, final ExecutionContext context) {
        for (MapLayer layer : values.map.getLayers()) {
            checkCancelState(context);
            if (layer instanceof AbstractFeatureSourceLayer) {
                ((AbstractFeatureSourceLayer) layer).setStyle(new StyleSupplier() {
                    @Override
                    public Style load(final MfClientHttpRequestFactory requestFactory,
                                      final Object featureSource,
                                      final MapfishMapContext mapContext) throws Exception {
                        return values.style.getStyle(values.clientHttpRequestFactory, mapContext);
View Full Code Here

TOP

Related Classes of org.mapfish.print.map.geotools.StyleSupplier

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.