This repository was archived by the owner on Aug 8, 2023. It is now read-only.
Commit ae76552 1 parent 74b0627 commit ae76552 Copy full SHA for ae76552
File tree 1 file changed +12
-0
lines changed
1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -668,12 +668,24 @@ MGL_EXPORT IB_DESIGNABLE
668
668
Changing the value of this property updates the receiver immediately. If you
669
669
want to animate the change, call `-setVisibleCoordinateBounds:animated:`
670
670
instead.
671
+
672
+ To make the visible bounds go across the antimeridian or international date line,
673
+ specify some longitudes less than −180 degrees or greater than 180 degrees.
674
+
675
+ For example, a visible bounds that stretches from Tokyo to San Francisco would have
676
+ coordinates of (35.68476, -220.24257) and (37.78428, -122.41310).
671
677
*/
672
678
@property (nonatomic ) MGLCoordinateBounds visibleCoordinateBounds;
673
679
674
680
/* *
675
681
Changes the receiver’s viewport to fit the given coordinate bounds,
676
682
optionally animating the change.
683
+
684
+ To make the visible bounds go across the antimeridian or international date line,
685
+ specify some longitudes less than −180 degrees or greater than 180 degrees.
686
+
687
+ For example, a visible bounds that stretches from Tokyo to San Francisco would have
688
+ coordinates of (35.68476, -220.24257) and (37.78428, -122.41310).
677
689
678
690
@param bounds The bounds that the viewport will show in its entirety.
679
691
@param animated Specify `YES` to animate the change by smoothly scrolling
You can’t perform that action at this time.
0 commit comments