summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--platform/ios/MGLMapView.mm4
1 files changed, 3 insertions, 1 deletions
diff --git a/platform/ios/MGLMapView.mm b/platform/ios/MGLMapView.mm
index 49ed423468..c1ff904cb7 100644
--- a/platform/ios/MGLMapView.mm
+++ b/platform/ios/MGLMapView.mm
@@ -1281,8 +1281,10 @@ std::chrono::steady_clock::duration secondsAsDuration(float duration)
}
else if (buttonIndex == actionSheet.firstOtherButtonIndex + 2)
{
+ NSString *feedbackURL = [NSString stringWithFormat:@"https://www.mapbox.com/map-feedback/#/%.5f/%.5f/%.1f",
+ self.longitude, self.latitude, self.zoomLevel];
[[UIApplication sharedApplication] openURL:
- [NSURL URLWithString:@"https://www.mapbox.com/map-feedback/"]];
+ [NSURL URLWithString:feedbackURL]];
}
}