summaryrefslogtreecommitdiff
path: root/platform/ios/Mapbox.playground
Commit message (Collapse)AuthorAgeFilesLines
* [ios] Small fixes to the Swift Playground (#15603)Jordan Kiley2019-09-162-6/+3
|
* [ios, macos] Convert various class methods to class propertiesJason Wray2018-04-161-1/+1
| | | | This improves the Swift interface while having no effect on Obj-C usage.
* [ios] Update playground for Swift 3.2+android-v6.0.0-beta.7Jason Wray2018-04-132-107/+14
|
* [ios] Migrated playground to Swift 3 (#5847)Minh Nguyễn2016-08-021-14/+101
| | | Fixes #5846.
* [ios] Removed MGLAnnotationView.flatMinh Nguyễn2016-07-021-1/+0
| | | | Removed MGLAnnotationView’s option to lie flat against a tilted map to work around #5090.
* [ios] Allow annotation views to be flattened (#5067)frederoni2016-05-181-0/+24
| | | | | | | | | | * [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-181-0/+1
| | | | | | | * [ios] Added centerOffset to MGLAnnotationView * [ios] Reposition immediately after changing the centerOffset closes #5059
* [ios] Introduce MGLAnnotationView and support for view annotationsJesse Bounds2016-05-133-0/+143
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.