| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
For consistency with each other and with their product name and module name, the iOS and macOS map SDKs now have a bundle identifier of com.mapbox.Mapbox, whether in the form of a static or dynamic framework. The logging subsystem identifier has also been changed to match.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* [ios, macos] Update the logging subsystem to platform agnostic.
* [ios, macos] Add coordinate to string function.
* [ios, macos] Add BOOL to string function.
* [ios, macos] Add tracing logs.
* [ios, macos] Add tracing logs to generated style classes.
* [ios, macos] Split logging categories accordingly to MGLLoggingLevel.
* [ios, macos] Log network requests.
* [ios, macos] Migrate NSAssert to MGLAssert.
* [ios, macos] Include MGLLoggingConfiguration to filesource-files.txt.
* [ios, macos] Fix logger string specifier for the line parameter.
* [ios, macos] Add logs to shapes classes.
* [ios, macos] Add logs to offline classes.
* [ios, macos] Add logs to annotation classes.
* [ios, macos] Add logs to foundation classes.
* [ios, macos] Fix snapshotter size logging.
* [macos] Add logs to map view.
* [ios, macos] Fix string from boolean prefix, add custom function for NSCAssert.
* Log size test
* [ios, macos] Add logging conditional compilation flag.
* [ios, macos] Rename function NSStringFromMGLTransition to MGLStringFromMGLTransition.
* [ios, macos] Remove verbose logging for release builds.
* [ios, macos] Rename NSStringFromCLLocationCoordinate2D to MGLStringFromCLLocationCoordinate2D.
* [ios, macos] Clean unnecesary blank lines in MGLLight.mm set methods.
* [ios, macos] Fix logging grammar, format, function names.
* [ios, macos] Remove compilation flag, rename flags.
|
|
|
|
|
|
| |
* [ios] move creation of attributed string to global queue]
* [ios] check if on main queue
|
| |
|
| |
|
|
|
|
| |
Renamed the method for prewarming the ambient cache to conform to Cocoa and Swift naming conventions.
|
|
|
|
| |
A leftover from https://github.com/mapbox/mapbox-gl-native/pull/13221
|
| |
|
| |
|
| |
|
|
|
|
| |
Equate the nullary and unary forms of vararg-style aftermarket expression functions when converting to JSON objects.
|
| |
|
| |
|
|
|
|
|
|
| |
* MGLMapView <-> MGLMapViewDelegate
* MGLCalloutView <-> MGLCalloutViewDelegate
* MGLLocationManager <-> MGLLocationManagerDelegate
|
| |
|
|
|
|
| |
radians
|
|
|
|
|
| |
Testing must-revalidate: true required an expiration date in the future, which exposed a round-tripping problem from translating NSDate to time_point based on now().
Use epoch of 1970 instead (although technically it's not guaranteed to be the epoch for system_clock until C++20)
|
|
|
|
| |
Useful for pre-warming the ambient cache
|
|
|
|
| |
Add support for `MGL_FUNCTION('format', <text>, <options dictionary>)`
|
|
|
|
| |
Rewrote the code that calculates the heading and pitch of the camera when given an eye coordinate.
|
|
|
|
| |
Co-authored-by: Dave Prukop <dave.prukop@mapbox.com>
|
|
|
|
| |
+[MGLMapCamera cameraLookingAtCenterCoordinate:fromDistance:pitch:heading:] incorrectly treated the distance as an altitude. Due to backwards compatibility concerns, this method can’t be fixed in place. Instead, separate +[MGLMapCamera cameraLookingAtCenterCoordinate:correctlyFromDistance:pitch:heading:] and +[MGLMapCamera cameraLookingAtCenterCoordinate:altitude:pitch:heading:] methods have been added.
|
|
|
|
|
|
| |
* Moved MGLAltitudeForZoomLevel and MGLZoomLevelForAltitude to public API
* Added notes to changelogs for ios and macos
|
|
|
|
|
|
|
|
| |
* [ios, macos] Add crossSourceCollissions property.
* [ios, macos] Add perSourceCollisions property.
* [ios, macos] Update changelogs.
|
|
|
|
| |
lagging) (#12895)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* [ios, macos] Add offline regions merge.
* [ios, macos] Update changelogs.
* [ios, macos] Fix refreshing the offline packs after new content is added.
* [ios, macos] Update MGLOfflineStorage's add contents of file documentation.
* [ios, macos] Add MGLOfflineStorage test cases for adding file contents.
* [ios, macos] Add offline merge test database.
* [ios, macos] Add packs parameter to MGLBatchedOfflinePackAdditionCompletionHandler.
* [core] Fix a query mege duplication.
* [ios, macos] Remove unnecessary pack iteration.
* [ios, macos] Fix packs update KVO notifications.
* [ios, macos] Add localization strings.
* [core] Fix query readability.
* [ios, macos] Fix MGLOfflineStorageTest, cleanup the cache database after the test.
* [ios, macos] Fix offline packs, updating triggers a crash.
|
|
|
|
| |
The IBDesignablesAgent helper process has been renamed to IBAgent as of the Xcode 10 GM seed, so cast an even wider net when trying to detect it.
|
| |
|
|
|
|
| |
snapshot hasn't finished. (#12355)
|
|
|
|
| |
expressions in `*-pattern` properties
|
|
|
|
|
|
|
|
| |
Porting of https://github.com/mapbox/mapbox-gl-js/pull/6303
See the link above for the description of the feature and
its limitations).
Based on patch from @lbud (Lauren Budorick).
|
|
|
|
|
| |
Exposes access to
https://www.mapbox.com/mapbox-gl-js/style-spec/#sources-geojson-lineMetrics
|
|
|
|
|
|
|
|
|
|
| |
Move warning from ShapeCollection to ShapeSource
Try checking MGLComputedShapeSources
Include MGLShapeCollection header
Add changelog entry
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
* Add fallbacks for name fields
* Add a fallback for `name_zh-Hant`
* Update changelog
|
| |
|
|
|
|
| |
FOUNDATION_EXTERN is an alias for extern in most cases, but also covers us in the event that a method could be mismangled by the compiler as C++ (when we want C-style mangling, for Obj-C compatibility).
|
|
|
|
| |
`UIScreen.nativeScale` is available beginning in iOS 8, so the conditional is no longer necessary.
|
| |
|
|
|
|
| |
`MGLMapPointForCoordinate()` was `extern`-defined in a C header, but implemented in an Obj-C++ source file and mangled as a C++ symbol. `FOUNDATION_EXTERN` is C++-aware and will force C-style symbol mangling, which fixes the undefined symbol issue in consumer Obj-C projects.
|
| |
|
|
|
|
|
|
| |
* [ios] The new location manager API provides two new protocols MGLLocationManager and MGLLocationManagerDelegate to handle the location cycle and updates respectively. This enables developers to chose the appropriate location provider according to their needs, or transition between outdoors/indoors location updates.
It does provide a default implementation based on CLLocationManager.
|
|
|
|
| |
Removes mgl_expressionByReplacingTokensWithKeyPaths and associated code. Converting on output is no longer necessary: from the prior commit, core converts token strings to expressions at parse time; all that's necessary is to ensure that the runtime styling API does so as well.
|