Skip to content

Commit be2e305

Browse files
优化动画demo,打开态势图后没有切换到指定位置
1 parent 04e676d commit be2e305

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/leaflet/plot_plotGOAnimation.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ <h5 class="panel-title text-center" data-i18n="resources.title_plotGOAnimation"
137137

138138
function loadSmlAndAnimation(){
139139
$.getJSON("../data/ZaoYiHuiZhan_Sml.json",function(sitData){
140-
plotting.getSitDataManager().addSmlData(sitData, true);
140+
plotting.getSitDataManager().openSmlData(sitData, true);
141141

142142
$.getJSON("../data/ZaoYiHuiZhan_Animation.json",function(animationJsonData){
143143
goAnimationManager.fromJSONData(animationJsonData);

0 commit comments

Comments
 (0)