You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Now I want to reset the marker popup focus flag to false when the user clicks on the popup close button. Right now when the user clicks on popup close button it won't disable the focus flag.
The text was updated successfully, but these errors were encountered:
I have following function to set the marker popup focus to true when user click on the marker.
$scope.$on('leafletDirectiveMarker.click', function (event, args) {
_.map($scope.markers, function (marker, i) {
$scope.markers[i].focus = false;
});
$scope.markers['m' + args.model.value.id].focus = true;
createTemplateForPopup(args.model.value);
});
Now I want to reset the marker popup focus flag to false when the user clicks on the popup close button. Right now when the user clicks on popup close button it won't disable the focus flag.
The text was updated successfully, but these errors were encountered: