public void DefaultCtor() { TestRuntime.AssertXcodeVersion(5, 0, 1); using (var opr = new MKOverlayPathRenderer()) { Assert.Null(opr.Path, "Path"); } }
public void CtorOverlay() { TestRuntime.AssertXcodeVersion(5, 0, 1); var loc = new CLLocationCoordinate2D(40, 70); using (var overlay = MKCircle.Circle(loc, 2000)) using (var opr = new MKOverlayPathRenderer(overlay)) { Assert.Null(opr.Path, "Path"); } }
public void DefaultCtor() { if (!TestRuntime.CheckSystemAndSDKVersion(7, 0)) { Assert.Inconclusive("Requires iOS 7.0"); } using (var opr = new MKOverlayPathRenderer()) { Assert.Null(opr.Path, "Path"); } }
public void CtorOverlay() { if (!TestRuntime.CheckSystemAndSDKVersion(7, 0)) { Assert.Inconclusive("Requires iOS 7.0"); } var loc = new CLLocationCoordinate2D(40, 70); using (var overlay = MKCircle.Circle(loc, 2000)) using (var opr = new MKOverlayPathRenderer(overlay)) { Assert.Null(opr.Path, "Path"); } }