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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? simplemap2.java

?? openmap java寫的開源數字地圖程序. 用applet實現,可以像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/examples/simple/SimpleMap2.java,v $// $RCSfile: SimpleMap2.java,v $// $Revision: 1.3.2.2 $// $Date: 2005/05/24 18:38:26 $// $Author: dietrick $// // **********************************************************************package com.bbn.openmap.examples.simple;import java.util.Properties;import com.bbn.openmap.LatLonPoint;import com.bbn.openmap.LayerHandler;import com.bbn.openmap.MapBean;import com.bbn.openmap.MapHandler;import com.bbn.openmap.MultipleSoloMapComponentException;import com.bbn.openmap.gui.BasicMapPanel;import com.bbn.openmap.gui.MapPanel;import com.bbn.openmap.gui.OMToolSet;import com.bbn.openmap.gui.OpenMapFrame;import com.bbn.openmap.gui.ToolPanel;import com.bbn.openmap.layer.GraticuleLayer;import com.bbn.openmap.layer.shape.ShapeLayer;/** * This is a simple application that uses the OpenMap MapBean to show * a map. * <p> * This example shows: * <ul> * <li>MapBean * <li>MapHandler * <li>LayerHandler * <li>ShapeLayer with political data * <li>GraticuleLayer * <li>Local RouteLayer which draws hypothetical routing lines * <li>Tools to navigate around on the map * </ul> *  * @see RouteLayer */public class SimpleMap2 {    public static void main(String args[]) {        // Create a Swing frame. The OpenMapFrame knows how to use        // the MapHandler to locate and place certain objects.        OpenMapFrame frame = new OpenMapFrame("Simple Map 2");        // Size the frame appropriately        frame.setSize(640, 480);        try {            /*             * The BasicMapPanel automatically creates many default             * components, including the MapBean and the MapHandler.             * You can extend the BasicMapPanel class if you like to             * add different functionality or different types of             * objects.             */            MapPanel mapPanel = new BasicMapPanel();            // Get the default MapHandler the BasicMapPanel created.            MapHandler mapHandler = mapPanel.getMapHandler();            mapHandler.add(frame);            // Get the default MapBean that the BasicMapPanel created.            MapBean mapBean = mapPanel.getMapBean();            // Set the map's center            mapBean.setCenter(new LatLonPoint(43.0f, -95.0f));            // Set the map's scale 1:120 million            mapBean.setScale(120000000f);            /*             * Create and add a LayerHandler to the MapHandler. The             * LayerHandler manages Layers, whether they are part of             * the map or not. layer.setVisible(true) will add it to             * the map. The LayerHandler has methods to do this, too.             * The LayerHandler will find the MapBean in the             * MapHandler.             */            mapHandler.add(new LayerHandler());            // Add a route layer.            RouteLayer routeLayer = new RouteLayer();            routeLayer.setVisible(true);            // The LayerHandler will find the Layer in the MapHandler.            /*             * Create a ShapeLayer to show world political boundaries.             * Set the properties of the layer. This assumes that the             * datafiles "dcwpo-browse.shp" and "dcwpo-browse.ssx" are             * in a path specified in the CLASSPATH variable. These             * files are distributed with OpenMap and reside in the             * toplevel "share" subdirectory.             */            ShapeLayer shapeLayer = new ShapeLayer();            // Since this Properties object is being used just for            // this layer, the properties do not have to be scoped            // with marker name, like the layer properties in the            // ../hello/HelloWorld.properties file.            Properties shapeLayerProps = new Properties();            shapeLayerProps.put("prettyName", "Political Solid");            shapeLayerProps.put("lineColor", "000000");            shapeLayerProps.put("fillColor", "BDDE83");            shapeLayerProps.put("shapeFile", "data/shape/dcwpo-browse.shp");            shapeLayerProps.put("spatialIndex", "data/shape/dcwpo-browse.ssx");            shapeLayer.setProperties(shapeLayerProps);            shapeLayer.setVisible(true);                        // Last on top.            mapHandler.add(shapeLayer);            mapHandler.add(new GraticuleLayer());            mapHandler.add(routeLayer);            // Create the directional and zoom control tool            OMToolSet omts = new OMToolSet();            // Create an OpenMap toolbar            ToolPanel toolBar = new ToolPanel();            /*             * Add the ToolPanel and the OMToolSet to the MapHandler.             * The OpenMapFrame will find the ToolPanel and attach it             * to the top part of its content pane, and the ToolPanel             * will find the OMToolSet and add it to itself.             */            mapHandler.add(omts);            mapHandler.add(toolBar);            // Display the frame            frame.setVisible(true);        } catch (MultipleSoloMapComponentException msmce) {            // The MapHandler is only allowed to have one of certain            // items. These items implement the SoloMapComponent            // interface. The MapHandler can have a policy that            // determines what to do when duplicate instances of the            // same type of object are added - replace or ignore.            // In this example, this will never happen, since we are            // controlling that one MapBean, LayerHandler,            // MouseDelegator, etc is being added to the MapHandler.        }    }}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美一区永久视频免费观看| 亚洲国产成人私人影院tom| 久久99精品久久久久久国产越南 | 久久人人爽爽爽人久久久| 一区二区三区波多野结衣在线观看| 色悠悠亚洲一区二区| 国产精品一区二区三区乱码| 亚洲色图.com| 一本色道久久综合狠狠躁的推荐 | 欧美成人猛片aaaaaaa| 欧美日韩成人综合| 91丨porny丨首页| 国产美女一区二区三区| 日韩二区三区四区| 亚洲高清免费观看 | av成人免费在线| 亚洲第一久久影院| 日本视频一区二区| 国产999精品久久| 日本视频在线一区| 国产亚洲欧洲一区高清在线观看| 欧美美女直播网站| 欧美人动与zoxxxx乱| 午夜国产精品一区| 精品88久久久久88久久久| 丝袜亚洲精品中文字幕一区| 中文字幕一区二区三| 中文字幕一区在线观看| 亚洲精品免费电影| 亚洲无线码一区二区三区| 亚洲男女毛片无遮挡| 亚洲激情图片qvod| 久久精品男人的天堂| 亚洲婷婷国产精品电影人久久| 久久久久久一二三区| 久久先锋影音av鲁色资源网| 秋霞电影网一区二区| 欧美午夜一区二区三区免费大片| 欧美成人女星排行榜| 99久久久久免费精品国产| 日韩亚洲欧美在线| 欧美伦理视频网站| 精品99一区二区三区| 国产精品久久国产精麻豆99网站| 亚洲色图19p| 精品一区二区三区不卡 | 色吊一区二区三区| 日韩三级伦理片妻子的秘密按摩| 日韩一区欧美小说| 激情丁香综合五月| 在线一区二区三区四区五区| 久久久久久久久久电影| 日韩av在线播放中文字幕| 国产毛片一区二区| 欧美老女人第四色| 国产精品久久久久久一区二区三区| 青青草原综合久久大伊人精品优势| 不卡大黄网站免费看| wwwwww.欧美系列| 91亚洲精品乱码久久久久久蜜桃| 日韩av电影免费观看高清完整版 | 欧美日韩精品二区第二页| 国产日韩视频一区二区三区| 日精品一区二区| 欧美视频在线观看一区二区| 国产精品高潮呻吟| 国产精品资源站在线| 欧美大白屁股肥臀xxxxxx| 五月激情六月综合| 欧美日韩黄色影视| 亚洲午夜影视影院在线观看| 99免费精品在线| 国产精品久久三| 成人丝袜视频网| 亚洲国产成人在线| 成人综合婷婷国产精品久久蜜臀| 精品久久人人做人人爽| 中文av一区特黄| 亚洲黄色av一区| jizzjizzjizz欧美| 欧美国产成人在线| 国产一区二区精品久久99| 精品少妇一区二区三区视频免付费| 亚洲图片欧美色图| 色呦呦日韩精品| 亚洲精品中文在线| 欧美天天综合网| 爽好久久久欧美精品| 91精品国产麻豆| 国产精品综合一区二区三区| 国产偷v国产偷v亚洲高清| 国产精品资源在线观看| 国产精品国产三级国产普通话99| 成人高清视频在线| 亚洲人成伊人成综合网小说| 日本精品一级二级| 亚洲国产一区在线观看| 日韩一区二区电影在线| 狠狠色丁香婷婷综合久久片| 中文字幕成人网| 一本色道久久综合精品竹菊| 五月综合激情婷婷六月色窝| 欧美mv和日韩mv的网站| 成人av电影在线观看| 亚洲一区国产视频| 欧美一级免费大片| 国产成人在线看| 亚洲一区二区三区自拍| 欧美电视剧在线看免费| 成人免费高清在线| 五月婷婷久久丁香| 国产日韩av一区二区| 色综合久久综合网| 蜜臀av在线播放一区二区三区| 国产欧美一区二区精品性| 欧美中文字幕久久| 国产呦精品一区二区三区网站| 国产精品毛片久久久久久久| 欧美日韩高清一区二区| 成人午夜激情在线| 日韩二区在线观看| 中文字幕一区二区在线观看| 欧美精品在线视频| 国产激情一区二区三区桃花岛亚洲| 亚洲综合精品自拍| 久久久久久麻豆| 51精品视频一区二区三区| 99精品国产热久久91蜜凸| 久久成人免费电影| 午夜精品久久久久久久久| 国产精品丝袜一区| 日韩久久精品一区| 欧美日韩一区久久| 91免费观看视频在线| 蓝色福利精品导航| 日韩精品一区第一页| 亚洲精品日产精品乱码不卡| 久久精品视频在线免费观看| 日韩一区二区三区在线观看 | 日韩美女视频一区二区| 国产日韩欧美制服另类| 精品国产一二三区| 欧美一区二区观看视频| 欧美日韩一卡二卡三卡 | 精品国产免费人成在线观看| 欧美色网一区二区| 欧美在线免费播放| 色综合久久88色综合天天6| av电影在线观看一区| 成人av集中营| 99精品热视频| 成年人午夜久久久| 成人h动漫精品一区二| 国产激情视频一区二区在线观看 | 精品福利在线导航| 精品少妇一区二区三区免费观看 | 五月天一区二区| 亚洲国产成人porn| 亚洲成a人v欧美综合天堂下载| 亚洲欧美日韩精品久久久久| 亚洲国产精品精华液ab| 国产精品视频麻豆| 国产精品欧美久久久久无广告| 国产日韩欧美综合一区| 中文字幕乱码久久午夜不卡 | 欧美精品精品一区| 在线观看中文字幕不卡| 在线观看91精品国产入口| 色成人在线视频| 欧美午夜一区二区| 制服丝袜亚洲色图| 51午夜精品国产| 日韩欧美资源站| 久久久亚洲午夜电影| 亚洲国产高清不卡| 最近中文字幕一区二区三区| 国产精品国产三级国产| 亚洲香蕉伊在人在线观| 日本在线不卡视频| 老司机午夜精品| eeuss影院一区二区三区| 色婷婷久久综合| 欧美一区二区三区视频免费播放| 欧美tickling挠脚心丨vk| 国产欧美日韩精品a在线观看| 综合电影一区二区三区| 日本欧洲一区二区| 国产又黄又大久久| 99精品国产99久久久久久白柏| 欧美性受xxxx黑人xyx性爽| 91精品久久久久久久99蜜桃| 日韩精品一区国产麻豆| 久久久不卡影院| 亚洲男女毛片无遮挡| 国内精品视频一区二区三区八戒 | 成人av动漫网站| 国产欧美日韩综合| 精品国产伦理网| 一区二区三区四区在线播放| 欧美日韩一区二区三区在线|