Map: moved point at which hideLoading occurs to avoid potential bug.
This commit is contained in:
parent
bba52ddee1
commit
75c86a68f5
1 changed files with 2 additions and 2 deletions
4
www/extras/yui-webgui/build/map/map.js
vendored
4
www/extras/yui-webgui/build/map/map.js
vendored
|
|
@ -133,6 +133,8 @@ WebGUI.Map.editPoint
|
||||||
} );
|
} );
|
||||||
divButton.appendChild( deleteButton );
|
divButton.appendChild( deleteButton );
|
||||||
}
|
}
|
||||||
|
WebGUI.Map.hideLoading();
|
||||||
|
|
||||||
marker.bindInfoWindow( infoWin );
|
marker.bindInfoWindow( infoWin );
|
||||||
if( point.isGeocoded == 1 ) {
|
if( point.isGeocoded == 1 ) {
|
||||||
//Move the marker to the right location
|
//Move the marker to the right location
|
||||||
|
|
@ -147,8 +149,6 @@ WebGUI.Map.editPoint
|
||||||
WebGUI.Map.setPointLocation( marker, latlng );
|
WebGUI.Map.setPointLocation( marker, latlng );
|
||||||
} );
|
} );
|
||||||
}
|
}
|
||||||
WebGUI.Map.hideLoading();
|
|
||||||
|
|
||||||
WebGUI.Map.markers[map.assetId][marker.assetId] = marker;
|
WebGUI.Map.markers[map.assetId][marker.assetId] = marker;
|
||||||
WebGUI.Map.updateSelectPoint( map );
|
WebGUI.Map.updateSelectPoint( map );
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue