diff options
author | Jason Wray <jason@mapbox.com> | 2016-03-10 03:56:47 -0500 |
---|---|---|
committer | Jason Wray <jason@mapbox.com> | 2016-03-10 13:48:00 -0500 |
commit | 64b163ee5dea3db2c5f6dcfaa4463e8e97e6333b (patch) | |
tree | e5e8ab1386974e97f31938a9323e0a01eb955971 /platform/darwin/src/MGLMultiPoint.mm | |
parent | d03e87fa4d8aa9150bb3d5965de09c29f9fec99d (diff) | |
download | qtlocation-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.mm | 6 |
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 |