亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? vpfcachedfeaturegraphicwarehouse.java

?? openmap java寫的開源數(shù)字地圖程序. 用applet實現(xiàn),可以像google map 那樣放大縮小地圖.
?? JAVA
字號:
// **********************************************************************// // <copyright>// //  BBN Technologies//  10 Moulton Street//  Cambridge, MA 02138//  (617) 873-8000// //  Copyright (C) BBNT Solutions LLC. All rights reserved.// // </copyright>// **********************************************************************// // $Source: /cvs/distapps/openmap/src/openmap/com/bbn/openmap/layer/vpf/VPFCachedFeatureGraphicWarehouse.java,v $// $RCSfile: VPFCachedFeatureGraphicWarehouse.java,v $// $Revision: 1.2.2.2 $// $Date: 2004/10/14 18:27:22 $// $Author: dietrick $// // **********************************************************************package com.bbn.openmap.layer.vpf;import com.bbn.openmap.LatLonPoint;import com.bbn.openmap.omGraphics.*;import com.bbn.openmap.util.Debug;import com.bbn.openmap.io.FormatException;import java.util.*;/** * The VPFFeatureGraphicWarehouse extension that knows how to use a * VPFFeatureCache. The cached lists are cloned and the drawing * attributes for the clones are set based on the warehouse settings. */public class VPFCachedFeatureGraphicWarehouse extends        VPFFeatureGraphicWarehouse {    protected VPFFeatureCache featureCache = null;    /**     */    public VPFCachedFeatureGraphicWarehouse() {        super();    }    /**     */    public VPFCachedFeatureGraphicWarehouse(VPFFeatureCache vfc) {        this();        setFeatureCache(vfc);    }    public void setFeatureCache(VPFFeatureCache vfc) {        featureCache = vfc;    }    public VPFFeatureCache getFeatureCache() {        return featureCache;    }    /**     *       */    public void createArea(CoverageTable covtable, AreaTable areatable,                           List facevec, LatLonPoint ll1, LatLonPoint ll2,                           float dpplat, float dpplon, String featureType) {        List ipts = new ArrayList();        int totalSize = 0;        try {            totalSize = areatable.computeEdgePoints(facevec, ipts);        } catch (FormatException f) {            Debug.output("FormatException in computeEdgePoints: " + f);            return;        }        if (totalSize == 0) {            return;        }        OMPoly py = createAreaOMPoly(ipts,                totalSize,                ll1,                ll2,                dpplat,                dpplon,                covtable.doAntarcticaWorkaround);        DrawingAttributes da = getAttributesForFeature(featureType);        // Must make sure that line paint equals fill paint, the        // boundary for areas isn't always the sum of the areas.        //         da.setLinePaint(da.getFillPaint());        //         da.setSelectPaint(da.getFillPaint());        da.setTo(py);        py.setLinePaint(da.getFillPaint());        py.setSelectPaint(da.getFillPaint());        addToCachedList(py, featureType, areatable, VPFUtil.Area);    }    /**     *       */    public void createEdge(CoverageTable c, EdgeTable edgetable, List edgevec,                           LatLonPoint ll1, LatLonPoint ll2, float dpplat,                           float dpplon, CoordFloatString coords,                           String featureType) {        OMPoly py = createEdgeOMPoly(coords, ll1, ll2, dpplat, dpplon);        DrawingAttributes da = getAttributesForFeature(featureType);        //         da.setFillPaint(OMColor.clear); // Just to make sure that        // it is always set in the DA.        da.setTo(py);        py.setFillPaint(OMColor.clear);        py.setIsPolygon(false);        addToCachedList(py, featureType, edgetable, VPFUtil.Edge);    }    /**     *       */    public void createText(CoverageTable c, TextTable texttable, List textvec,                           float latitude, float longitude, String text,                           String featureType) {        OMText txt = createOMText(text, latitude, longitude);        getAttributesForFeature(featureType).setTo(txt);        addToCachedList(txt, featureType, texttable, VPFUtil.Text);    }    /**     * Method called by the VPF reader code to construct a node     * feature.     */    public void createNode(CoverageTable c, NodeTable t, List nodeprim,                           float latitude, float longitude,                           boolean isEntityNode, String featureType) {        OMPoint pt = createOMPoint(latitude, longitude);        getAttributesForFeature(featureType).setTo(pt);        addToCachedList(pt, featureType, t, isEntityNode ? VPFUtil.EPoint                : VPFUtil.CPoint);    }    /**     * Calls addToCachedList on the feature cache if it's available.     */    protected synchronized void addToCachedList(OMGraphic omg,                                                String featureType,                                                PrimitiveTable pt, String type) {        if (featureCache != null) {            featureCache.addToCachedList(omg, featureType, pt, type);        } else {            // Main OMGraphicList stored in super class            //             Debug.output("cachedfgw not adding to cached list for "            // + type);            if (type == VPFUtil.Area)                addArea(omg);            else if (type == VPFUtil.Edge)                addEdge(omg);            else if (type == VPFUtil.Text)                addText(omg);            else                addPoint(omg);            // Sorting by type, now.            //             graphics.add(omg);        }    }    /**     * Calls VPFFeatureCache.needToFetchTileContents().     */    public boolean needToFetchTileContents(String currentFeature,                                           TileDirectory currentTile) {        if (featureCache != null) {            // The cached graphics list will be added to the graphics            // list provided.            return featureCache.needToFetchTileContents(currentFeature,                    currentTile,                    graphics);        } else {            return super.needToFetchTileContents(currentFeature, currentTile);        }    }    /**     * Overridden method of VPFFeatureGraphicWarehouse, clones cached     * OMGraphicLst and sets the proper DrawingAttributes settings for     * the particular features.     */    public synchronized OMGraphicList getGraphics() {        // Clone from the cache...        if (featureCache != null) {            // The main graphics object is made up of            // FeatureCacheGraphicLists for features for applicable            // tiles. All of the other warehouses are filling up the            // area, edge, text and point lists, but the cache is            // filling up the main list with these feature cache            // graphic lists. We need to sort them, reorganize and            // then return the newly sorted list so the areas are on            // the bottom. We're going to assume that the area, edge,            // text, point sublists are null and empty, since the            // cached stuff has been added directly to graphics.            OMGraphicList ret = new OMGraphicList();            ret.setTraverseMode(OMGraphicList.LAST_ADDED_ON_TOP);            for (Iterator it = graphics.iterator(); it.hasNext();) {                OMGraphic omg = (OMGraphic) it.next();                if (omg instanceof FeatureCacheGraphicList) {                    FeatureCacheGraphicList fcgl = (FeatureCacheGraphicList) ((FeatureCacheGraphicList) omg).clone();                    fcgl.setDrawingAttributes(this);                    if (fcgl instanceof FeatureCacheGraphicList.AREA)                        addArea(fcgl);                    else if (fcgl instanceof FeatureCacheGraphicList.EDGE)                        addEdge(fcgl);                    else if (fcgl instanceof FeatureCacheGraphicList.TEXT)                        addText(fcgl);                    else                        addPoint(fcgl);                } else {                    // Add on top                    addPoint(omg);                }            }            return getGraphics(ret);        } else {            return super.getGraphics();        }    }}

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产成+人+日韩+欧美+亚洲| 欧美国产禁国产网站cc| 亚洲国产精品精华液网站| 欧美亚洲国产bt| 婷婷久久综合九色综合绿巨人| 色综合中文字幕| 天天综合天天做天天综合| 欧美日韩不卡一区二区| 美女视频一区在线观看| 亚洲精品一区二区三区蜜桃下载 | 美女网站色91| 久久久五月婷婷| 91麻豆精品秘密| 五月综合激情日本mⅴ| 日韩一区二区在线看| 国产福利一区在线| 亚洲一区在线免费观看| 亚洲精品在线网站| 在线一区二区三区四区| 激情综合色播五月| 亚洲影视在线播放| 久久这里都是精品| 99久久精品99国产精品| 免费成人美女在线观看.| 自拍视频在线观看一区二区| 日韩精品中文字幕在线一区| va亚洲va日韩不卡在线观看| 久久成人精品无人区| 一区二区成人在线| 国产日韩一级二级三级| 日韩欧美久久一区| 欧美性大战久久久| 99久久久免费精品国产一区二区| 青青草精品视频| 一区二区三区资源| ●精品国产综合乱码久久久久| 精品免费国产一区二区三区四区| 欧美性大战久久| 欧美三级一区二区| 日本福利一区二区| 色中色一区二区| 91亚洲精品乱码久久久久久蜜桃| 成人免费视频免费观看| 国产精品亚洲综合一区在线观看| 美国精品在线观看| 美洲天堂一区二卡三卡四卡视频 | 国产日韩欧美不卡| 欧美高清在线一区| 国产精品免费看片| 亚洲免费观看视频| 一区二区视频在线| 午夜久久久久久久久久一区二区| 一区二区三区高清| 天天色天天操综合| 久久成人av少妇免费| 国产成人99久久亚洲综合精品| 国产成人aaaa| 欧美浪妇xxxx高跟鞋交| 欧美一二三四在线| 国产精品美女久久久久高潮| 亚洲日韩欧美一区二区在线| 五月婷婷激情综合网| 久久99久久99精品免视看婷婷 | 国产偷国产偷亚洲高清人白洁| 亚洲国产精品成人久久综合一区| 亚洲摸摸操操av| 麻豆精品国产传媒mv男同| 成人avav在线| 日韩一区二区在线看片| 国产精品三级久久久久三级| 日韩精品成人一区二区在线| 国产成人av影院| 91精品国产入口| 亚洲免费三区一区二区| 国产精品一卡二卡在线观看| 97久久久精品综合88久久| 日韩一区二区电影网| 亚洲一区二区三区国产| 99久精品国产| 精品国产乱码久久久久久影片| 亚洲日本va午夜在线影院| 国产一区久久久| 日韩午夜在线观看| 日韩精品一二区| 成人免费视频视频| 欧美日韩一级片在线观看| 精品国产精品一区二区夜夜嗨| 欧美韩日一区二区三区四区| 免费观看在线综合色| 欧美日韩在线播放| 亚洲国产日日夜夜| 欧美性生交片4| 亚洲国产综合91精品麻豆| 欧洲精品一区二区三区在线观看| 中文字幕电影一区| 99视频精品在线| 亚洲女同女同女同女同女同69| 成人小视频在线观看| 综合久久久久久| 色88888久久久久久影院野外 | 99精品欧美一区二区三区小说| 日本一区二区免费在线观看视频| 国产黄色精品视频| 久久女同精品一区二区| 国产成人精品免费一区二区| 国产精品美女久久久久久久久久久| 高潮精品一区videoshd| 18成人在线观看| 4438x成人网最大色成网站| 激情另类小说区图片区视频区| 国产三级精品在线| 欧美中文字幕亚洲一区二区va在线| 视频一区视频二区中文| 久久香蕉国产线看观看99| 色妞www精品视频| 久久精品国产亚洲5555| 国产精品国产三级国产| 日韩一区二区视频| 91精品福利在线| 国产精品亚洲视频| 奇米影视在线99精品| 国产精品视频免费看| 欧美v国产在线一区二区三区| 成a人片亚洲日本久久| 日韩精彩视频在线观看| 亚洲日本护士毛茸茸| 日本一区二区久久| 日韩一区二区三免费高清| 日本道免费精品一区二区三区| 久久99精品久久久久久动态图 | 日韩和欧美一区二区三区| 国产精品福利av| 久久这里只有精品视频网| 欧美日韩精品一区二区三区蜜桃| 顶级嫩模精品视频在线看| 蜜桃精品在线观看| 天使萌一区二区三区免费观看| 国产精品久久久久7777按摩| 久久女同性恋中文字幕| 日韩久久精品一区| 精品国产一区二区三区久久久蜜月| 在线观看国产日韩| 欧美三级电影在线看| 欧美视频一区在线观看| 欧美无人高清视频在线观看| 91麻豆视频网站| 91啪九色porn原创视频在线观看| 国产成人99久久亚洲综合精品| 国产剧情在线观看一区二区| 国产传媒日韩欧美成人| 国产成a人亚洲精品| 99国产精品视频免费观看| 一本一道综合狠狠老| 欧美日韩一区二区三区免费看| 欧美老人xxxx18| 精品1区2区在线观看| 日韩理论片在线| 无码av中文一区二区三区桃花岛| 久久精品99国产精品日本| 国产精品18久久久久久久久久久久| 成人黄色777网| 日韩一区二区在线观看| 欧美激情一区在线| 亚洲五码中文字幕| 国产在线播放一区三区四| 91无套直看片红桃| 欧美一级搡bbbb搡bbbb| 中文成人综合网| 日韩国产高清在线| 色狠狠av一区二区三区| 欧美精品一区二区不卡| 伊人婷婷欧美激情| 国产精品伊人色| 欧美一区二区三区在线观看视频| 欧美国产日韩a欧美在线观看| 日韩成人午夜电影| 欧美在线免费视屏| 日韩一区中文字幕| 国产黄色成人av| 欧美大黄免费观看| 日韩av电影免费观看高清完整版 | 国产69精品久久久久777| 欧美一区二区精品在线| 视频一区二区国产| 91电影在线观看| 日韩理论电影院| 99综合影院在线| 亚洲婷婷国产精品电影人久久| 国产成人在线看| 欧美国产1区2区| 99久久精品国产导航| 亚洲欧美日韩国产一区二区三区| 国产福利一区二区三区| 欧美激情一区不卡| 成人av先锋影音| 樱花影视一区二区| 欧美久久久一区| 蜜臀av一区二区| 日本一区二区免费在线 | 欧美综合一区二区|