| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
adds:
map.getMminZoom();
map.setMminZoom(double);
map.getMaxZoom();
map.setMaxZoom(double);
|
|
|
|
| |
also change the default maxZoom to 20 to match -js.
|
| |
|
|\ |
|
| | |
|
| |
| |
| | |
Fixes #3725.
|
| | |
|
| | |
|
| | |
|
| | |
|
|/ |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
This just removes some whitespace that made the implementation of
`pushTurnstileEvent` in `MGLMapboxEvents` look a little strange.
The indentation was right below an early return conditional
(with no braces) so it felt like the right thing to do (for
readability) to clean it up. Choosing and enforcing a consistent style
for conditionals with one line might be a good idea, too, but this
small change does not go there.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
The tilt gesture on both iOS and OS X now respects the content insets. On iOS, in user tracking mode, it additionally respects the user dot’s position if it’s aligned to the top or bottom of the view.
|
|
|
|
|
|
| |
Entering user tracking mode at launch now zooms in and shows the user dot or user puck. The user dot’s heading indicator now points in the correct direction during the animation to the initial location. Course changes are reflected immediately even in the absence of location changes.
Fixes #1145.
|
|
|
|
|
|
| |
Broke out -locationManager:didUpdateLocations:animated: into multiple self-contained methods, simplifying the logic considerably.
Eliminated a jump after device rotation in non-centered tracking mode.
|
|
|
|
| |
When a targetCoordinate is specified in course tracking mode, the map automatically resizes the viewport to show both the user puck and the target, one at the top and the other at the bottom. The user puck now rotates its arrow in the course direction, no longer assuming that the viewport is facing the same way as the course.
|
|
|
|
| |
Also fixed top- and bottom-aligned user dot center points to account for the content inset’s offset within the map view bounds.
|
|
|
|
|
|
|
|
| |
Account for the user dot’s alignment when flying to the initial user location. Previously, during incremental location updates, we relied on a hack in which the edge insets resulted in a 0×0 viewport, forcing the center upward or downward. But flyTo() relies on the viewport’s size to control the trajectory. So instead, all location updates now use a correctly-sized viewport centered on the offset user dot.
Pushed the user dot farther away from the view edges.
Programmatic rotation and compass rotation are now centered on the user dot even if it’s aligned at the top or bottom. Previously, pressing the compass would trigger a rotation centered on the center of the view.
|
|
|
|
|
|
|
|
|
|
| |
Setting the user tracking mode without animation now works. Previously, it kept the user dot from ever updating.
Just as a zoom gesture no longer kicks the user out of user tracking mode, programmatically zooming shouldn’t either.
Setting a camera with an invalid center coordinate no longer attempts to change the center coordinate but still changes any other valid properties.
Made animation to new user dot vertical alignment optional.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
Apps with `whenInUse` location permission will show a blue status bar
when they continue to use location services after leaving the
foreground. This is worrying and to be avoided, so let's disable telemetry
location services in this situation.
Fixes #2945
|
|
|
|
| |
Use mbgl::Duration and mbgl::{,Milli}Seconds whenever possible.
|
|
|
|
| |
https://github.com/mapbox/mapbox-gl-native/issues/3159#issuecomment-174422048
|
| |
|
|
|
|
| |
Fixes #3300.
|
|
|
|
|
|
| |
Settings.bundle is no longer a requirement to get started.
[skipci]
|
|
|
|
| |
This allows the FileSource interface itself to support revalidation. We could (and probably should) now rewrite HTTPContextBase implementations as FileSource implementations.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
port https://github.com/mapbox/mapbox-gl-js/pull/1981
|
|
|
|
| |
Manually rotating the map in heading or course tracking mode now kicks the user back into location tracking mode.
|
|
|
|
| |
Programmatic modification of the viewport should kick the user out of user tracking mode.
|
| |
|
|
|
|
| |
The API index page serves a different purpose than the readme. It doesn’t need installation instructions, but it does need a brief What’s New section.
|
|
|
|
| |
Split API documentation generation into a separate make target that can be run independently of building the SDK.
|
|
|
|
| |
CocoaPods dings this pod for not having a separate changelog.
|
|
|
|
| |
Omit setup instructions for package formats not included in the build output.
|
|
|
|
| |
The build output’s readme now explains in full detail the installation process, rather than linking to an online resource that may not match the current version. Also cleaned up the tag-finding code to better handle double-digit situations.
|
| |
|