summaryrefslogtreecommitdiff
path: root/platform/ios
Commit message (Collapse)AuthorAgeFilesLines
...
* [ios] Allow delegate to keep wandering pinch from panning mapMinh Nguyễn2017-06-222-10/+11
| | | | | | 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.
* Boxing ObjC structs (#9343)Fabian Guerra Soto2017-06-221-0/+1
| | | | | | * [ios, macos] Make structs boxable * [ios, macos] Update changelogs.
* 7910: cancel tracking if ongoing animation is stopped manually (#7916)Romain Quidet2017-06-222-2/+21
| | | | | | | | | | * 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.
* [ios] Update telemetry cert pinning (#9292)Jesse Bounds2017-06-196-77/+73
|
* [ios, macos] Updated changelogsMinh Nguyễn2017-06-161-0/+3
|
* [ios] Update pods spec for iOS v3.6.0-beta.3ios-v3.6.0-beta.3Fabian Guerra2017-06-162-2/+2
|
* [ios] Remove old Fabric build infrastructureJason Wray2017-06-144-39/+0
|
* [ios, macos] Revised descriptions for abstract classes (#9095)Jordan Kiley2017-06-141-1/+1
| | | Addresses https://github.com/mapbox/mapbox-gl-native/issues/8635
* [ios] Make annotation view rotation alignment configurable (#9147)Jesse Bounds2017-06-013-0/+38
| | | | | | | 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] Update pods spec for iOS v3.6.0-beta.2ios-v3.6.0-beta.2Fabian Guerra2017-05-312-2/+2
|
* Migrate to GL JS–powered feedback form (#9078)Minh Nguyễn2017-05-302-3/+8
| | | | | | | | | | * [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
* [ios] remove layout guide observersFredrik Karlsson2017-05-301-56/+44
|
* [ios] Remove filter of single metric eventJesse Bounds2017-05-301-7/+0
|
* [ios] Moved `MGLLight` in jazzy table of contents (#9111)Jordan Kiley2017-05-251-0/+1
|
* [ios] Fix annotation initializers for subclasses of MGLAnnotationView (#9104)Jesse Bounds2017-05-244-9/+62
| | | | 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)`
* [ios] Update pods spec for iOS v3.6.0-beta.1ios-v3.6.0-beta.1Fabian Guerra2017-05-232-2/+2
|
* [ios, macos] Updated changelogsMinh Nguyễn2017-05-231-6/+13
| | | | Reorganized the changelogs with a new packaging section. Added blurbs about #9062, #8713, #9060, and #9031.
* [ios] Move image resources to an asset catalog & switch to PDFsJason Wray2017-05-2319-67/+61
|
* [ios] Fallback to Mapbox.bundle as the framework bundle (#9074)Jason Wray2017-05-233-3/+3
| | | | | Fixes an issue where localizations could not be found when using static builds. Throws exception if our bundle can't be found.
* [ios, macos] More robust Streets localizationMinh Nguyễn2017-05-231-10/+11
| | | | | | 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,macos] multipolygon coordinate (#8713)Fabian Guerra Soto2017-05-232-6/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * [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] Light property implementation in MGLStyle (#9043)Fabian Guerra Soto2017-05-232-0/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | * [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
* [ios, macos] Updated changelogsMinh Nguyễn2017-05-191-1/+3
|
* [ios] Update podspecs and changelog for iOS v3.5.4Jesse Bounds2017-05-191-0/+5
| | | | Cherry-picked from db7bb509e95d737199efa73a47bdcc973966ed97.
* [ios] Updated podspecs and changelog for v3.5.3 (#8870)Jordan Kiley2017-05-191-0/+3
| | | | Cherry-picked from 25c19902a22e240da4e7ebf1974125b7e67bd21e.
* [ios] Remove annotation view from container view when annotation removed (#9025)Jesse Bounds2017-05-192-0/+2
| | | | 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] Add annotation view initializer with annotation and reuse id (#9029)Jesse Bounds2017-05-194-8/+43
|
* Observe layout guides (#7716)Fredrik Karlsson2017-05-193-114/+111
| | | | | | * [ios] observe layout guides * [ios] update changelog
* [ios] Telemetry button in modal view controllers (#9027)Jordan Kiley2017-05-171-3/+4
| | | | Fixes #8980.
* [ios, macos] Factored out tile URL template guideMinh Nguyễn2017-05-162-0/+100
| | | | Factored out redundant tile URL template documentation from the MGLRasterSource and MGLVectorSource documentation into a jazzy guide. This documentation used to live in one place, on a method on MGLTileSource, but that method had to be moved to MGLTileSource’s concrete subclasses. A jazzy guide is easier to link to, in any case.
* [core, android, ios, macos] Added Traffic Day/Night to default stylesMinh Nguyễn2017-05-122-6/+11
| | | | | | | | 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.
* [ios, macos] Undeprecated unversioned style URL factory methodsMinh Nguyễn2017-05-121-1/+1
| | | | | | | | 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.
* [core, android, ios, macos, qt] v10 default stylesMinh Nguyễn2017-05-121-1/+1
| | | | | | 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.
* [ios] Use map view frame to calculate annotation view reuse adjustments (#8926)Jesse Bounds2017-05-091-8/+6
| | | | | | * [ios] Use map view frame to calculate annotation view reuse adjustments The value for determining the visible viewport buffer and also the distance to move offscreen an annotation view outside of that buffer was based on the annotation view width and height. This changes that to use the map viewport width and height as constants and avoids a class of bugs where the annotation view would become detached from the tracking system when it did not have a size or was animating from a small to large size.
* [ios, macos] Updated localizations from TransifexMinh Nguyễn2017-05-0813-20/+227
| | | | | | Pulled various translations from Transifex. Although Transifex supports the stringsdict format, it doesn’t allow translators to customize the format. This change splits out a separate “level” key for the same format string and moves any prefixes and suffixes into the “level” and “count” keys. For now, each localization has been updated manually, but future updates will come from Transifex.
* [ios, macos] Moved DDS guide examples to Swift unit testMinh Nguyễn2017-05-082-33/+44
| | | | Moved example code from DDS guide to a unit test written in Swift. The code is inserted into the guide at codegen time.
* [ios, macos] Fixed syntax error in DDS guideMinh Nguyễn2017-05-081-1/+1
|
* [ios] Re-enable all console messages in iosappJason Wray2017-05-081-7/+0
| | | | | The Xcode 8 spew that prompted the addition of this setting has been fixed and leaving it enabled was hiding important error messages.
* [ios] Check for NaN when calculating scale bar widthJason Wray2017-05-081-1/+2
|
* [ios] Bump podspecs for v3.6.0-alpha.1ios-v3.6.0-alpha.1Jason Wray2017-05-023-3/+3
|
* [ios] properly show attribution in modal hierarchies (#8837)Justin R. Miller2017-05-024-10/+53
| | | fixes #8782
* [core] Load source TileJSON immediatelyJohn Firebaugh2017-05-021-4/+0
| | | | | | | This reverses #3095. Rationale: * We're now exposing source attributes as a public API. Making those attributes unavailable at certain times complicates that API. * We're preparing to split RenderSource out of Source. Removing this removes a point of coupling between the two.
* [ios, macos] Corrected map a11y value format stringsMinh Nguyễn2017-05-023-6/+6
| | | | Corrected MGLMapView accessibility value format strings in Catalan, Russian, and Swedish.
* [ios] Added sv stringsdictFredrik Karlsson2017-05-022-0/+25
|
* [ios, macos] Updated ca, es, sv, vi, zh-Hans localizations from TransifexMinh Nguyễn2017-05-025-11/+76
|
* [ios, macos] Updated changelogsMinh Nguyễn2017-05-011-7/+16
| | | | Updated and reorganized changelogs.
* [core] Render fill-extrusion layers (#8431)Lauren Budorick2017-04-276-0/+27
|
* [ios] swapped link for circle layer example (#8818)Jordan Kiley2017-04-261-1/+1
|
* [ios, macos] Bumped recommended Xcode version >=8.0 (#8775)Jordan Kiley2017-04-244-3/+4
|
* [all] Rationalize style::ImageJohn Firebaugh2017-04-243-14/+13
| | | | | | | A style has a collection of images, just as it has collections of sources and layers. * Name things appropriately * Use std::unique_ptr