Fix compass warning in the MGLMapView (#498)

This commit is contained in:
Nathan Van Fleet
2022-10-03 16:23:34 -07:00
committed by GitHub
parent 7f0bf18d33
commit c10fd5a615
11 changed files with 11 additions and 11 deletions

View File

@@ -24,7 +24,7 @@
### 🐞 Bug fixes
- *...Add new stuff here...*
- [iOS] Fix a bug where the compass was determined to be misplaced when hidden [#498](https://github.com/maplibre/maplibre-gl-native/pull/498).
- [core] `MaptilerFileSource` renamed to `MBTilesFileSource` [#198](https://github.com/maplibre/maplibre-gl-native/pull/198).
## maps-v1.6.0

View File

@@ -1080,7 +1080,7 @@ public:
@"The attribution is not in the visible area of the mapview. Please check your position and offset settings");
MGLAssert(self.scaleBar.isHidden || CGRectContainsRect(self.bounds, self.scaleBar.mgl_frameForIdentifyTransform),
@"The scaleBar is not in the visible area of the mapview. Please check your position and offset settings");
MGLAssert(self.compassView.isHidden || CGRectContainsRect(self.bounds, self.compassView.mgl_frameForIdentifyTransform),
MGLAssert(self.compassView.isHidden || self.compassView.compassVisibility == MGLOrnamentVisibilityHidden || CGRectContainsRect(self.bounds, self.compassView.mgl_frameForIdentifyTransform),
@"The compassView is not in the visible area of the mapview. Please check your position and offset settings");
MGLAssert(self.logoView.isHidden || CGRectContainsRect(self.bounds, self.logoView.mgl_frameForIdentifyTransform),
@"The logoView is not in the visible area of the mapview. Please check your position and offset settings");

2
vendor/eternal vendored

2
vendor/wagyu vendored