diff --git a/www/extras/yui-webgui/build/map/map.js b/www/extras/yui-webgui/build/map/map.js index 5660cd2fb..9cfbdefaa 100644 --- a/www/extras/yui-webgui/build/map/map.js +++ b/www/extras/yui-webgui/build/map/map.js @@ -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 ); }