We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 132c4da commit 6409029Copy full SHA for 6409029
Shared/Samples/Find closest facility from point/FindClosestFacilityFromPointView.swift
@@ -37,7 +37,7 @@ struct FindClosestFacilityFromPointView: View {
37
MapViewReader { mapViewProxy in
38
MapView(map: model.map, graphicsOverlays: [model.graphicsOverlay])
39
.overlay(alignment: .center) {
40
- if routing {
+ if isRouting {
41
ProgressView("Routing...")
42
.padding()
43
.background(.ultraThickMaterial)
@@ -50,8 +50,8 @@ struct FindClosestFacilityFromPointView: View {
50
Button("Solve Routes") {
51
Task {
52
do {
53
- routing = true
54
- defer { routing = false }
+ isRouting = true
+ defer { isRouting = false }
55
56
try await model.solveRoutes()
57
routingIsDisabled = true
0 commit comments