diff options
author | Jason Wray <jason@kulturny.com> | 2015-07-02 22:24:18 -0400 |
---|---|---|
committer | Jason Wray <jason@kulturny.com> | 2015-07-02 22:25:30 -0400 |
commit | 505d1cdbf7da4958ccaf32fc6433563d7ff8741f (patch) | |
tree | a294de81d8c7e93ba0e605bbf828c72cb56acbdd | |
parent | 108792420c1907f4ecf1d7b03f28e4a5ac33b27f (diff) | |
download | qtlocation-mapboxgl-505d1cdbf7da4958ccaf32fc6433563d7ff8741f.tar.gz |
Set collision debug with setDebugActive:
Forgot this when collision was added to toggleDebug. isDebugActive still relies soley on plain getDebug().
-rw-r--r-- | platform/ios/MGLMapView.mm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/platform/ios/MGLMapView.mm b/platform/ios/MGLMapView.mm index 06a2ef36be..38ecb66080 100644 --- a/platform/ios/MGLMapView.mm +++ b/platform/ios/MGLMapView.mm @@ -1382,6 +1382,7 @@ std::chrono::steady_clock::duration secondsAsDuration(float duration) - (void)setDebugActive:(BOOL)debugActive { _mbglMap->setDebug(debugActive); + _mbglMap->setCollisionDebug(debugActive); } - (BOOL)isDebugActive |