Examples of StyleFactory


Examples of org.geotools.styling.StyleFactory

            Layer layer = spatialDatabase.getLayer(typeName);
            Object obj = layer.getStyle();
            if(obj instanceof Style) {
              result = (Style)result;
            } else if (obj instanceof File || obj instanceof String) {
              StyleFactory styleFactory = new StyleFactoryImpl();
              SLDParser parser = new SLDParser(styleFactory);
              try {
                if(obj instanceof File) {
                  parser.setInput(new FileReader((File)obj));
                }else{
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.