@@ -82,6 +82,7 @@ function MapWotViewController($scope, $filter, $templateCache, $interpolate, $ti
8282 } ;
8383
8484 $scope . loading = true ;
85+ $scope . loadingMarker = true ;
8586 $scope . mapId = 'map-wot-' + $scope . $id ;
8687
8788 $scope . map = MapUtils . map ( {
@@ -130,8 +131,6 @@ function MapWotViewController($scope, $filter, $templateCache, $interpolate, $ti
130131
131132 if ( $scope . loading ) {
132133
133- // $translate.get('')
134- //$ionicBackdrop.retain();
135134 UIUtils . loading . show ( {
136135 noBackdrop : true // avoid a too long release
137136 } ) ;
@@ -308,8 +307,9 @@ function MapWotViewController($scope, $filter, $templateCache, $interpolate, $ti
308307
309308 // add bounding box
310309 if ( $scope . map . bounds ) {
311- options . bounds = angular . copy ( $scope . map . bounds ) ;
312- delete options . bounds . options ;
310+ // FIXME - this is not working well
311+ //options.bounds = angular.copy($scope.map.bounds);
312+ //delete options.bounds.options;
313313 }
314314
315315 // Load wot data, from service
@@ -338,15 +338,15 @@ function MapWotViewController($scope, $filter, $templateCache, $interpolate, $ti
338338 lat : hit . geoPoint . lat ,
339339 lng : hit . geoPoint . lon ,
340340 getMessageScope : function ( ) {
341- $scope . loading = true ;
341+ $scope . loadingMarker = true ;
342342 $scope . $applyAsync ( function ( ) {
343343 $scope . formData = {
344344 pubkey : hit . pubkey ,
345345 uid : hit . uid ,
346346 name : hit . name ,
347347 profile : hit
348348 } ;
349- $scope . loading = false ;
349+ $scope . loadingMarker = false ;
350350 } ) ;
351351 return $scope ;
352352 } ,
0 commit comments