| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
| |
* [ios, macos] Make minimumZoomLevel and maximumZoomLevel IBInspectable.
* [ios, macos] Update changelogs.
|
|
|
|
|
|
| |
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.
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.
|
| |
|
|
|
|
| |
Updating CLLocationManager.headingOrientation triggers a new heading update, even if there was no actual change in its value.
|
|
|
|
|
|
|
|
|
|
| |
(#9784)
* [ios, macos] Fix querying features returning nil when features available.
* [ios, macos] Copyedited changelogs
Also, macOS SDK v0.5.1 has yet to be released, because none of the changes that went into iOS SDK v3.6.1 were relevant to macOS.
|
|
|
|
| |
Accuracy was off by +25%, depending on latitude.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* [ios] Update label localization
* [ios, macos] Move MGLVectorSource+MBXAdditions.h to darwin.
* [ios, macos] Adapt Mapbox Streets to the user preferred language.
* [ios, macos] Clarify style localization documentation.
* [ios, macos] Update localization examples
* [ios, macos] Add style language reset to original.
* [ios, macos] Update changelogs.
* [ios, macos] Rename Vector Source Additions to MGL standard.
* [ios, macos] Add suport for stop localization.
|
|
|
|
|
|
| |
* [ios] Change function:angleBetweenPoints return type
* [ios] Update changelog
|
|
|
|
|
| |
- Bail from quick zoom if new zoom is same as old zoom
- Allow pinch gesture at minZoom to still move the map
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* [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
|
| |
|
|
|
|
| |
Cherry-picked from db7bb509e95d737199efa73a47bdcc973966ed97.
|
|
|
|
| |
Cherry-picked from 25c19902a22e240da4e7ebf1974125b7e67bd21e.
|
|
|
|
| |
The annotation container view keeps an array of annotation views that is separate from the array of subviews that is a property of the UIView parent class. This removes an annotation view from that container view array when the associated annotation is removed. This avoids issue related to previously removed annotation views continuing to be involved in map view logic around annotation view selection due to taps.
|
| |
|
|
|
|
|
|
| |
* [ios] observe layout guides
* [ios] update changelog
|
|
|
|
|
|
|
|
| |
The Styles API section of the Mapbox API Documentation site now lists Traffic Day v2 and Traffic Night v2, so this change adds those styles to all the places where styles are listed.
Also switched iosapp and macosapp to unversioned style factory methods since MGLStyleDefaultVersion is no longer applicable for all styles.
Cherry-picked from 4d6f54553d277c0af24a0b8ff03d2dd7e9284ca2.
|
|
|
|
|
|
|
|
| |
Undeprecated the unversioned style URL factory methods in MGLStyle for consistency with the Android and Qt SDKs. Added warnings about using them with the runtime styling API.
Refactored mbgl::util::default_styles to track different versions for different styles.
Cherry-picked from 9e384b78fbcf46d66d390122eefdf273f91b314e.
|
|
|
|
|
|
| |
Upgraded from v9 default styles to v10 wherever the developer expects to get the latest and greatest, as well as in a couple tests where it may be beneficial to ensure that we can handle a two-digit version number in the style URL.
Cherry-picked from ed54849e9909e7f7cd8724b39b2bc94f16cf9a11.
|
|
|
|
| |
Updated and reorganized changelogs.
|
| |
|
| |
|
|
|
|
|
|
| |
* [ios, macos] Updated logo view to new Mapbox logo
* [default] Updated attribution logo SVG
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* [ios] added a scale bar
* [ios] update design
* [ios] show/hide scale bar
* [ios] Remove the need to localize 0
* [ios] Support for imperial units
* [ios] Round to nearest foot
* [ios] Make scale bar private
* [ios] Update design and clean up
* [ios] Rename and various optimizations
* [ios] RTL support
* [ios] added max scale and removed animations
* [ios] animate scale bar
|
| |
|
| |
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
boundsj-merge-release-branch
# Conflicts:
# cmake/core-files.cmake
# mapbox-gl-js
# platform/android/CHANGELOG.md
# platform/ios/CHANGELOG.md
# platform/macos/CHANGELOG.md
# platform/qt/bitrise-qt5.yml
# src/mbgl/gl/attribute.hpp
# src/mbgl/gl/context.cpp
# src/mbgl/gl/program.hpp
# src/mbgl/map/map.cpp
# src/mbgl/programs/program.hpp
# src/mbgl/renderer/painter.cpp
|
| | |
|
| |
| |
| |
| | |
MGLAnnotationTagNotFound (#8686)
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* [ios, macos] Rename Data-driven styling guide
This turns the Data-driven styling guide into a guide for working with
style functions. This helps clarify that not all style functions are
DDS specific but keeps the discussion of this related functionality in
the same guide.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
`- (nullable UIView <MGLCalloutView> *)mapView:(MGLMapView *)mapView
calloutViewForAnnotation:(id <MGLAnnotation>)annotation;` bridges
with a `UIView?` return type in Swift. This changes replaces the
`UIView` type in the method signature so that, when bridged to Swift,
the returned object is defined as `MGLCalloutView?`.
|
| | |
|