summaryrefslogtreecommitdiff
path: root/platform/darwin/src/MGLOverlay.h
diff options
context:
space:
mode:
authorMinh Nguyễn <mxn@1ec5.org>2016-12-06 23:36:55 -0800
committerGitHub <noreply@github.com>2016-12-06 23:36:55 -0800
commit4c2aec2355b166174bd062b1d27f8f89fad6008c (patch)
tree5d840c4b0d79dc401fc84ffad70ef0d2478bc524 /platform/darwin/src/MGLOverlay.h
parent9f9422deb808ff5f77aa640c8222207fa6456e04 (diff)
downloadqtlocation-mapboxgl-4c2aec2355b166174bd062b1d27f8f89fad6008c.tar.gz
[ios, macos] More ways to reshape an MGLMultiPoint (#7251)
* [ios, macos] Completed API for mutating multipoints Added the complete set of methods for mutating the vertices of an MGLMultiPoint. Also rewrote MGLMultiPoint documentation to refer to vertices instead of points. * [ios, macos] Removed inaccurate MGLOverlay commentary This paragraph is full of references to features that exist in MKOverlay but not MGLOverlay. * [ios, macos] Lazily compute multipoint bounds Invalidate the bounds whenever the coordinates change, but don’t recompute the bounds until they’re requested. Simplified -intersectsOverlayBounds: for immutable overlay classes. Added a utility function for testing whether two MGLCoordinateBounds intersect, based on mbgl::LatLngBounds::intersects(). Removed unused color conversion code.
Diffstat (limited to 'platform/darwin/src/MGLOverlay.h')
-rw-r--r--platform/darwin/src/MGLOverlay.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/platform/darwin/src/MGLOverlay.h b/platform/darwin/src/MGLOverlay.h
index 48d10d9de1..1066a86d1e 100644
--- a/platform/darwin/src/MGLOverlay.h
+++ b/platform/darwin/src/MGLOverlay.h
@@ -17,14 +17,6 @@ NS_ASSUME_NONNULL_BEGIN
example, you could use an overlay to show the boundaries of a national park or
trace a bus route along city streets. This SDK defines several concrete classes
that conform to this protocol and define standard shapes.
-
- Because overlays are also annotations, they have similar usage pattern to
- annotations. When added to a map view using the `-addOverlay:` method, that
- view detects whenever the overlay’s defined region intersects the visible
- portion of the map. At that point, the map view asks its delegate to provide a
- special overlay view to draw the visual representation of the overlay. If you
- add an overlay to a map view as an annotation instead, it is treated as an
- annotation with a single point.
*/
@protocol MGLOverlay <MGLAnnotation>