summaryrefslogtreecommitdiff
path: root/platform/darwin
diff options
context:
space:
mode:
authorTom MacWright <tom@macwright.org>2016-02-15 12:43:00 -0500
committerTom MacWright <tom@macwright.org>2016-02-15 12:43:04 -0500
commit14f81dbed53b65d29bb71ea3b2b4e3ef44c1f068 (patch)
tree60978f5fb9c75dfd1a85fb3ea625e35cd3d51dfe /platform/darwin
parentfb9021f929ffd25fbe56b9ffe6ccc005666c640a (diff)
downloadqtlocation-mapboxgl-14f81dbed53b65d29bb71ea3b2b4e3ef44c1f068.tar.gz
Fix coordinate bounds documentation.
4-space indentation was being intepreted as a Markdown code block
Diffstat (limited to 'platform/darwin')
-rw-r--r--platform/darwin/include/MGLGeometry.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/platform/darwin/include/MGLGeometry.h b/platform/darwin/include/MGLGeometry.h
index 8d185805db..8cb1da10fc 100644
--- a/platform/darwin/include/MGLGeometry.h
+++ b/platform/darwin/include/MGLGeometry.h
@@ -72,8 +72,7 @@ NS_INLINE MGLCoordinateBounds MGLCoordinateBoundsOffset(MGLCoordinateBounds boun
}
/** Returns `YES` if the coordinate bounds covers no area.
-
- Note that a bounds may be empty but have a non-zero coordinate span (e.g., when its northeast point lies due north of its southwest point). */
+ Note that a bounds may be empty but have a non-zero coordinate span (e.g., when its northeast point lies due north of its southwest point). */
NS_INLINE BOOL MGLCoordinateBoundsIsEmpty(MGLCoordinateBounds bounds) {
MGLCoordinateSpan span = MGLCoordinateBoundsGetCoordinateSpan(bounds);
return span.latitudeDelta == 0 || span.longitudeDelta == 0;