Merge pull request #1498 from friedbunny/1497-feedback-url
Add long/lat/zoom to feedback URL
This commit is contained in:
@@ -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]];
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user