diff --git a/400-SOURCECODE/AIAHTML5.Web/app/controllers/TileViewListController.js b/400-SOURCECODE/AIAHTML5.Web/app/controllers/TileViewListController.js index f537d30..4b02214 100644 --- a/400-SOURCECODE/AIAHTML5.Web/app/controllers/TileViewListController.js +++ b/400-SOURCECODE/AIAHTML5.Web/app/controllers/TileViewListController.js @@ -885,7 +885,7 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo $scope.drawStaticPinsOnImage = function (canvasId, PinId, offsetX1, offsetY1, x, y) { - + $scope.clickedPins = []; var radial = $('#' + canvasId).createGradient({ x1: 50, y1: 50, x2: 50, y2: 50, @@ -1165,6 +1165,22 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo .where('_PinId != ' + value.id) .select(); }) + angular.forEach($scope.clickedPins, function (value1, key1) { + + // if (aaPinDataValue._PinId != value.id) { + var pinName = 'Pin_' + value1.id; + var pinArcName = 'PinArc_' + value1.id; + + $('#aaDetailViewCanvas').setLayer(pinName, { + visible: true // set to true instead to show the layer again + }).drawLayers(); + + $('#aaDetailViewCanvas').setLayer(pinArcName, { + visible: true // set to true instead to show the layer again + }).drawLayers(); + // } + }) + angular.forEach(seletedSystemPinData, function (aaPinDataValue, aaPinDataKey) { // if (aaPinDataValue._PinId != value.id) { @@ -1182,7 +1198,7 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo }) // }) - $scope.clickedPins = []; + // $scope.clickedPins = []; } else {