summaryrefslogtreecommitdiff
path: root/include/mbgl/ios/Mapbox.h
Commit message (Collapse)AuthorAgeFilesLines
* [ios, osx] Consolidate remaining files in platform/{ios,osx}John Firebaugh2016-02-121-18/+0
|
* [ios] Refined custom callout view supportMinh Nguyễn2016-01-061-1/+1
| | | | Renamed MGLCalloutView to MGLCompactCalloutView and MGLCalloutViewProtocol to MGLCalloutView to avoid an awkward workaround for a Swift name collision. Replaced individual title and subtitle properties with a single representedObject property that lets you use custom annotation properties in the custom callout view. Overrode a problematic SMCalloutView method. Added lots more documentation.
* [ios] expose custom callout api, wrap around SMCalloutView classRomain Quidet2016-01-061-1/+2
|
* Revert "Revert "[ios] Custom style layer""Minh Nguyễn2015-12-161-0/+1
| | | | This reverts commit 081e4e44516937a6139fad5823dd5ec3200cc343.
* Revert "[ios] Custom style layer"John Firebaugh2015-12-161-1/+0
| | | | ec9a4cd3285da280d43c7ddd0ca96fe37d9c5278
* [ios] Custom style layerMinh Nguyễn2015-12-161-0/+1
| | | | | | 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.
* add IB additions to umbrella header to avoid framework warningsJustin R. Miller2015-11-171-0/+1
|
* [core][iOS] Source iOS styles from default_stylesMinh Nguyễn2015-10-301-0/+1
| | | | | | | | | | 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
* CameraOptionsMinh Nguyễn2015-09-071-0/+1
| | | | | | | | | | | | Plumbed camera options all the way through to MGLMapView. Added a method that lets you specify a direction in addition to center point and zoom level. Added Map::jumpTo() for parity with mapbox-gl-js. Replaced usage of Map::setLatLng() and Map::setLatLngZoom() with Map::jumpTo() or Map::easeTo() within MGLMapView. Replaced MGLMapView.pitch with MGLMapCamera for setting all supported degrees of freedom simultaneously. Simultaneously move and rotate with course. Support customizable timing functions on iOS. iosapp now persists an archived MGLMapCamera instead of separate viewpoint properties and also synchronizes user defaults on termination. This change implements persistence entirely in Objective-C, eliminating the use of the Objective-C++ implementation. Fixes #1643, fixes #1834. Ref #1581.
* GL is the library, SDK is the productJustin R. Miller2015-08-211-0/+13