summaryrefslogtreecommitdiff
path: root/ios
Commit message (Collapse)AuthorAgeFilesLines
* [core] Merge SQLiteCache into the platform libraryJohn Firebaugh2015-12-222-2/+0
| | | | OfflineFileSource will depend on SQLite too.
* [ios, android] Add methods to remove a custom layerJohn Firebaugh2015-12-171-2/+18
|
* [ios] Fixed off-by-one error due to mergeMinh Nguyễn2015-12-161-1/+1
| | | This needs to be converted into a giant switch statement, but that wouldn’t prevent issues like this cropping up in a merge anyways.
* Revert "Revert "[ios] Custom style layer""Minh Nguyễn2015-12-161-0/+59
| | | | This reverts commit 081e4e44516937a6139fad5823dd5ec3200cc343.
* Revert "[ios] Custom style layer"John Firebaugh2015-12-161-59/+0
| | | | ec9a4cd3285da280d43c7ddd0ca96fe37d9c5278
* [ios] Custom style layerMinh Nguyễn2015-12-161-0/+59
| | | | | | Exposed Map::addCustomLayer() publicly as an undocumented, block-based API. This change avoids the terms “layer”, “initialize”, “render”, and “altitude” because they overload existing terminology in the SDK, UIKit, or MapKit. (“Layer” is qualified as “style layer”.) There are outstanding questions about ARC memory management, but this approach works in both Objective-C and Swift for pure OpenGL programming. Added a demo to iosapp that draws a green layer below any labels in Mapbox Streets.
* [ios, osx] Added flyToCamera: variation that uses default durationMinh Nguyễn2015-12-151-1/+1
|
* [ios] World tour on iOSMinh Nguyễn2015-12-151-0/+56
|
* [osx] Rewrote platform-osx and osxappMinh Nguyễn2015-12-131-3/+3
| | | | | | | | | | | | | | platform-osx now vends a real NSView subclass, MGLMapView, that is readily embedded inside a Cocoa application for OS X. MGLMapView is backed by an NSOpenGLLayer for optimal performance and integration with other layer-backed views. It supports keyboard shortcuts and several gestures and hosts attribution, zooming, and rotation controls as subviews. osxapp is now a bona fide Cocoa application that embeds MGLMapView inside a XIB. osxapp has preferences and a share button for tight integration with custom styles. Enabling asynchronous rendering would be more consistent with iOS but increases CPU usage so much, even when idle, that it isn’t worth any performance gain. The bigger issue is that VAOs aren’t being used. make xpackage creates a static library similar to the one created by make ipackage. make clean cleans additional places where build output ends up. The OS X minimum deployment target has been increased from 10.9 to 10.10. osxapp’s window has a full size content view, which requires 10.10. Lightweight generics require iOS 9+ and OS X 10.11 regardless, because it was only in that release that Foundation collection classes started adopting lightweight generics. Shuffled files around and refactored annotations so that iOS and OS X share a good chunk of the annotations code, which now takes advantage of polymorphism. MGLMapView can now display annotations but cannot yet select them. In osxapp, a long press drops a pin, and so does the map view’s context menu. Annotations have NSPopovers as callouts, and their view controllers can be customized. Annotation image alignment rects are respected for hit testing purposes and for positioning the callout anchor. Callouts in osxapp demonstrate the use of bindings to keep callouts in sync with underlying model objects.
* [ios] Silly rabbit, Cocoa bindings are for Mac developers!Minh Nguyễn2015-12-121-1/+1
| | | Reapplied 56ea347c49cfbeec9cf1dca5726b9eb322ebd1ec for #3199, which got lost in a merge.
* bring back symbols for iOS CocoaPods direct usesJustin R. Miller2015-12-071-1/+1
|
* Merge branch 'release-ios-v3.0.1'Justin R. Miller2015-12-071-9/+9
|\
| * properly point to distributed license fileJustin R. Miller2015-12-071-7/+7
| |
| * bump build for ios-v3.0.1 (no symbols)ios-v3.0.1Justin R. Miller2015-12-071-1/+1
| |
| * fixes #3181: move from vendored lib to frameworkJustin R. Miller2015-12-071-4/+3
| | | | | | | | | | | | - Add license file to framework build step to satisfy CocoaPods linting. - Log version when rolling framework (refs #3046). - fixes #1426: get rid of dummy file since we make our own framework.
| * bump iOS version to 3.0.1-pre.1ios-v3.0.1-pre.1Justin R. Miller2015-12-031-1/+1
| |
* | fixes #3181: move from vendored lib to frameworkJustin R. Miller2015-12-071-4/+3
| | | | | | | | | | | | - Add license file to framework build step to satisfy CocoaPods linting. - Log version when rolling framework (refs #3046). - fixes #1426: get rid of dummy file since we make our own framework.
* | [ios] Silly rabbit, Cocoa bindings are for Mac developers!Minh Nguyễn2015-12-042-2/+2
| | | | | | | | Replaced the term “Cocoa bindings” in documentation because this library is for iOS, not OS X.
* | move back to symbolicated iOS fetch in masterJustin R. Miller2015-11-301-1/+1
| |
* | Merge branch 'release-ios-v3.0.0'Justin R. Miller2015-11-303-2/+4
|\ \ | |/
| * bump podspec to 3.0.0 final (no symbols)ios-v3.0.0Justin R. Miller2015-11-231-1/+1
| |
| * bump iOS version to 3.0.0-rc.1ios-v3.0.0-rc.1Justin R. Miller2015-11-231-1/+1
| |
| * show current version changelog section in docs & link externally to fullJustin R. Miller2015-11-232-1/+3
| | | | | | | | | | | | This is going to fail and output nothing for -pre and -rc tags for now until #3046 is addressed. We can't yet grab those but still have final releases sort after them.
| * bump version to ios-v3.0.0-pre.10ios-v3.0.0-pre.10Justin R. Miller2015-11-201-1/+1
| |
| * bump version to ios-v3.0.0-pre.9ios-v3.0.0-pre.9Justin R. Miller2015-11-181-1/+1
| |
| * refs #2380: plop Settings.bundle inside of framework distributionJustin R. Miller2015-11-182-0/+33
| |
| * bump version to ios-v3.0.0-pre.8ios-v3.0.0-pre.8Justin R. Miller2015-11-161-1/+1
| | | | | | | | [skip ci]
| * refs #3045: implicitly link dependencies for frameworkJustin R. Miller2015-11-162-0/+9
| | | | | | | | [skip ci]
| * refs #3045: correct bundle identifier for iOS framework targetJustin R. Miller2015-11-161-1/+1
| | | | | | | | [skip ci]
| * bump version to ios-v3.0.0-pre.7ios-v3.0.0-pre.7Justin R. Miller2015-11-161-1/+1
| |
| * static framework target for iOSJustin R. Miller2015-11-163-0/+34
| |
* | [core] Added MapDebugOptionsBruno de Oliveira Abinader2015-11-271-2/+2
| | | | | | | | | | Map debug options are now cycled up to all debug options enabled, then back to none.
* | Demonstrate show annotations in iosappMinh Nguyễn2015-11-241-6/+1
| | | | | | | | ref #3110
* | refs #2380: plop Settings.bundle inside of framework distributionJustin R. Miller2015-11-182-0/+33
| |
* | refs #3045: implicitly link dependencies for frameworkJustin R. Miller2015-11-162-0/+9
| | | | | | | | [skip ci]
* | refs #3045: correct bundle identifier for iOS framework targetJustin R. Miller2015-11-161-1/+1
| | | | | | | | [skip ci]
* | bump version to ios-v3.0.0-pre.7Justin R. Miller2015-11-161-1/+1
| |
* | static framework target for iOSJustin R. Miller2015-11-163-0/+34
|/
* bump iOS version to 3.0.0-pre.6ios-v3.0.0-pre.6Justin R. Miller2015-11-131-1/+1
| | | | [skip ci]
* [iOS] Replaced deprecated podspec flagMinh Nguyễn2015-11-091-1/+1
| | | | | | Per https://github.com/mapbox/mapbox-gl-native/issues/1870#issuecomment-132417161. ref CocoaPods/CocoaPods#3573
* Updated references to old build docsMinh Nguyễn2015-11-091-1/+1
| | | | Fixes #2871.
* bump iOS version to 3.0.0-pre.5ios-v3.0.0-pre.5Justin R. Miller2015-11-061-1/+1
|
* fixes #2961: download payload over HTTPSJustin R. Miller2015-11-061-1/+1
|
* [core] move mbgl.gyp to gyp directoryMike Morris2015-11-042-10/+10
| | | | | So npm won't clobber binding.gyp, refs https://github.com/npm/npm/issues/10243
* bump iOS version to 3.0.0-pre.4ios-v3.0.0-pre.4Justin R. Miller2015-11-021-1/+1
|
* bump iOS version in podspec/Fabricios-v3.0.0-pre.3Justin R. Miller2015-10-301-1/+1
|
* [core][iOS] Source iOS styles from default_stylesMinh Nguyễn2015-10-301-21/+5
| | | | | | | | | | Moved mbgl::util::default_styles to a more appropriate location, where iOS platform code can also find it. Moved -[MGLMapView bundledStyleURLs] (which is now deprecated) and the style switcher in iosapp to default_styles. Added a collection of convenience methods for getting style URLs. It makes little sense to layer an enum atop this, as MapKit does, because MGLMapView styles aren’t limited to this set. A good analogy is UIColor. This also makes for a good entry point for future runtime styling APIs. Introduced independent constants for each default style, because it’s more common to need access to a particular style than to iterate over them. This fact is apparent in the MGLStyle class, which now uses macros and assertions to ensure that it’s kept up-to-date with changes in default_styles. /ref #1462
* [core] Remove bundled styles.Leith Bade2015-10-304-4/+2
| | | | Fixes #2239
* More natural style names in iosappMinh Nguyễn2015-10-261-23/+18
| | | | ref #2740
* re-bump for ios-v3.0.0-pre.2ios-v3.0.0-pre.2Justin R. Miller2015-10-231-1/+1
|