summaryrefslogtreecommitdiff
path: root/platform/ios/test/MGLMapViewDelegateIntegrationTests.swift
diff options
context:
space:
mode:
authorMinh Nguyễn <mxn@1ec5.org>2019-04-28 17:23:23 -0700
committerMinh Nguyễn <mxn@1ec5.org>2019-05-07 22:04:48 -0700
commit910639168aaad8f06749c5be184ae50dbe9d566b (patch)
tree9bd1642efe2c9ed65b51a8a317602975b7c5c73f /platform/ios/test/MGLMapViewDelegateIntegrationTests.swift
parent84a11ba4e5a6c64edd63b81d606e2ae57862c798 (diff)
downloadqtlocation-mapboxgl-upstream/1ec5-circle-2167.tar.gz
[ios, macos] Added circle geometryupstream/1ec5-circle-2167
Added an MGLCircle class that generates a many-sided polygon under the hood.
Diffstat (limited to 'platform/ios/test/MGLMapViewDelegateIntegrationTests.swift')
-rw-r--r--platform/ios/test/MGLMapViewDelegateIntegrationTests.swift2
1 files changed, 2 insertions, 0 deletions
diff --git a/platform/ios/test/MGLMapViewDelegateIntegrationTests.swift b/platform/ios/test/MGLMapViewDelegateIntegrationTests.swift
index 1330281faa..e117298d5a 100644
--- a/platform/ios/test/MGLMapViewDelegateIntegrationTests.swift
+++ b/platform/ios/test/MGLMapViewDelegateIntegrationTests.swift
@@ -82,6 +82,8 @@ extension MGLMapViewDelegateIntegrationTests: MGLMapViewDelegate {
func mapView(_ mapView: MGLMapView, strokeColorForShapeAnnotation annotation: MGLShape) -> UIColor { return .black }
func mapView(_ mapView: MGLMapView, fillColorForPolygonAnnotation annotation: MGLPolygon) -> UIColor { return .black }
+
+ func mapView(_ mapView: MGLMapView, fillColorFor shape: MGLShape) -> UIColor { return .black }
func mapView(_ mapView: MGLMapView, leftCalloutAccessoryViewFor annotation: MGLAnnotation) -> UIView? { return nil }