Commit a9875632e99bdc11a81e0613c5aa031017a57a1a

Authored by Nikita Kulshreshtha
1 parent 15172c38

fixed the issue

400-SOURCECODE/AIAHTML5.Web/app/controllers/TileViewListController.js
... ... @@ -885,7 +885,7 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo
885 885  
886 886  
887 887 $scope.drawStaticPinsOnImage = function (canvasId, PinId, offsetX1, offsetY1, x, y) {
888   -
  888 + $scope.clickedPins = [];
889 889 var radial = $('#' + canvasId).createGradient({
890 890 x1: 50, y1: 50,
891 891 x2: 50, y2: 50,
... ... @@ -1165,6 +1165,22 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo
1165 1165 .where('_PinId != ' + value.id)
1166 1166 .select();
1167 1167 })
  1168 + angular.forEach($scope.clickedPins, function (value1, key1) {
  1169 +
  1170 + // if (aaPinDataValue._PinId != value.id) {
  1171 + var pinName = 'Pin_' + value1.id;
  1172 + var pinArcName = 'PinArc_' + value1.id;
  1173 +
  1174 + $('#aaDetailViewCanvas').setLayer(pinName, {
  1175 + visible: true // set to true instead to show the layer again
  1176 + }).drawLayers();
  1177 +
  1178 + $('#aaDetailViewCanvas').setLayer(pinArcName, {
  1179 + visible: true // set to true instead to show the layer again
  1180 + }).drawLayers();
  1181 + // }
  1182 + })
  1183 +
1168 1184 angular.forEach(seletedSystemPinData, function (aaPinDataValue, aaPinDataKey) {
1169 1185  
1170 1186 // if (aaPinDataValue._PinId != value.id) {
... ... @@ -1182,7 +1198,7 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo
1182 1198 })
1183 1199  
1184 1200 // })
1185   - $scope.clickedPins = [];
  1201 + // $scope.clickedPins = [];
1186 1202 }
1187 1203  
1188 1204 else {
... ...