summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Rex <julian.rex@mapbox.com>2018-09-25 23:03:30 -0400
committerJulian Rex <julian.rex@mapbox.com>2018-10-06 00:58:40 -0400
commitd653a1faeced6d9e5be6232ff45cb5cf34ef7b62 (patch)
tree8eda1695c8e18befeae0be1919e1a27704761cdc
parent1503156ba70273a5d0591fe21f93e9bd605aa814 (diff)
downloadqtlocation-mapboxgl-d653a1faeced6d9e5be6232ff45cb5cf34ef7b62.tar.gz
Added delegate method to swift test.
-rw-r--r--platform/ios/test/MGLMapViewDelegateIntegrationTests.swift4
1 files changed, 4 insertions, 0 deletions
diff --git a/platform/ios/test/MGLMapViewDelegateIntegrationTests.swift b/platform/ios/test/MGLMapViewDelegateIntegrationTests.swift
index 4904cb185b..9f7b054072 100644
--- a/platform/ios/test/MGLMapViewDelegateIntegrationTests.swift
+++ b/platform/ios/test/MGLMapViewDelegateIntegrationTests.swift
@@ -33,6 +33,10 @@ extension MGLMapViewDelegateIntegrationTests: MGLMapViewDelegate {
func mapView(_ mapView: MGLMapView, didFinishLoading style: MGLStyle) {}
+ func mapView(_ mapView: MGLMapView, shouldMoveOnscreenWhenSelecting annotation: MGLAnnotation) -> Bool {}
+
+ func mapView(_ mapView: MGLMapView, shouldAnimateAnnotationSelection annotation: MGLAnnotation) -> Bool {}
+
func mapView(_ mapView: MGLMapView, didSelect annotation: MGLAnnotation) {}
func mapView(_ mapView: MGLMapView, didDeselect annotation: MGLAnnotation) {}