Package org.mapfish.print.map.style

Examples of org.mapfish.print.map.style.SLDParserPlugin


         * @param mapContext information about the map projection, bounds, size, etc...
         */
        public synchronized Style getStyle(@Nonnull final MfClientHttpRequestFactory clientHttpRequestFactory,
                                           @Nonnull final MapfishMapContext mapContext) throws Exception {
            if (this.styleObject == null && this.style != null) {
                final StyleParserPlugin parser = new SLDParserPlugin();
                try {
                    this.styleObject = parser.parseStyle(null, clientHttpRequestFactory, this.style, mapContext).get();
                } catch (Throwable throwable) {
                    throw ExceptionUtils.getRuntimeException(throwable);
                }
            }
            return this.styleObject;
View Full Code Here

TOP

Related Classes of org.mapfish.print.map.style.SLDParserPlugin

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.