Map: moved point at which hideLoading occurs to avoid potential bug.

This commit is contained in:
Chris Hanson 2011-05-17 17:06:54 -05:00
parent bba52ddee1
commit 75c86a68f5

View file

@ -133,6 +133,8 @@ WebGUI.Map.editPoint
} );
divButton.appendChild( deleteButton );
}
WebGUI.Map.hideLoading();
marker.bindInfoWindow( infoWin );
if( point.isGeocoded == 1 ) {
//Move the marker to the right location
@ -147,8 +149,6 @@ WebGUI.Map.editPoint
WebGUI.Map.setPointLocation( marker, latlng );
} );
}
WebGUI.Map.hideLoading();
WebGUI.Map.markers[map.assetId][marker.assetId] = marker;
WebGUI.Map.updateSelectPoint( map );
}