| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
With _location no longer initialized to an invalid coordinate, trying to
access `_location.coordinate` when `_location == nil` will return `0,
0`, which is a valid coordinate.
|
|
|
|
| |
No need to explicitly initialize to `nil`.
|
|
|
| |
The documentation for the `location` property states that "This property contains `nil` if the map view is not currently showing the user location or if the user’s location has not yet been determined." The iOS SDK presently returns a garbage value, which has some rather annoying consequences when the value should logically be nullable. This change should rectify the issue.
|
| |
|
|
|
|
|
|
| |
* [ios] Change function:angleBetweenPoints return type
* [ios] Update changelog
|
|
|
|
|
|
|
|
| |
fingers (#9571)
* [ios] Make tilt gesture recognizer recognizable only with two horizontal fingers
* [ios] Make tilt gesture recognizer tolerance degree less restrictive
|
|
|
|
|
| |
- Bail from quick zoom if new zoom is same as old zoom
- Allow pinch gesture at minZoom to still move the map
|
| |
|
|
|
|
| |
This was a faux framework once required by Fabric.
|
| |
|
| |
|
|
|
|
| |
Updated French localization on iOS and macOS and added French localization on Android.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Reapplied 76a2a2db28ce70d06b64b747cfc59ed493eefc67, which was partially rolled back in f6e79d70735361438655f279c8699a786d25458c.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
At zoom levels where the minimum 1 meter or 4 feet would be wider than the scale bar’s maximum width, the local variable holding the preferred row was left undefined. A loop that later iterated based on this row would effectively iterate infinitely until memory pressure forces the system to quit the application.
|
| |
|
|
|
|
| |
Also corrected the version number in the macOS changelog.
|
| |
|
| |
|
|
|
|
|
|
| |
MGLMapView consults MGLMapViewDelegate about whether to zoom the map in response to a pinch gesture, but it should also account for the delegate’s response when panning the map due to the pinch’s center point wandering.
Fixes #9168.
|
|
|
|
|
|
| |
* [ios, macos] Make structs boxable
* [ios, macos] Update changelogs.
|
|
|
|
|
|
|
|
|
|
| |
* 7910: cancel tracking if ongoing animation is stopped manually
* 7910 updating change log
* [ios] Fix map camera animation when a significant change occurs
* [ios] Update cancel tracking documentation.
|
| |
|
| |
|
| |
|
| |
|
|
|
| |
Addresses https://github.com/mapbox/mapbox-gl-native/issues/8635
|
|
|
|
|
|
|
| |
This commit adds `rotatesWithMap` property on `MGLAnnotationView`. This
property, when set to `YES` fixes the annotation to a map such that view
follows map's rotation angle. This is useful when user wants to display
rotation-dependent annotations (e.g. sector lights).
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* [ios, macos] Updated feedback URL
* [ios, macos] Add referrer, heading, pitch to feedback URL
* [ios, macos] Updated changelogs for feedback changes
* [ios] Vary referrer by platform
|
| |
|
| |
|
| |
|
|
|
|
| |
Use a common init function in both of the provided initializers so that subclasses of `MGLAnnotationView` written in Swift don't need to override `init(annotation, reuseIdentifier)`
|
| |
|
|
|
|
| |
Reorganized the changelogs with a new packaging section. Added blurbs about #9062, #8713, #9060, and #9031.
|
| |
|
|
|
|
|
| |
Fixes an issue where localizations could not be found when using static builds.
Throws exception if our bundle can't be found.
|
|
|
|
|
|
| |
Added Arabic, Portuguese, and Simplified Chinese to the list of languages with specialized fields in the Mapbox Streets source.
Rely on NSBundle to select the most appropriate locale based on the user’s preferred languages.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* [ios] MGLMultiPolygon's coordinate property implemented
* [ios,macos] Add polylabalel to project config
* [ios,macos] Change coordinate property for MGLPolyline,MGLPolygon,MGLMultiPolygon
* [macos] Change project configuration to support polilabel
* [ios,macos] Add MGLLocationCoordinate2DFromPoint
* [ios, macos] Update changelogs
* [ios, macos] remove unnecesary variables
* [ios, macos] Add radians conversions
* [ios, macos] Add coordinate calc to MGLPolyline
* [ios, macos] Move radian fuctions to MGLGeometry_Private.h
* [ios, macos] Fix code style
* [ios, macos] Fix code indentation
* [ios, macos] Fix radian per meters constant
* [ios, macos] Add test scenarios to testPolyline
* [ios, macos] Fix test accuracy
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* [ios, macos] Add MGLLight to MGLStyle
* [ios, macos] Implement Objc bindings for Light object
* [ios, macos] Remove rawLight from MGLLight and re-implement it as value class
* [ios, macos] Fix build on macos
* [ios, macos] Add MGLLight documentation, Move MGLLightPosition to MGLLight
* [ios, macos] Add MGLLight tests.
* [ios, macos] Update changelogs
* [ios, macos] Fix misspelling
* [ios, macos] Fix MGLLightAnchor enum property names
* [ios, macos] Update documentation. Improve varialble naming.
* [ios, macos] Rename MGLLightPosition to MGLSphericalPosition
* [ios, macos] Update data types of MGLSphericalPosition
|
| |
|
|
|
|
| |
Cherry-picked from db7bb509e95d737199efa73a47bdcc973966ed97.
|