Add iOS example for constraining map to certain area (#2392)

This commit is contained in:
Bart Louwers
2024-05-13 15:44:30 +02:00
committed by GitHub
parent 29ccd3f726
commit 8e479eea96
7 changed files with 136 additions and 2 deletions

View File

@@ -44,8 +44,7 @@ NS_ASSUME_NONNULL_BEGIN
`oldCamera` or change to `newCamera`.
#### Related examples
TODO: Restrict map panning to an area, learn how to use this method
and `MLNMapCamera` objects to restrict a users ability to pan your map.
- <doc:BlockingGesturesExample>
*/
- (BOOL)mapView:(MLNMapView *)mapView shouldChangeFromCamera:(MLNMapCamera *)oldCamera toCamera:(MLNMapCamera *)newCamera;