Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 661e745

Browse files
【example】更新online例子
1 parent 483c3eb commit 661e745

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

‎examples/leaflet/onlineSecurity.html‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,9 +150,9 @@ <h4 data-i18n="resources.title_onlineSecurity"></h4>
150150
serverType: L.supermap.ServerType.ONLINE
151151
}).getMapInfo(function (json) {
152152
if (json.error) {
153-
widgets.alert.showAlert(JSON.stringify(json.error), false);
153+
widgets.alert.showAlert(JSON.stringify(json.error), false,700);
154154
} else {
155-
widgets.alert.showAlert(JSON.stringify(json.result), true);
155+
widgets.alert.showAlert(JSON.stringify(json.result), true,700);
156156
}
157157
});
158158
}

‎examples/openlayers/onlineSecurity.html‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,9 +150,9 @@ <h4 data-i18n="resources.title_onlineSecurity"></h4>
150150
serverType: ol.supermap.ServerType.ONLINE
151151
}).getMapInfo(function (json) {
152152
if (json.error) {
153-
widgets.alert.showAlert(JSON.stringify(json.error), false);
153+
widgets.alert.showAlert(JSON.stringify(json.error), false,700);
154154
} else {
155-
widgets.alert.showAlert(JSON.stringify(json.result), true);
155+
widgets.alert.showAlert(JSON.stringify(json.result), true,700);
156156
}
157157
});
158158
}

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /