public MapControlManager(MKMapView mapViewControl , UIViewController controller , UIButton focusOnSeekiosButton , UIButton focusOnZoneButton , UIButton changeMapTypeButton , UIButton zoomInButton , UIButton zoomOutButton , UIButton editZoneButton , UIButton undoButton , UIButton nextButton , string idSeekios) : this(mapViewControl , controller , focusOnSeekiosButton , changeMapTypeButton , zoomInButton , zoomOutButton , idSeekios) { _focusOnZoneButton = focusOnZoneButton; //_editZoneButton = editZoneButton; _undoButton = undoButton; _nextButton = nextButton; _recognizer = new UILongPressGestureRecognizer(AddPointToZone); MapViewControl.AddGestureRecognizer(_recognizer); _recognizer.MinimumPressDuration = 0.08; try { //SetShadows(_editZoneButton); SetShadows(_undoButton); SetShadows(_focusOnZoneButton); } catch (Exception) { } PointsOfZone = new List <MKAnnotation>(); UndoActions = new ObservableCollection <Action>(); }