summaryrefslogtreecommitdiff
path: root/platform/ios
Commit message (Collapse)AuthorAgeFilesLines
* [core] use #pragma once instead of ifdef include guardsKonstantin Käfer2016-05-251-4/+1
|
* [ios] Set backup exclusion flag after initializing DefaultFileSource (#5124)Jason Wray2016-05-241-0/+1
| | | Speculatively fixes #511, where apps mistakenly backup the offline/ambient cache.
* [ios] Only show telemetry debug log options when logging is enabledJason Wray2016-05-231-4/+11
|
* [ios] Remove custom style layer exampleJason Wray2016-05-231-79/+1
|
* [ios, osx] Added wireframe debugging maskMinh Nguyễn2016-05-234-9/+28
| | | | Added an option to MGLMapDebugMaskOptions for the new wireframe debugging mode and UI in the demo applications for toggling it.
* [ios, osx] Fixed crash adding mixture of points and shapesMinh Nguyễn2016-05-221-2/+6
| | | | Fixes #5096.
* 3.3.0-alpha.3ios-v3.3.0-alpha.3ios-3.3.0-alpha.33.3.0-alpha.3Jesse Bounds2016-05-202-2/+2
|
* Updated changelog for #5067Jesse Bounds2016-05-201-0/+1
|
* [ios] Allow annotation views to be flattened (#5067)frederoni2016-05-186-3/+56
| | | | | | | | | | * [ios] wip flatten annotation view * [ios] wip flatten annotation view * [ios] naming conventions * [ios] removed unused property
* [ios] Added centerOffset to MGLAnnotationView (#5062)frederoni2016-05-184-0/+23
| | | | | | | * [ios] Added centerOffset to MGLAnnotationView * [ios] Reposition immediately after changing the centerOffset closes #5059
* [ios] Make MGLCoordinateInCoordinateBounds() public (#5053)Jason Wray2016-05-171-0/+1
| | | Bounds should always be in NE, SW order — any other coordinate order (e.g., NW, SE) will give false results.
* [ios] Updated changelog for #4801Minh Nguyễn2016-05-151-0/+1
|
* [ios] Improve telemetry server URL validation (#5022)Jason Wray2016-05-131-8/+10
| | | | | - Validate that test server URL actually has a reasonable value. - Refactor `baseURL` and `testServerURL` to use NSURL.
* [ios] Add method documentation for view based annotations.Jesse Bounds2016-05-132-0/+41
|
* [ios] Refactor of annotation view updatesJesse Bounds2016-05-131-32/+13
| | | | | | This change eliminates the call to the problematic `annotationTagsInRect:` by using the annotation views themselves and the map view to check if a view is visible or not.
* [ios] Introduce MGLAnnotationView and support for view annotationsJesse Bounds2016-05-1314-33/+553
| | | | | | | | | | | | | | | | | | | | | | | Add an UIView subclass that can be used as the base class for all client provided UIViews for annotations. Teach MGLMapView to be able to display annotation views over the map if provided by the client delegate. For now, if the delegate provides a UIView then it will be used. If not, the map view will fall back to the old strategy of using GL annotations with an image provided by the delegate or a default image if not. The map keeps a reuse queue and will store annotation views that are panned offscreen in the queue if the application developer supplied a reuse queue identifer. The views in the queue are reused when more annotation views are required. This view reuse provides a performance gain when many annotations are shown and most of them are offscreen. iosapp now implements the new delegate method to supply a native view. Add a playground to the workspace to facilitate experimentation with new features. A playground is capable of importing frameworks if it exists in the same workspace that builds the imported framework. The initial playground demonstrates annotation views. This also fixes a crash due to nullptr in annotations array If the `annotations` method is called while the user dot's callout view was showing, the userdot annotation is represented as null in the annotation context map. This caused a crash when the null pointer was attempted to be converted into an NSArray via C array. This protects against this bug by filtering out such a null annotation.
* [core] Update to geometry.hpp 0.5.0John Firebaugh2016-05-131-1/+1
|
* [core] Added Viewport modeBruno de Oliveira Abinader2016-05-111-1/+1
| | | | | | Satisfies embedding platforms that requires the viewport coordinate systems to be set according to its standards e.g. viewport mirrored vertically.
* [ios] fix potential for very slow animations of user location dot (#4997)Brent W2016-05-101-1/+1
| | | fix logic error that could cause user location to animate extremely slowly if there is a significant time passing between location updates
* Merge branch 'release-ios-v3.2.2' into 1ec5-release-ios-v3.2.2-masterMinh Nguyễn2016-05-101-4/+7
|\
| * ios-v3.2.2ios-v3.2.2Minh Nguyễn2016-05-102-2/+2
| |
| * ios-v3.2.2-rc.1ios-v3.2.2-rc.1Minh Nguyễn2016-05-062-2/+2
| |
| * [ios, osx] Renamed version constant, linked to more infoMinh Nguyễn2016-05-061-1/+1
| | | | | | | | | | | | | | | | Renamed MGLStyleCurrentVersion to MGLStyleDefaultVersion to emphasize the constant’s role as an indicator of the default version used by SDK classes, which may be behind depending on release schedules. In the documentation for each style URL method, include the actual version number instead of the constant. In unit tests, verify that this documentation is in sync with the constant. Link each style URL method’s documentation to a forthcoming webpage on mapbox.com that describes the style in rich detail. Cherry-picked from 2ec95bc490c5793b7b8a3aa9999f48d196ca8085.
| * [ios, osx] Renamed Hybrid to Satellite StreetsMinh Nguyễn2016-05-061-0/+1
| | | | | | | | | | | | The style ID has also changed, but the unversioned method will continue to point to the old v8 style ID. Cherry-picked from 5ccb43477fc1d2028aef283d0db64848ebc9a347.
| * [ios, osx] Pin unversioned style URL APIs to v8 stylesMinh Nguyễn2016-05-061-1/+1
| | | | | | | | Cherry-picked from 4a112c00f1634be40d10aa4797ac8e9262b8711a.
| * [core, ios, osx] Version default style URL APIs; deprecated EmeraldMinh Nguyễn2016-05-062-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | Updated default styles from v8 to v9. Deprecated the MGLMapView class methods in favor of new methods that take a version parameter. Deprecated Emerald outright in favor of Outdoors. Replaced usage of the unversioned MGLStyle methods with the corresponding versioned methods and MGLStyleCurrentVersion to ensure consistency. Expanded MGLStyle unit tests to also assert that MGLStyle has the right number of style URL methods and that they’re all public. Linked the OS X SDK unit test bundle to libmbgl-core.a. Removed an unnecessary dependency on osxapp. Replaced Emerald with Outdoors in iosapp and osxapp. Fixes the iOS and OS X side of #4577 and #4702. Cherry-picked from 2a4eeadb295775236fe1a89b50f9179b790b127a.
| * ios-v3.2.1ios-v3.2.1Jason Wray2016-04-202-2/+2
| | | | | | | | Update podspec files for version 3.2.1
| * [ios] Add script to automate s3 build and publish processJesse Bounds2016-04-201-0/+84
| | | | | | | | | | | | | | | | | | | | | | | | A large part of the iOS SDK deploy process is creating the various binary flavors, uploading them to s3, and then testing that those uploads worked by downloading them from s3 before uploading and attaching them to the github release. This script automates that build, upload, download, upload and attach process and can be run after `mbx auth`. Cherry-picked from 89db01fef0abe258e152eeb2013358c74f8bfeec.
| * [ios, osx] Use HTML links in documentationMinh Nguyễn2016-04-203-17/+19
| | | | | | | | | | | | | | | | Replaced Markdown syntax with HTML syntax for hyperlinks in documentation comments. HTML links work both inside Xcode (whether Objective-C or Swift) and on the Web (via jazzy). Fixes #3961. Cherry-picked from de0705c7ede7fea5980ed220a1160085630bd89e.
| * [ios] Restart user location heading updates on validationJason Wray2016-04-202-0/+6
| | | | | | | | | | | | Fixes #4668. Thanks to @JThramer for reporting. Cherry-picked from eda132d922df160a413bac9238e98d96c8748667.
* | [ios, osx] Find nearby annotation when not persisting queryMinh Nguyễn2016-05-091-2/+2
| | | | | | | | Fixed an issue that made the osxapp context menu only apply to the right-clicked pin after first selecting the pin. This also happened to be a latent bug in the iOS implementation.
* | ios-v3.3.0-alpha.2ios-v3.3.0-alpha.2Minh Nguyễn2016-05-072-2/+2
| |
* | [core] Update geometry to 0.3.0John Firebaugh2016-05-061-1/+1
| |
* | [ios, osx] Renamed version constant, linked to more infoMinh Nguyễn2016-05-063-8/+8
| | | | | | | | | | | | Renamed MGLStyleCurrentVersion to MGLStyleDefaultVersion to emphasize the constant’s role as an indicator of the default version used by SDK classes, which may be behind depending on release schedules. In the documentation for each style URL method, include the actual version number instead of the constant. In unit tests, verify that this documentation is in sync with the constant. Link each style URL method’s documentation to a forthcoming webpage on mapbox.com that describes the style in rich detail.
* | [ios, osx] Renamed Hybrid to Satellite StreetsMinh Nguyễn2016-05-062-2/+3
| | | | | | | | The style ID has also changed, but the unversioned method will continue to point to the old v8 style ID.
* | [ios, osx] Pin unversioned style URL APIs to v8 stylesMinh Nguyễn2016-05-061-1/+1
| |
* | [core, ios, osx] Version default style URL APIs; deprecated EmeraldMinh Nguyễn2016-05-064-10/+14
| | | | | | | | | | | | | | | | | | | | Updated default styles from v8 to v9. Deprecated the MGLMapView class methods in favor of new methods that take a version parameter. Deprecated Emerald outright in favor of Outdoors. Replaced usage of the unversioned MGLStyle methods with the corresponding versioned methods and MGLStyleCurrentVersion to ensure consistency. Expanded MGLStyle unit tests to also assert that MGLStyle has the right number of style URL methods and that they’re all public. Linked the OS X SDK unit test bundle to libmbgl-core.a. Removed an unnecessary dependency on osxapp. Replaced Emerald with Outdoors in iosapp and osxapp. Fixes the iOS and OS X side of #4577 and #4702.
* | [ios, osx] Avoid recomputing tile cache size on every redrawMinh Nguyễn2016-05-061-12/+28
| | | | | | | | | | | | The tile cache size is only recomputed when an input changes. Fixes #4026.
* | [core] Use geometry.hpp's pointJohn Firebaugh2016-05-052-1/+9
| |
* | [core] Privatize math.hpp and vec.hppJohn Firebaugh2016-05-051-1/+1
| |
* | [core] Privatize various util headers (#4945)John Firebaugh2016-05-041-1/+0
| |
* | ios-v3.3.0-alpha.1ios-v3.3.0-alpha.1Minh Nguyễn2016-05-042-2/+2
| |
* | [ios] Corrected map accessibility valueMinh Nguyễn2016-05-042-9/+5
| | | | | | | | | | | | Corrected the English override strings for the map view’s accessibility value. Prior to this change, the accessibility value would say “0 annotation” instead of “0 annotations” for some reason. The zoom level in the map view’s accessibility value is off by two.
* | [ios] Fixed KIF testsMinh Nguyễn2016-05-042-22/+9
| | | | | | | | Link to the libKIF.a in the shared build products directory instead of at a nonexistent, hard-coded path. Fixed a compilation error in the KIF tests caused by importing a project-internal header even after the KIF project was moved out of the test project. Updated accessibility labels.
* | [core] Use geometry.hpp feature typeJohn Firebaugh2016-05-032-0/+5
| |
* | [core] port to protozero (#4906)Dane Springmeyer2016-05-031-0/+1
| |
* | Merge pull request #4919 from mapbox/follow-to-4916Dane Springmeyer2016-05-021-4/+0
| | | | | | Boost headers are no longer needed in project files after #4916
* | [core] Use gyp's direct_dependent_settings to propagate variant cflagsJohn Firebaugh2016-05-021-1/+0
| |
* | [core] Replace boost::lexical_cast with std::to_stringJohn Firebaugh2016-05-021-1/+0
| | | | | | | | This removes the only boost dependency from public headers.
* | [ios] Fix analyzer's nullability complaintsJason Wray2016-04-291-6/+17
| | | | | | | | - Redefine as local variables - Check/assert that these local variables are not nil