diff --git a/400-SOURCECODE/AIAHTML5.Web/app/controllers/TileViewListController.js b/400-SOURCECODE/AIAHTML5.Web/app/controllers/TileViewListController.js
index d75ba6c..4319db0 100644
--- a/400-SOURCECODE/AIAHTML5.Web/app/controllers/TileViewListController.js
+++ b/400-SOURCECODE/AIAHTML5.Web/app/controllers/TileViewListController.js
@@ -1851,7 +1851,43 @@ function onZoom(scope) {
$(document).ready(function () {
+ var $ua = navigator.userAgent;
+ if (($ua.match(/(iPod|iPhone|iPad|android)/i))) {
+ //hide pin button clicked
+ $("#hidePinBtn").removeAttr("onclick");
+ $("#hidePinBtn").on("touchstart", function () {
+ var rootScope = angular.element(document.getElementById("aaDetailPageDiv")).scope();
+ rootScope.$apply(function () {
+ rootScope.hidePins(event);
+ });
+ });
+ //selected pin button clicked
+ $("#selectedPin").removeAttr("onclick");
+ $("#selectedPin").on("touchstart", function () {
+ console.log('showSelectedPins is called')
+ var scope = angular.element(document.getElementById("aaDetailPageDiv")).scope();
+ scope.$apply(function () {
+ scope.showSelectedPins(event);
+ });
+ });
+ //all pin button clicked
+ $("#allPinBtn").removeAttr("onclick");
+ $("#allPinBtn").on("touchstart", function () {
+ var scope = angular.element(document.getElementById("aaDetailPageDiv")).scope();
+ scope.$apply(function () {
+ scope.showAllPinsAfterHide(event);
+ });
+ });
+ //comment-box button clicked
+ $("#comment-box").removeAttr("onclick");
+ $("#comment-box").on("touchstart", function () {
+ var scope = angular.element(document.getElementById("aaDetailPageDiv")).scope();
+ scope.$apply(function () {
+ scope.ShowHideAnnotation(event);
+ });
+ });
+ }
$(".slider").slider({
min: 25,
max: 100,