summaryrefslogtreecommitdiff
path: root/platform/ios/app
Commit message (Collapse)AuthorAgeFilesLines
* [android, iOS, macOS] Adding Galician translation from Transifex (#14095)Langston Smith2019-03-132-0/+0
| | | | | | | | | | | | * [android] adding galician strings * [ios] adding galician strings * [ios, macos] Added Galician localization to Xcode projects * [ios, macos] Converted Galician localization to UTF-8 * [android, ios, macos] Updated changelogs
* [iOS] Enable developers to change position of ornaments (#13911)Lloyd Sheng2019-03-113-1/+109
| | | | | | | * APIs for change position of ornaments * Use anchors APIs and emove iOS8 layout code * Add ornaments layout tests
* [ios] Fix string-bool casting warning in MBXOfflinePacksTableViewControllerJason Wray2019-02-141-2/+2
|
* [ios] Reverts "Enable customize positions of mapview ornaments (#13556)" ↵Julian Rex2019-02-053-108/+1
| | | | | (#13870) This reverts commit e22d28c285c1543ebbf75d205f0129e74b0fbb8a.
* [ios] Enable customize positions of mapview ornaments (#13556)Lloyd Sheng2019-01-303-1/+108
| | | | | | | | | * APIs for customize positions of ornaments * Adopt anchors layout * Remove iOS8 layout code
* [ios, macos] Add Czech and Hungarian translations. (#13782)Fabian Guerra Soto2019-01-232-0/+3
| | | | Added Czech translations.
* [ios] Display map on connected displaysupstream/az-perf-eventMinh Nguyễn2019-01-141-0/+36
| | | | Whenever an external display is connected, show a map synchronized with the main map on the main display.
* [all] - update licenses to 2019tobrun2019-01-041-1/+1
|
* [ios, macos] Add "includesIdeographicGlyphs" option to MGLOfflineRegion.Chris Loer2018-12-211-0/+2
|
* [ios, macos] Update for streets-v8 data and coalesced name fields in v11 stylesJason Wray2018-12-071-5/+4
|
* [ios] Reorganize iosapp debug settingsJason Wray2018-11-271-47/+51
|
* [ios] Add frame duration graph view to iosappJason Wray2018-11-274-9/+192
|
* [ios] Added teardown of core objects when receiving ↵Julian Rex2018-11-201-1/+1
| | | | UIApplicationWillTerminateNotification (#13367)
* [darwin] Rename variables to avoid shadow declarationsJason Wray2018-11-202-13/+13
| | | | Per GCC_WARN_SHADOW.
* [ios, macos] Logging. (#13235)Fabian Guerra Soto2018-11-141-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * [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.
* Add a custom logging for the Mapbox Maps SDK for iOS.Fabian Guerra2018-10-261-0/+1
|
* [ios, macos] Updated world tour locationsMinh Nguyễn2018-10-081-4/+5
|
* [ios, macos] Add Italian settings translations. (#12908)Fabian Guerra Soto2018-10-021-0/+0
| | | | | | * [ios, macos] Update transifex Root directory. * [ios] Update Settings.bundle italian translation.
* [ios, macos] Distinguish between viewing distance and altitudeMinh Nguyễn2018-10-011-2/+2
| | | | +[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.
* [ios] Remove Settings target; move Settings.bundle to iosappNadia Barbosa2018-09-1925-0/+105
| | | | | | | | | | | | [ios] Remove copying of Settings.bundle from packaging script [ios] Move Settings bundle under ios/app in file system [ios] Copy bundle to iosapp in packaging script [ios] Remove stranded Root.strings from SDK [ios] Add English localization to example Settings.bundle
* [ios] Add fall-through single tap to iosappJason Wray2018-02-071-0/+18
|
* [ios] Add experimental frame rate measurements to MGLMapViewJason Wray2018-08-161-10/+14
| | | | Includes: average frame rate, average frame render duration, and instantaneous frame render duration.
* [ios] Mapbox's Location Manager new API. (#12013)Fabian Guerra Soto2018-07-205-0/+386
| | | | | | * [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.
* [ios] updated predicates (#12178)Jordan Kiley2018-06-191-2/+2
|
* [ios] Support safe area in iosappJason Wray2018-06-082-105/+102
| | | | | | * [ios] Refactor iosapp two-map option; fix constraint * It's NO in objc; enable second map scale bar
* [ios] Updated MGLScaleBar to use rendered UIImages instead of ↵Julian Rex2018-05-241-3/+141
| | | | MGLScaleBarLabel (#11921)
* Merge branch 'release-boba' into masterupstream/fabian-merge-release-4.0.1-masterFabian Guerra2018-05-172-0/+12
|\ | | | | | | | | | | | | | | | | | | | | | | # Conflicts: # mapbox-gl-js # platform/android/CHANGELOG.md # platform/android/MapboxGLAndroidSDK/gradle.properties # platform/android/gradle/dependencies.gradle # platform/darwin/src/MGLVectorTileSource.mm # platform/darwin/src/MGLVectorTileSource_Private.h # platform/ios/CHANGELOG.md # src/mbgl/style/expression/compound_expression.cpp
| * iOS: Add custom layer example to debugging app (#7734)Konstantin Käfer2018-05-031-0/+12
| |
| * [android, ios, macos] Added Korean localizationMinh Nguyễn2018-05-021-0/+0
| |
* | [ios, macos] Update minimum deployment versions to iOS 9, macOS 10.11 (#11776)Jason Wray2018-04-272-12/+5
|/ | | | | | | | | | | | | | | | | | | * [ios] Remove iOS 8 conditionals * [ios, macos] Bump pod deployment targets * [ios, macos] Add changelog entries * [ios, macos] Update docs * Remove unnecessary selector-based version checks * Update SQLite note * [ios, macos] Replace lightweight generics macros with direct use Lightweight generics for Foundation collections are available everywhere with the bump to iOS 9 and macOS 10.11. * Update deprecated macOS method
* [ios] Mark -presentCalloutFromRect:inView:constrainedToView:animated: ↵Julian Rex2018-04-191-5/+0
| | | | unavailable (#11738)
* [ios, macos] Add NSExpression convenience constructors and helper methods. ↵Fabian Guerra Soto2018-04-161-8/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (#11278) * [ios, macos] Refactor convinience expression initializers. # Conflicts: # platform/darwin/src/NSExpression+MGLAdditions.h # platform/darwin/src/NSExpression+MGLAdditions.mm # platform/ios/app/MBXViewController.m * [ios, macos] Add MGL_MATCH convenience method. # Conflicts: # platform/darwin/src/NSExpression+MGLAdditions.h # platform/darwin/src/NSExpression+MGLAdditions.mm # platform/darwin/test/MGLExpressionTests.mm * [ios, macos] Add Swift friendly convenience methods name syntax.. # Conflicts: # platform/darwin/src/NSExpression+MGLAdditions.h * [ios, macos] Update runtime styling examples. # Conflicts: # platform/ios/app/MBXViewController.m * [ios, macos] Add NSExpression variable expressions properties. * [ios, macos] Clarify convenience initializer names. * [ios, macos] Update Style Authors guides. * [ios, macos] Fix cherry-pick merge. * [ios, macos] Update convenience initializers documentation.
* [android, ios, macos] Added European Portuguese localizationMinh Nguyễn2018-04-161-0/+0
|
* Localize expressions more thoroughly (#11651)Minh Nguyễn2018-04-161-8/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * [ios] Removed changelog entry for Terrarium The broader feature is new to v4.0.0 as well. * [ios, macos] Localize expressions more thoroughly Replaced the MGLStyle.localizesLabels property with a -localizeLabelsIntoLocale: method that allows the caller to specify the locale to localize into. Also exposed a per-expression localization method for developers who want to vary behavior from layer to layer. * [macos] Offer English labels if preferred language is unsupported * [ios, macos] Removed dead code * [ios] Use new localization method in iosapp * [ios, macos] Fixed local name labels * [ios, macos] Convert tokens to key path expressions in stop dictionaries * [ios, macos] Streamlined token upgrading Separated token upgrading into a separate process that only happens as part of the MGLSymbolStyleLayer.text and MGLSymbolStyleLayer.iconImageName properties’ getters, so that it’s easy to remove later when mbgl changes obviate this workaround. Removed the replacesTokens parameter to the expression localization methods. * [ios, macos] Preserve whitespace between tokens * [ios, macos] Moved token replacement to a consistent category Fixed a build warning. * [ios, macos] Replace tokens in all string-typed getters For consistency, replace tokens with key paths in all string-typed style paint and layout properties. * [ios, macos] Test token replacement Added tests for replacement of tokens with key paths in expressions. Fixed token replacement for raw strings in stop dictionaries. Avoid sticking a single string inside an mgl_join: call. * [ios, macos] Test token replacement, localization Added unit tests of token replacement and localization of expressions. Only NSExpression is responsible for resolving the preferred language now, since NSLocale tends to tack a region code onto the locale identifier and the NSExpression method can be called independently anyways. Added a private variation of +[MGLVectorTileSource preferredMapboxStreetsLanguage] that takes an array of preferred languages. Fixed localization of non-expressions in stop dictionaries. * [ios, macos] Dictionary keys aren’t necessarily zoom levels
* [ios] Change MGLAnnotationView.scalesWithViewingDistance default value to NOupstream/fb-undefault-scalesWithViewingDistanceJason Wray2018-04-121-6/+0
|
* [ios, macos] Renamed MGLVectorSource to MGLVectorTileSourceMinh Nguyễn2018-04-021-8/+8
|
* [ios, macos] Renamed MGLRasterSource to MGLRasterTileSourceMinh Nguyễn2018-04-021-11/+11
| | | | Also updated various source class listings to reflect the addition of image and raster DEM sources.
* Install aftermarket expression functions (#11472)Minh Nguyễn2018-03-291-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * [ios, macos] Introduced more ergonomic expression concatenation syntax * [ios, macos] Fixed mgl_join: * [ios, macos] Simplified expression document headings * [ios, macos] Documented mgl_join: * [ios, macos] Convert length operator to length: for strings Only works for literal strings. * [ios, macos] Implemented type conversion using CAST() * [ios, macos] Aftermarket let expressions * [ios, macos] Refactored aftermarket expression functions Refactored the installation of aftermarket expression functions to use macros. It is no longer necessary to handwrite the type encoding of a function. Also added aftermarket functions for interpolating and stepping. * [ios, macos] Updated documentation, tests, demo apps * [ios, macos] Added generic expression function * [ios, macos] Add MGL_MATCH function placeholder. * [ios, macos] Add MGL_SWITCH expression operator. * [ios, macos] Add mgl_coalesce: as expression function. * [ios, macos] Update style documentation. * [ios, macos] Add conventional custom function support. * [ios, macos] Updated example code * [ios, macos] Add mgl_coalesce conventional custom function support. * [ios, macos] Add aftermarket function to 'has' operator. * [ios, macos] Add documentation for lookup and feature operators. * [ios, macos] Documented simple lookup * [ios, macos] Renamed, reversed has expression Renamed mgl_hasProperty:properties: to mgl_does:have: for better readability and consistency with the conventional mgl_has: function. Documented both forms of mgl_has:. * [ios, macos] Restored OEM conditionals where available This is the preferred syntax for simple conditionals on iOS 9 and above, because you can inline the predicate instead of wrapping it in a constant value expression, which means you can write a conditional in a single format string. * [ios, macos] Update style docs. Co-authored-by: Fabian Guerra <fabian.guerra@mapbox.com>
* [ios,macos] Selecting offscreen annotation pans map to fit annotation & ↵Julian Rex2018-03-212-3/+97
| | | | callout view (#3249, #9790)
* [ios] Add camera limit debug option to iosappJason Wray2018-03-141-1/+42
| | | | Adapted from https://github.com/mapbox/ios-sdk-examples/blob/cdff47276d261d58c7eb2d0ba75d9cce6c308417/Examples/ObjectiveC/BlockingGesturesDelegateExample.m
* [ios] Add MGLMapView.showsScale to control scale bar visibility (#11335)Jason Wray2018-03-021-1/+1
| | | | | | - Fixes scale bar not being visible until a camera change event. - Adds IBInspectable for scale bar visibility. - Add tests of the scale bar being added to the map view
* [ios] Restore iosapp's HUD visibility, adjust placementJason Wray2018-02-272-29/+40
|
* Fixed DDS polygon example (#11286)Jordan Kiley2018-02-231-1/+1
| | | | | | * [ios] Updated expression * [ios] Removed centering code
* [ios, macos] Mark deprecated methods as unavailable (#11205)Jordan Kiley2018-02-161-5/+1
| | | Fixes #10735
* Merge branch 'master' into release-bobaFabian Guerra2018-02-152-2/+5
|\ | | | | | | | | | | | | | | | | | | | | | | | | # Conflicts: # platform/android/CHANGELOG.md # platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/Mapbox.java # platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/widgets/CompassView.java # platform/android/scripts/exclude-activity-gen.json # platform/ios/CHANGELOG.md # platform/ios/Mapbox-iOS-SDK-nightly-dynamic.podspec # platform/ios/Mapbox-iOS-SDK-symbols.podspec # platform/ios/Mapbox-iOS-SDK.podspec # platform/macos/CHANGELOG.md
| * Merge tag 'ios-v3.7.4' into masterFabian Guerra2018-02-132-2/+5
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | # Conflicts: # include/mbgl/style/conversion/tileset.hpp # include/mbgl/util/tileset.hpp # platform/android/CHANGELOG.md # platform/android/MapboxGLAndroidSDK/gradle.properties # platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/MapView.java # platform/ios/CHANGELOG.md # platform/ios/ios.xcodeproj/project.pbxproj # platform/macos/CHANGELOG.md # src/mbgl/layout/symbol_projection.cpp # src/mbgl/renderer/tile_pyramid.cpp # src/mbgl/style/conversion/tileset.cpp
| | * [ios, macos] Fix memory leaks in MGLMapSnapshotter. (#11133)Fabian Guerra Soto2018-02-121-1/+2
| | |
| | * [ios] Adds camera change delegate methods with reason parameter. (#11151)Julian Rex2018-02-121-1/+3
| | | | | | | | | | | | Added missing notification handler for UIApplicationWillResignActiveNotification.
* | | [ios, macos] Added Danish localizationMinh Nguyễn2018-02-071-0/+0
|/ /
* | Reimplement style values atop NSExpression (#10726)Minh Nguyễn2018-01-241-126/+77
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * [ios, macos] Import headers, not implementation files * [core] Added accessors for various expression parameters Added missing parameter accessors to various expression operator classes, as well as a method on InterpolatorBase and Step that enumerates the stops and their values. * [ios, macos] Silenced warning in test of error condition * [ios, macos] Made MGLSphericalPosition boxable * [ios, macos] Implemented array enumeration during conversion * [ios, macos] Temporarily ignore heatmap layer type * [ios, macos] Migrated MGLSymbolStyleLayer.text to NSExpression MGLSymbolStyleLayer.text is now of type NSExpression instead of MGLStyleValue, as a first step toward migrating the entire layer API from style values to expressions. Implemented conversions from NSExpression to JSON arrays and vice versa. The most common NSExpression functions are now converted into style expressions, but not all of the most common style expression operators are supported yet. * [ios, macos] Implemented string coercion * [ios, macos] Color literals * [ios, macos] Null constant expressions * [ios, macos] Convert dictionary literals * [ios, macos] Interpolation expressions * [ios, macos] to-boolean, to-number, get from object * [ios, macos] Variable expressions Implemented custom expression functions for assigning and referring to variables within the context of an expression. Variables are assigned via a “context dictionary” and applied to an subexpression that is given as another argument to the same expression. Also implemented built-in variable expressions for zoom level and heatmap density. * [ios, macos] Convert colors, offsets, padding in expressions to JSON objects * [ios, macos] Expression-based style property getters Implemented a conversion from mbgl::style::PropertyValues to Objective-C JSON objects, which are then converted to NSExpressions. * [ios, macos] Consolidated property value–expression conversion in MGLStyleValueTransformer * [ios, macos] Predicate and expression guide Extracted documentation about predicates from a documentation comment in MGLVectorStyleLayer.h to a new jazzy guide. Added details about NSExpression support as well. Began updating the “For Style Authors” guide to reflect the transition from style values to expressions. * [ios, macos] Updated style authoring guide Updated the Information for Style Authors guide to discuss expressions instead of style functions. Included a table mapping style specification expression operators to NSExpression syntaxes. * [ios, macos] Migrated codegen templates to expressions * [ios, macos] Applied expression changes via codegen Ran make darwin-style-code. * [macos] Migrated macosapp to expressions * [ios, macos] Updated style function guide This guide needs to be thoroughly rewritten, but for now the example code has been migrated to expressions. * [ios, macos] Eviscerated style function tests * [ios, macos] Updated changelogs * [ios] Migrated iosapp to expressions * [ios, macos] Exposed JSON conversion methods publicly * [ios, macos] Removed MGLStyleValue, MGLStyleFunction