CameraOptions
Plumbed camera options all the way through to MGLMapView. Added a method that lets you specify a direction in addition to center point and zoom level. Added Map::jumpTo() for parity with mapbox-gl-js. Replaced usage of Map::setLatLng() and Map::setLatLngZoom() with Map::jumpTo() or Map::easeTo() within MGLMapView. Replaced MGLMapView.pitch with MGLMapCamera for setting all supported degrees of freedom simultaneously. Simultaneously move and rotate with course. Support customizable timing functions on iOS. iosapp now persists an archived MGLMapCamera instead of separate viewpoint properties and also synchronizes user defaults on termination. This change implements persistence entirely in Objective-C, eliminating the use of the Objective-C++ implementation. Fixes #1643, fixes #1834. Ref #1581.
This commit is contained in:
committed by
Justin R. Miller
parent
584c36f348
commit
0a172a21fd
1
src/mbgl/map/camera.cpp
Normal file
1
src/mbgl/map/camera.cpp
Normal file
@@ -0,0 +1 @@
|
||||
#include <mbgl/map/camera.hpp>
|
||||
Reference in New Issue
Block a user