For the development of a map on iOS devices, I am utilizing the angular leaflet directive and ionic. I am facing an issue where the popup is not clickable on the iOS simulator, even though it works fine on web browsers.
var html11 =
'<div style="width:660px;" ng-click="goToDetail(clickedMarkerInfo)">'
+ '<div class="tripguide-tootip-row-left" ng-click="goToDetail(clickedMarkerInfo)">'
+ '<div class="tripguide-tootip-image">'
+ '<img ng-src={{clickedMarkerInfo.picture}}>'
+ '</div>'
+ '<div class="tripguide-tootip-rating" ng-show="whetherToShow(clickedMarkerInfo.rating)">'
+ '<img ng-repeat="pic in clickedMarkerInfo.ratingPics track by $index"src="{{pic}}" />'
+ '</div>'
+ '</div>'
+ '<div class="tripguide-tootip-row-right" ng-click="goToDetail(clickedMarkerInfo)">'
+ '<div class="tripguide-tootip-legend">'
+ '<span>{{clickedMarkerInfo.name}}</span>'
+ '</div>'
+ '<div class="tripguide-tootip-address">'
+ '<span>{{clickedMarkerInfo.address}}</span>'
+ '</div>'
+ '</div>'
+ '<div class="tripguide-tooltip-arrow">'
+ '<img src="images/tripguide/tooltip-arrow.png">'
+ '</div>'
+ '</div>';
var marker = {
lat: myLatlng[0],
lng: myLatlng[1],
getMessageScope: function () {
return $scope;
},
message: html11,
compileMessage: true
};
$scope.markersArray.push(marker);
My iOS version is 9.3. Could this issue be related to ionic and iOS compatibility? Your advice on this matter would be greatly appreciated.