Package com.bbn.openmap.dataAccess.shape

Examples of com.bbn.openmap.dataAccess.shape.EsriGraphicFactory


     *
     * @return
     */
    public EsriGraphicFactory getFactory() {
        if (factory == null) {
            factory = new EsriGraphicFactory();
        }
        return factory;
    }
View Full Code Here


        if (shp == null) {
            return list;
        }

        EsriGraphicFactory.ReadByteTracker byteTracker = new EsriGraphicFactory.ReadByteTracker();
        EsriGraphicFactory factory = getFactory();
        factory.setDataCoordTransformation(dataProj);

        OMGraphicList labels = new OMGraphicList();
        list.add(labels);

        for (Iterator it = entryIterator(dataProj); it.hasNext();) {
            Entry entry = (Entry) it.next();

            if (entry.intersects(xmin, ymin, xmax, ymax)) {

                try {

                    OMGraphic omg = (OMGraphic) factory.makeEsriGraphicFromRecord(entry.getByteOffset(),
                            shp,
                            drawingAttributes,
                            pointIcon,
                            byteTracker);
View Full Code Here

        if (shp == null) {
            return retList;
        }

        EsriGraphicFactory factory = getFactory();
        factory.setDataCoordTransformation(dataProj);
        factory.getEsriGraphics(shp,
                drawingAttributes,
                pointIcon,
                mapProj,
                retList);
View Full Code Here

     * data projection available).
     *
     * @return EsriGraphicList A list of geometry
     */
    public EsriGraphicList getGeometry() throws Exception {
        return getGeometry(new EsriGraphicFactory());
    }
View Full Code Here

TOP

Related Classes of com.bbn.openmap.dataAccess.shape.EsriGraphicFactory

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.