并非所有mapbox.com的服务在中国提供
iOS 地图 SDK
并非所有mapbox.com的服务在中国提供
Gesture | Description | Related property |
---|---|---|
Pinch | Zooms in or out on the map's anchor point | zoomEnabled MGLMapView(py)zoomEnabled) |
Rotation | Changes the MGLMapView direction based on the user rotating two fingers in a circular motion | rotateEnabled MGLMapView(py)rotateEnabled) |
Single tap | Selects/deselects the annotation that you tap. | |
Double tap | Zooms in on the map's anchor point | zoomEnabled MGLMapView(py)zoomEnabled) |
Two-finger tap | Zooms out with the map's anchor point centered | zoomEnabled MGLMapView(py)zoomEnabled) |
Pan | Scrolls across mapView (note: if MGLUserTrackingModeFollow is being used, it will be disabled once the user pans) | scrollEnabled MGLMapView(py)scrollEnabled) |
Two-finger drag | Adjusts the pitch of the MGLMapView | pitchEnabled MGLMapView(py)pitchEnabled) |
One-finger zoom | Tap twice; on second tap, hold your finger on the map and pan up to zoom in, or down to zoom out | zoomEnabled MGLMapView(py)zoomEnabled) |