Worldwindjava 更新版本需要注意的问题
2017-11-14 14:25
323 查看
从2.0升级到2.1
private LayerTree layerTree;
private boolean on = false;
变为 protected
1.BasicMercatorTiledImageLayer
private static class DownloadPostProcessor implements
变为public
该类中的private final MercatorTextureTile tile;变更为protected
private final Object fileLock = new Object();
变为public
private boolean isTextureExpired(
变为public
2.MercatorTiledImageLayer
private final LevelSet levels;
变为protected
protected LevelSet getLevels()
变为public
public int computeLevelForResolution(Sector sector, Globe globe,
double resolution)
注释掉参数Globe globe及其后的内容
if (globe == null)
{
String message = Logging.getMessage(“nullValue.GlobeIsNull”);
Logging.logger().severe(message);
throw new IllegalStateException(message);
}
1.BasicModel
构造函数中,
if (globeName == null)
return;
变更为
if (globeName == null || globeName == “”)
return;
模块引入问题
作为module载入intellij中,删除对xerces_2_5_0.jar的引用代码修订
package gov.nasa.worldwindx.applications.worldwindow.features.swinglayermanager
1.LayerManagerPanelprivate LayerTree layerTree;
private boolean on = false;
变为 protected
package gov.nasa.worldwind.layers.mercator
主要用于对MercatorTiledImageLayer图层数据的批量下载1.BasicMercatorTiledImageLayer
private static class DownloadPostProcessor implements
变为public
该类中的private final MercatorTextureTile tile;变更为protected
private final Object fileLock = new Object();
变为public
private boolean isTextureExpired(
变为public
2.MercatorTiledImageLayer
private final LevelSet levels;
变为protected
protected LevelSet getLevels()
变为public
public int computeLevelForResolution(Sector sector, Globe globe,
double resolution)
注释掉参数Globe globe及其后的内容
if (globe == null)
{
String message = Logging.getMessage(“nullValue.GlobeIsNull”);
Logging.logger().severe(message);
throw new IllegalStateException(message);
}
package gov.nasa.worldwind
主要用于自定义模型中,如果不需要自定义模型,没有必要进行修订1.BasicModel
构造函数中,
if (globeName == null)
return;
变更为
if (globeName == null || globeName == “”)
return;
相关文章推荐
- JAVA中需要注意的问题----收集版本
- JAVA中需要注意的问题----收集版本
- java 连接 SQL server 数据库时 出现的问题,特别需要注意(包括 版本 区别)
- C#调用C++版本dll时的类型转换需要注意的问题小结
- 编写多线程java程序时需要注意哪些问题?(来自于effective java se)
- ORA-02041: 客户数据库未开始一个事务处理 .NET 连接低版本ORACLE时需要注意的问题
- 关联更新需要注意的问题
- 对java中的String采用+=连接字符串需要注意的一个问题
- Linux下Java Web应用程序需要注意的几点问题
- hibernate级联更新外键 需要注意的问题
- Java应用打包后运行需要注意编码问题
- 多个DW同时更新,且表中有关系存在,需要注意的击点问题。
- 关于IOS开发中数据版本更新需要考虑的问题
- 对java中的String采用+=连接字符串需要注意的一个问题
- 日语口语中需要注意的问题~ 不定期更新
- 使用C#通过Oracle.DataAccess连接Oracle,部署时需要注意版本问题
- Android 开发环境搭建---Android 编译需要的sun-java5-jdk在ubuntu10.04以上版本的安装问题
- 将 Java Web 应用从 Windows 移植到 AIX 时需要注意的问题
- 【转】使用C#通过Oracle.DataAccess连接Oracle,部署时需要注意版本问题
- JAVA别名问题----JAVA程序需要注意的对象引用