Commit 6ad25e0b6e16be3d41985a2154739b2adbd503d6

Authored by unknown
1 parent c819cd19

Commit Changes

400-SOURCECODE/AIAHTML5.Web/app/controllers/TileViewListController.js
@@ -2041,6 +2041,9 @@ function ($scope, $window, $rootScope, $compile, $http, $log, $location, $timeou @@ -2041,6 +2041,9 @@ function ($scope, $window, $rootScope, $compile, $http, $log, $location, $timeou
2041 console.log(pinDataForTerm[0]._PinId); 2041 console.log(pinDataForTerm[0]._PinId);
2042 $scope.clickedPins = []; 2042 $scope.clickedPins = [];
2043 $scope.clickedPins.push({ 'id': pinDataForTerm[0]._PinId }); 2043 $scope.clickedPins.push({ 'id': pinDataForTerm[0]._PinId });
  2044 + $scope.activePinArray = [];
  2045 + var pinID = "PinArc_" + pinDataForTerm[0]._PinId;
  2046 + $scope.activePinArray.push({ 'id': pinID });
2044 $scope.showAnnotation(pinDataForTerm, false, false, true); 2047 $scope.showAnnotation(pinDataForTerm, false, false, true);
2045 // maintaing scroll position on selection of options in list manager. 2048 // maintaing scroll position on selection of options in list manager.
2046 var annotationTopPos = $(".common-drag").css("top").split("p"); 2049 var annotationTopPos = $(".common-drag").css("top").split("p");
@@ -2088,7 +2091,7 @@ function ($scope, $window, $rootScope, $compile, $http, $log, $location, $timeou @@ -2088,7 +2091,7 @@ function ($scope, $window, $rootScope, $compile, $http, $log, $location, $timeou
2088 } 2091 }
2089 } 2092 }
2090 $scope.activePinOnLayerChange = function () { 2093 $scope.activePinOnLayerChange = function () {
2091 - 2094 +
2092 for (var i = 0; i <= $scope.activePinArray.length - 1; i++) { 2095 for (var i = 0; i <= $scope.activePinArray.length - 1; i++) {
2093 var radialAfterClick = $('#aaDetailViewCanvas').createGradient({ 2096 var radialAfterClick = $('#aaDetailViewCanvas').createGradient({
2094 x1: 50, y1: 50, 2097 x1: 50, y1: 50,
@@ -2113,7 +2116,7 @@ function ($scope, $window, $rootScope, $compile, $http, $log, $location, $timeou @@ -2113,7 +2116,7 @@ function ($scope, $window, $rootScope, $compile, $http, $log, $location, $timeou
2113 }); 2116 });
2114 2117
2115 $scope.activePinOnSliderChange = function () { 2118 $scope.activePinOnSliderChange = function () {
2116 - 2119 +
2117 if ($scope.activePinArray.length == 1) { 2120 if ($scope.activePinArray.length == 1) {
2118 for (var i = 0; i <= $scope.allPinDataArray.length - 1; i++) { 2121 for (var i = 0; i <= $scope.allPinDataArray.length - 1; i++) {
2119 var activeArc = $scope.activePinArray[0].split("_"); 2122 var activeArc = $scope.activePinArray[0].split("_");