From 910639168aaad8f06749c5be184ae50dbe9d566b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Minh=20Nguye=CC=82=CC=83n?= Date: Sun, 28 Apr 2019 17:23:23 -0700 Subject: [ios, macos] Added circle geometry Added an MGLCircle class that generates a many-sided polygon under the hood. --- platform/ios/test/MGLMapViewDelegateIntegrationTests.swift | 2 ++ 1 file changed, 2 insertions(+) (limited to 'platform/ios/test/MGLMapViewDelegateIntegrationTests.swift') 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 } -- cgit v1.2.1