summaryrefslogtreecommitdiff
path: root/platform/macos/src/MGLMapViewDelegate.h
Commit message (Collapse)AuthorAgeFilesLines
* [ios, macos] Added a timing note for two delegate methods (#8259)Jordan Kiley2017-03-071-5/+9
|
* Delegate method to restrict movement (#5584)Minh Nguyễn2017-02-091-0/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * [ios, macos] Added delegate method to restrict movement Added a way for the delegate to restrict where the user can move within the map using gestures. Fixes #2457. * [ios] Added support to restrict movement in pinch/rotate gestures * [ios] Added support to restrict movement in double tap/quick zoom/two finger drag gestures * [ios] fixed camera reset before two finger drag gesture is complete * [ios] fixed camera comparison in double tap gestures * [ios] Changelog update * [macos] Changelog updated * [ios, macos] Changelog cleanup * [ios, macos] Added documentation to clarify performance impact * [ios] clarified variable name * [ios] blocking gestures implementation changed to a predictive approach * [ios] gesture delegate methods refactoring * [ios] Removed duplicated methods, improved code readability * [ios] code refactoring to clarify the conditions to execute a gesture
* [core] remove trailing whitespace, add trailing newlines, add space after //Konstantin Käfer2017-01-271-37/+37
|
* [ios, macos] Revert deprecation of alphaForShapeAnnotation: delegate methodJason Wray2017-01-131-1/+16
|
* [ios, macos] Update and reformat documentation for runtime styling (#7475)Minh Nguyễn2016-12-201-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * [ios, macos] Optimized changelog for runtime styling Changelog entries related to style JSON now lead off with the analogous portion of the runtime styling API. * [ios, macos] Autolink cross-class property references in docs jazzy can autolink `Class.property` references in documentation comments. * [ios, macos] Removed extra blank lines * [ios, macos] Corrected typo in MGLMultiPoint docs * [ios, macos] Rewrote shape and feature docs Rewrote documentation about MGLShape, its subclasses, and MGLFeature to emphasize runtime styling uses over annotation uses, associate each type with real-world concepts, cross-reference related style layer classes, and cross-reference related or easily confused shape classes. Links to the GeoJSON specification have been updated to RFC 7946. * [ios, macos] Expanded style layer docs With this change, documentation about style layer classes is nominally based on the documentation in the style specification. However, all the existing layer types’ documentation has been overridden to explain what the layer looks like, relate the layer to a real-world concept, and cross-reference related geometry classes. This change also corrects the description of MGLBackgroundStyleLayer, which erroneously stated that the identifier must be “background”, whereas that only happens to be true by default for Studio template styles. * [ios, macos] Wrap style layer docs * [ios, macos] Removed unused code * [ios, macos] Corrected symbol references in docs * [ios, macos] Corrected typo in abstract class exception
* [ios, macos] Deprecate -[MGLMapViewDelegate ↵Jason Wray2016-10-141-11/+7
| | | | mapView:alphaForShapeAnnotation:] (#6706)
* [ios, macos] Add -mapView:didFinishLoadingStyle: delegate methodJason Wray2016-10-111-0/+17
|
* Document -mapViewDidFailLoadingMap:withError: (#6145)Minh Nguyễn2016-08-241-0/+13
| | | | | | * [macos] Implement -mapViewDidFailLoadingMap:withError: * [ios] Documented -mapViewDidFailLoadingMap:withError:
* [ios, macos] Make Xcode 7.3 the minimum required versionJason Wray2016-08-181-2/+0
| | | | | | | | | - 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] Partially revert 06af75Bruno de Oliveira Abinader2016-07-141-1/+1
| | | | | Use static_cast<float> to convert from CGfloat when creating PropertyValue<float> and avoid breaking backwards-compatibility.
* [ios,macos] Update {Line,Fill}Annotation properties setterBruno de Oliveira Abinader2016-07-131-1/+1
|
* [ios, macos] Rewrote MGLMapViewDelegate, MGLAnnotationView docsMinh Nguyễn2016-07-021-14/+40
| | | | | | | | Reorganized MGLMapViewDelegate and MGLAnnotationView symbols into sections by task. Wrapped documentation comments at column 80 for readability. Added documentation for -mapViewWillStartRenderingFrame: and -mapViewDidFinishRenderingFrame:fullyRendered:, which are supported and behave as expected (except for the part that has been left undocumented). Synchronized iOS and macOS documentation for MGLMapViewDelegate. Added cross-references between annotation image and annotation view delegate methods and among the various callout delegate methods. Added missing MGLAnnotationViewDragState documentation and also added the symbol to jazzy’s table of contents. Rewrote MGLAnnotationView documentation.
* [macos] Renamed OS X SDK to macOS SDKMinh Nguyễn2016-06-181-0/+220
Also renamed as many references to OS X as possible to macOS in documentation. Cherry-picked from b9702ef41a4cfdd0ab3107cfe5cec16ba3a4c230.