summaryrefslogtreecommitdiff
path: root/platform/darwin/src/MGLMultiPoint.mm
diff options
context:
space:
mode:
authorJason Wray <jason@mapbox.com>2016-03-10 03:56:47 -0500
committerJason Wray <jason@mapbox.com>2016-03-10 13:48:00 -0500
commit64b163ee5dea3db2c5f6dcfaa4463e8e97e6333b (patch)
treee5e8ab1386974e97f31938a9323e0a01eb955971 /platform/darwin/src/MGLMultiPoint.mm
parentd03e87fa4d8aa9150bb3d5965de09c29f9fec99d (diff)
downloadqtlocation-mapboxgl-64b163ee5dea3db2c5f6dcfaa4463e8e97e6333b.tar.gz
[ios] Add description strings to constituent classes
Diffstat (limited to 'platform/darwin/src/MGLMultiPoint.mm')
-rw-r--r--platform/darwin/src/MGLMultiPoint.mm6
1 files changed, 6 insertions, 0 deletions
diff --git a/platform/darwin/src/MGLMultiPoint.mm b/platform/darwin/src/MGLMultiPoint.mm
index 3cd0f0c117..a864b7bce7 100644
--- a/platform/darwin/src/MGLMultiPoint.mm
+++ b/platform/darwin/src/MGLMultiPoint.mm
@@ -128,4 +128,10 @@ mbgl::Color MGLColorObjectFromCGColorRef(CGColorRef cgColor) {
return mbgl::ShapeAnnotation::Properties();
}
+- (NSString *)description
+{
+ return [NSString stringWithFormat:@"<%@: %p; count = %lu; bounds = %@>",
+ NSStringFromClass([self class]), (void *)self, (unsigned long)_count, MGLStringFromCoordinateBounds(_bounds)];
+}
+
@end