arcgis webappbuilder 中定义map对象代码片段
来源:互联网 发布:这位程序员四十岁了还 编辑:程序博客网 时间:2024/05/18 18:02
在MapManager.js中214行如下:
_publishMapEvent: function(map) {
//add this property for debug purposewindow._viewerMap = map;
if (this.loading) {
this.loading.destroy();
}
MapUrlParamsHandler.postProcessUrlParams(this.urlParams, map);
console.timeEnd('Load Map');
if (this.map) {
this.map = map;
this.resetInfoWindow(true);
console.log('map changed.');
topic.publish('mapChanged', this.map);
} else {
this.map = map;
this.resetInfoWindow(true);
topic.publish('mapLoaded', this.map);
}
},
在外部页面中使用 this._viewerMap,即可以使用map地图对象了
0 0
- arcgis webappbuilder 中定义map对象代码片段
- webappbuilder定义全局变量
- 定义自己的代码片段
- 在ArcGIS WebAppBuilder中的widget中嵌入EasyUI的图形化控件
- 关于在ArcGIS WebAppBuilder的widget开发中引入EasyUI的一些方法
- 关于webappbuilder for ArcGIS下拉菜单
- WebAppBuilder For ArcGIS 安装部署使用
- C#中初始化串口的函数定义与数据接收代码片段
- Arcgis中map属性方法
- arcgis中map属性方法
- arcgis中map属性方法
- C# 检索机器是否安装了ArcGIS Runtime代码片段
- vc++中常用代码片段
- ArcGIS Api for JavaScript/Webappbuilder 去掉Esri logo
- webappbuilder改为不依赖portal之arcgis for js4.系列
- Android平台在UI Thread中执行非UI线程中定义的代码片段的几种方法
- 修改Webappbuilder中右下图logo图标
- ArcGIS for Flex中map控件属性
- ConcurrentHashMap源码解析
- 数据库(mysql)简介
- 【日常】列表页优化历程
- 4.29日,世界安全日
- QDockWidget示例
- arcgis webappbuilder 中定义map对象代码片段
- assertbundle shader丢失
- myaql安装
- 第一个暗时间------看新闻,刷知乎微博的时间
- 字符串转换命令:tr,col,join,paste,expand
- 虚幻4 编译Shader 5
- springmvc中的RequestBody自动注入List, Map, String数据结构的数据
- 炫酷的底部菜单栏BottomBar
- jar包问题