Skip to content

Commit 669c6ba

Browse files
committed
修改拼写不对的变量名称
1 parent 65dd0a9 commit 669c6ba

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

examples/leaflet/iPortalQueryMaps.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,10 +67,10 @@ <h4>iPortal QueryMaps使用示例</h4>
6767
pageSize:mapsPageSize,
6868
};
6969
//Maps查询初始化工作
70-
var iPoortalMaps=new SuperMap.iPortal(iPortalUrl);
70+
var iPortalMaps=new SuperMap.iPortal(iPortalUrl);
7171
$(document).ready(function () {
7272
//加载完DOM后,开始地图数据查询并添加
73-
iPoortalMaps.load().then(function () {
73+
iPortalMaps.load().then(function () {
7474
queryMaps(queryParams);
7575
});
7676
//为分页列表项绑定事件
@@ -93,7 +93,7 @@ <h4>iPortal QueryMaps使用示例</h4>
9393
});
9494
// 查询iPortal中的地图
9595
function queryMaps(queryParams){
96-
iPoortalMaps.queryMaps(queryParams).then(function (mapsData) {
96+
iPortalMaps.queryMaps(queryParams).then(function (mapsData) {
9797
//返回的结果集,需要查看可打开下行代码
9898
// console.log(mapsData);
9999
$("#mapList").children().remove();

0 commit comments

Comments
 (0)