Environment类参考
关于开发环境的一些配置信息管理类,比如设置缓存目录、设置零值判断精度等功能,通过此类还可以设置像素与逻辑坐标的比例。 更多...
静态公有成员 | |
| (void) | + setFontsPath: |
| 设置外挂字体路径 | |
| (void) | + setLicenseDelegate: |
| 设置许可激活回调。 | |
| (void) | + initWebCachePath: |
| 根据指定的参数构造一个新的Environment对象。 | |
| (BOOL) | + clearWebCacheWithType: |
| 清除下载的网络地图缓存 | |
| (BOOL) | + isInitWebCachePath |
| 判断是否根据制定的存放网络地图缓存的路径构造了新的Environment对象。 | |
| (void) | + setUserLicInfo:Modules: |
| 设置用户序列号和许可模块 | |
| (BOOL) | + activateDevice |
| 在线激活设备 | |
| (LicenseStatus *) | + verifyLicenseCode: |
| 验证许可码,用于手动输入和在线注册 | |
| (void) | + setLicensePath: |
| 放置许可文件存放路径 | |
| (void) | + setLicenseType: |
| (int) | + getLicenseType |
| (LicenseStatus *) | + getLicenseStatus |
| 获取许可状态 | |
| (NSString *) | + getVersion |
| (BOOL) | + isOpenGLMode |
| (void) | + setOpenGLMode: |
| (double) | + mainScreenScale |
| (void) | + setPrintWMSLog: |
详细描述
关于开发环境的一些配置信息管理类,比如设置缓存目录、设置零值判断精度等功能,通过此类还可以设置像素与逻辑坐标的比例。
成员函数文档
| + (BOOL) activateDevice |
在线激活设备
- 返回:
| + (BOOL) clearWebCacheWithType: | (EngineType) | type |
清除下载的网络地图缓存
- 参数:
-
type 网络数据类型(其他的非网络地图类型不能删除缓存)。
| + (LicenseStatus *) getLicenseStatus |
获取许可状态
- 返回:
- 返回当前的许可状态
| + (int) getLicenseType |
| + (NSString *) getVersion |
| + (void) initWebCachePath: | (NSString *) | cachePath |
根据指定的参数构造一个新的Environment对象。
- 参数:
-
cachePath 指定的存放网络地图缓存的路径。
| + (BOOL) isInitWebCachePath |
判断是否根据制定的存放网络地图缓存的路径构造了新的Environment对象。
- 返回:
- 一个布尔值,true表示根据指定的参数构造了新对象,false,表示没有根据指定的参数构造新对象。
| + (BOOL) isOpenGLMode |
| + (double) mainScreenScale |
| + (void) setFontsPath: | (NSString *) | fontsPath |
设置外挂字体路径
| + (void) setLicenseDelegate: | (id< LicenseActivationDelegate >) | delegate |
设置许可激活回调。
| + (void) setLicensePath: | (NSString *) | path |
放置许可文件存放路径
- 参数:
-
path
| + (void) setLicenseType: | (int) | type |
| + (void) setOpenGLMode: | (BOOL) | bOpenGLMode |
| + (void) setPrintWMSLog: | (BOOL) | bPrintWMSLog |
| + (void) setUserLicInfo: | (NSString *) | userSerialNumber | ||
| Modules: | (NSArray *) | modules | ||
设置用户序列号和许可模块
- 参数:
-
userSerialNumber 用户序列号 modules 需要申请的模块列表
- 返回:
| + (LicenseStatus*) verifyLicenseCode: | (NSString *) | licCode |
验证许可码,用于手动输入和在线注册
- 参数:
-
licCode
- 返回:
该类的文档由以下文件生成:
版权所有©2005-2021 北京超图软件股份有限公司。保留所有权利。