📄 gazetteerapp.java
字号:
/*Copyright (C) 2001, 2008 United States Governmentas represented by the Administrator of theNational Aeronautics and Space Administration.All Rights Reserved.*/package gov.nasa.worldwind.examples;import gov.nasa.worldwind.layers.AnnotationLayer;import java.awt.*;/** * @author jparsons * @version $Id$ */public class GazetteerApp extends ApplicationTemplate{ public static class AppFrame extends ApplicationTemplate.AppFrame { protected AnnotationLayer layer; public AppFrame() throws IllegalAccessException, InstantiationException, ClassNotFoundException { super(true, false, false); this.layer = new AnnotationLayer(); insertBeforeCompass(this.getWwd(), layer); this.getContentPane().add(new GazetteerPanel(this.getWwd(), null), BorderLayout.NORTH); //use default yahoo service } public AnnotationLayer getAnnotationLayer() { return layer; } } public static void main(String[] args) { ApplicationTemplate.start("World Wind Gazetteer", AppFrame.class); }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -