summaryrefslogtreecommitdiff
path: root/platform/ios
Commit message (Collapse)AuthorAgeFilesLines
* [ios, macos] Make Xcode 7.3 the minimum required versionJason Wray2016-08-1811-15/+15
| | | | | | | | | - Removes nullability shims for Xcode 6. - Removes MGLTypes.h from files where it was only being used for nullability support. - Accepts that `NS_SWIFT_NAME` is not fully supported by Xcode 7.2 and lower. - Adds documentation about Xcode 7.3 requirement.
* [ios, macos] reuse utility functionFredrik Karlsson2016-08-184-32/+17
|
* [ios, macos] fixes #5974 Move style classes API to MGLStyleFredrik Karlsson2016-08-184-44/+18
|
* [ios] #fixes 5961 omit style filter until it's implementedFredrik Karlsson2016-08-181-6/+0
|
* [ios, macos] Fixes #5975 Add source getter to MGLStyleFredrik Karlsson2016-08-182-2289/+6
|
* [build] remove unneeded ios.xcscmblueprintKonstantin Käfer2016-08-181-37/+0
|
* [ios, macos] Use local GeoJSON for runtime styling demoMinh Nguyễn2016-08-171-2/+3
| | | | | | Also changed the menu item to something more descriptive. Fixes #6021.
* [ios, macos] Added MGLBaseStyleLayer_Private.h to projectMinh Nguyễn2016-08-161-0/+6
|
* [ios, macos] Renamed Objective-C++ headers to .hMinh Nguyễn2016-08-167-95/+92
| | | | | | Also removed a redundant reference to MGLStyle_Private.h in ios.xcodeproj. Fixes #5952.
* [ios] Improve user location annotation performance (#6019)Jason Wray2016-08-161-1/+11
| | | | | | | | | | | | | | * [ios] Don't animate zoom-induced accuracy ring size changes Improves perceived and actual performance by eliminating the implicit animation that occurred when the accuracy ring changed size during zooms. This previously would pile up animations as the zoom changed, causing an unsightly wobbling effect. * [ios] Pre-calculate shadow paths for user dot and puck Performance enhancement suggested by https://developer.apple.com/library/ios/documentation/Cocoa/Conceptual/CoreAnimation_guide/ImprovingAnimationPerformance/ImprovingAnimationPerformance.html * [ios] Rasterize pulsating inner dot of user location annotation Supposed performance enhancement and also improves edge smoothness.
* [ios] Refactored user location annotation into a customizable class (#5882)Jason Wray2016-08-1613-560/+868
| | | | | A new class, `MGLUserLocationAnnotationView`, has been added that inherits from `MGLAnnotationView`. Use a subclass of `MGLUserLocationAnnotationView` to customize the appearance of the user location annotation. Use your custom view with the `MGLMapView.userLocation` annotation via the `-mapView:viewForAnnotation:` delegate method.
* fixes #5957: automatically call update() for iOS runtime style APIJustin R. Miller2016-08-161-2/+0
|
* [core] support "scheme": "tms" in TileJSON filesKonstantin Käfer2016-08-161-0/+1
|
* [ios, macos] Accept absolute file paths as style URLs (#6026)Minh Nguyễn2016-08-163-7/+18
| | | | | It turns out that mbgl::AssetFileSource supports absolute file URLs in addition to relative file URLs. So replace the file: scheme with asset: while percent-escaping as necessary. Also added amsterdam.geojson to macos.xcodeproj for consistency with ios.xcodeproj.
* [core, android, ios, macos] Replaced getPointAnnotationsInBounds() w/ ↵Minh Nguyễn2016-08-121-2/+4
| | | | | | | queryPointAnnotations() (#5165) queryPointAnnotations() accepts a screen rectangle instead of a geographic bounding box, so marker hit testing works at the edges of a rotated, tilted map view. Fixes #5151.
* [ios] Exclude NSData category's header from dynamic frameworkJason Wray2016-08-111-3/+1
| | | | This private category on NSData is for gzip compression, which is only used internally.
* [ios, macos] Updated changelogsMinh Nguyễn2016-08-111-7/+14
|
* 3.4.0-alpha.1ios-v3.4.0-alpha.1Jesse Bounds2016-08-113-2/+4
| | | | Update changelog and bump version in the podspecs.
* [ios, macos] Upgraded project build settings for Xcode 8 (#5935)Minh Nguyễn2016-08-118-8/+12
| | | Set CLANG_WARN_INFINITE_RECURSION and CLANG_WARN_SUSPICIOUS_MOVE as recommended by Xcode 8.
* Runtime styling API for iOS/macOS (#5727)Fredrik Karlsson2016-08-1114-23/+2966
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * [ios] wip runtime styling * [ios, macos] Outlined header templates * [ios, macos] cleanup and use appropiate data types * [ios, macos] removed refs to mbgl and added convenient color methods on UIColor and NSColor * [ios, macos] updated header template, included doc string * [ios, macos] outlined template for layer implementation files * [ios, macos] moved script to platform/darwin and updated comments * [ios, macos] Cleaned up the implementation template * [ios, macos] removed unused function and added support for more datatypes * [ios, macos] overhauling the type protocols * [ios, macos] removed unnecessary style classes * [ios, macos] added support for more types * [ios, macos] fixed string and number prop values * [ios, macos] enum getters * [ios, macos] added removeLayer() and removed unused layer ref * [ios, macos] fixed remaining layer types and converted style layer into a protocol * [ios, macos] fixed addLayer() and added example for line layer * [ios] GeoJSON source now works * [ios] fixed raster layer and raster source * [ios] fixed attr prop number and outlined prop function * [ios] wip functions * [ios] bool and float function fix * [ios] cleanup * [macos] fixed support for macos * [ios] fixed string functions * [ios] extended array functions * [ios] added tests and fixed a few bugs * [ios] less verbose functions and improved tests * [ios, macos] Removed unnecessary use of default arguments Default arguments aren’t supported in Node v4, and they aren’t needed here anyways, because we’re only testing for truthiness. * [ios, macos] Enum setters Rely on a macro instead of category methods to specialize the setter implementation for enum attributes, since generic types are disallowed in Objective-C method signatures and mbgl::style::PropertyType must be type-qualified. * [ios, macos] Got macOS closer to parity w/ iOS Added various classes and test classes to the macOS workspace. Also fixed lots of compiler errors and updated macosapp runtime styling example to use the new dictionary syntax for function stops. Updated all conversions from Objective-C stops to C++ stops to enumerate over the dictionary. Fixed compiler errors in enum setter implementations. Also corrected path to script in generated file comments. * [ios, macos] Added EJS templates to project * [ios, macos] Code formatting Made code format more consistent. * [ios, macos] Spelled out ID Cocoa convention is to always spell out “ID” as “identifier”, in part to avoid confusion with the id keyword. Also, URL is capitalized in most contexts, including property names. * [ios, macos] Grouped related headers together * [ios, macos] Cleaned up layer transformation Also added support for converting background layers into Objective-C. * [ios, macos] Cleaned up tests Also made the tests work on macOS by introducing a new window to host the map. * [ios, macos] Replaced TODOs with #warnings * [ios] convert array based property values * [ios, macos] color function/undefined getter * [ios, macos] fixed function/undefined getters for bool and float properties * [ios, macos] more function/undefined property getters * [ios, macos] more type conversion and cleanup * [ios, macos] disable macos runtime styling tests for now * [ios, macos] cleaned up style code script * [ios, macos] more type conversion * [ios] added a base layer to handle visibility min/max zoom * [macos] fixed base layer * [ios, macos] use accessor methods * [ios, macos] cleanup * [ios, macos] add geojson to ios and macos * [macos] rebase fix * [ios, macos] fixed enum getters and added tests for enums * [ios, macos] added an update method to base layer * [ios, macos] added some documentation * [ios, macos] docs * [ios, macos] removed refs to filters for now * [ios, macos] various tail work * [ios, macos] missing import and incorrect type
* [ios] Account for center offset when tapping annotation views (#5931)Jesse Bounds2016-08-113-0/+31
| | | | | | | | This adjusts the tap point for the map's single tap gesture recognizer to use the coordinate to point translated point of the actual annotation the view represents. This fixes an issue where views that were offset in the point coordinate system were not selected when tapped since their associated annotations were actually at the origin of the offset.
* [ios] Guard against nil data task (#5932)Jesse Bounds2016-08-111-1/+3
|
* Merge branch 'release-ios-v3.3.0'Jason Wray2016-08-086-10/+25
|\ | | | | | | After v3.3.4.
| * ios-v3.3.4ios-v3.3.4Jason Wray2016-08-083-3/+7
| | | | | | | | Bump version number and update changelog.
| * [ios] Hit test the user location annotation dot specificallyJason Wray2016-08-063-7/+18
| | | | | | | | | | | | | | | | Rather than try to exclude layers in the touch hit test, this specifically only checks against the main layer for the user dot or puck. Back-port of e4a9173a2a5c585dda3fa7a0f955cff1552f8d25.
* | [build] fix iOS packagingKonstantin Käfer2016-08-052-3/+1
| |
* | [build] unify naming of Makefile targetsKonstantin Käfer2016-08-052-2/+2
| | | | | | | | | | `make foo` just builds `make run-foo` builds and runs
* | [build] switch to CMakeKonstantin Käfer2016-08-059-240/+231
| | | | | | | | This is very much a work in progress.
* | Merge branch 'release-ios-v3.3.0'Jason Wray2016-08-035-7/+26
|\ \ | |/ | | | | Merge release branch after v3.3.2 and v3.3.3.
| * ios-v3.3.3ios-v3.3.3Jesse Bounds2016-07-293-2/+6
| | | | | | | | Bump version number and update changelog.
| * ios-v3.3.2ios-v3.3.2Jason Wray2016-07-282-2/+2
| |
| * [ios] Fact-checked, economized changelog entriesMinh Nguyễn2016-07-281-2/+2
| | | | | | #5791 affects iOS 7.x, not 8.1 or 8.2. Describe #5813 in simpler terms.
| * [ios] Omit accuracy halo from annotation hit testing (#5816)Minh Nguyễn2016-07-282-2/+3
| | | | | | Fixes #5571.
| * [ios] Limit annotation view pan gesture check to own recognizer (#5813)Jason Wray2016-07-272-1/+2
| | | | | | | | | | | | | | | | | | Allows non-dragging pans that are initiated on views to pan the underlying map. Annotation views each have long press and pan gesture recognizers. If a view is not draggable or not in a positive dragging state, the pan gesture recognizer should not begin. This commit makes the criteria for rejecting pans more strict — only `_panGestureRecognizer` should be rejected, not the entire `UIPanGestureRecognizer` class.
| * [ios] Fixed crash drawing compass on iOS 8.1 (#5791)Minh Nguyễn2016-07-262-2/+15
| | | | | | Fixes #5780.
* | [ios] Migrated playground to Swift 3 (#5847)Minh Nguyễn2016-08-021-14/+101
| | | | | | Fixes #5846.
* | fixes #5771: adds dates to releases in changelogsJustin R. Miller2016-07-271-21/+21
| |
* | GeoJSON point clustering (#5724)Vladimir Agafonkin2016-07-272-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * add supercluster dependency * prepare GeoJSONTile for Supercluster * prepare GeoJSONSource for accepting options * try removing mbgl::GeoJSON * fix setGeoJSON types * add GeoJSONSource getURL * add geojson to include path * add Supercluster index in GeoJSONSource * fix GeoJSONSource getZoomRange * bring back mbgl::GeoJSON header * fix tidy warnings hopefully * try test-suite with enabled cluster test * fix formatting in clustering-related files
* | [build] Upgrade geojson-vt-cpp@6.1.2Bruno de Oliveira Abinader2016-07-261-1/+1
| |
* | codify implicit assumption about marker-providing delegate method precedenceJustin R. Miller2016-07-251-0/+2
| |
* | use class instead of magic string comparisonJustin R. Miller2016-07-251-7/+10
| |
* | refs 654f015: bring back sprite-backed annotation option for comparisonJustin R. Miller2016-07-251-11/+95
| |
* | 5782: build static framework correctly (#5783)Romain Quidet2016-07-253-1/+18
| | | | | | | | | | | | * 5782: build static framework correctly * 5782: updated changelog
* | [ios] Refactor iosapp demo test shapes functionJason Wray2016-07-221-80/+87
| | | | | | | | | | - More detailed descriptions of individual shapes. - Make holey polygon square.
* | [ios] Do not allow multipoint annotations to be assigned viewsJason Wray2016-07-222-1/+8
| |
* | [ios] Reformat inline documentation with ticks, smart quotes, breaks (#5752)Jason Wray2016-07-227-55/+94
| | | | | | | | | | - Makes the use of apostrophes in the iOS SDK documentation consistent by converting “dumb” `'` into smart `’`. - Adds ticks around class/property names/values. - Breaks lines at 80 characters.
* | [ios] Add simulator dSYM slices to build output. (#5740)Jesse Bounds2016-07-212-1/+13
| | | | | | | | | | | | | | | | Our release builds for device (with lipoed simulator binary) create a dSYM files for both the device and simulator. However the script only copied the device dSYM file to the output location. This adds a step to lipo together both the device and simulator dSYM files. Mapbox.framework.dSYM now holds armv7 and arm64 slices.
* | [ios,macos,node] Updated changelog about debug options no-ops in release modeBruno de Oliveira Abinader2016-07-202-0/+2
| |
* | Merge branch 'release-ios-v3.3.0'Minh Nguyễn2016-07-196-60/+37
|\ \ | |/
| * ios-v3.3.1ios-v3.3.1Minh Nguyễn2016-07-192-2/+2
| |