Package org.geoserver.kml.sequence

Examples of org.geoserver.kml.sequence.PlainFolderSequenceFactory$PlainFolderGenerator


            if (MapLayerInfo.TYPE_VECTOR == type || MapLayerInfo.TYPE_REMOTE_VECTOR == type) {
                includeSampleData = true;
            }
        }
        if(includeSampleData) {
            SequenceFactory<Feature> generatorFactory = new PlainFolderSequenceFactory(encodingContext);
            SequenceList<Feature> folders = new SequenceList<Feature>(generatorFactory);
            encodingContext.addFeatures(doc, folders);
        }
       
        return new KmlEncodingBundle(kml, encodingContext);
View Full Code Here


            }
        }

        // create a generator that will generate a folder and feature dumps/ground overlays for each
        // layer
        SequenceFactory<Feature> generatorFactory = new PlainFolderSequenceFactory(context);
        SequenceList<Feature> folders = new SequenceList<Feature>(generatorFactory);
        context.addFeatures(document, folders);

        return kml;
    }
View Full Code Here

TOP

Related Classes of org.geoserver.kml.sequence.PlainFolderSequenceFactory$PlainFolderGenerator

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.