Skip to content

Commit

Permalink
Fix compass warning in the MGLMapView (maplibre#498)
Browse files Browse the repository at this point in the history
  • Loading branch information
Nathan Van Fleet authored Oct 3, 2022
1 parent 7f0bf18 commit c10fd5a
Show file tree
Hide file tree
Showing 11 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion platform/ios/platform/ios/src/MGLMapView.mm
Original file line number Diff line number Diff line change
Expand Up @@ -1080,7 +1080,7 @@ - (void)layoutSubviews
@"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");
Expand Down
2 changes: 1 addition & 1 deletion vendor/cpp-httplib
Submodule cpp-httplib updated 58 files
+0 −26 .github/workflows/cifuzz.yaml
+3 −27 .github/workflows/test.yaml
+0 −7 .gitignore
+14 −0 .travis.yml
+19 −277 CMakeLists.txt
+157 −490 README.md
+9 −0 appveyor.yml
+0 −178 cmake/FindBrotli.cmake
+0 −12 example/Dockerfile.hello
+12 −29 example/Makefile
+2 −2 example/client.cc
+1 −1 example/hello.cc
+0 −29 example/simplecli.cc
+3 −3 example/simplesvr.cc
+0 −21 example/ssecli.cc
+0 −102 example/ssesvr.cc
+0 −6 example/uploader.sh
+2,027 −5,638 httplib.h
+0 −75 httplibConfig.cmake.in
+0 −110 meson.build
+0 −9 meson_options.txt
+20 −63 split.py
+8 −51 test/Makefile
+0 −27 test/fuzzing/Makefile
+0 −1 test/fuzzing/corpus/1
+0 −5 test/fuzzing/corpus/2
+ test/fuzzing/corpus/3
+ test/fuzzing/corpus/clusterfuzz-testcase-minimized-server_fuzzer-5372331946541056
+ test/fuzzing/corpus/clusterfuzz-testcase-minimized-server_fuzzer-5386708825800704
+ test/fuzzing/corpus/clusterfuzz-testcase-minimized-server_fuzzer-5667822731132928
+ test/fuzzing/corpus/clusterfuzz-testcase-minimized-server_fuzzer-5942767436562432
+ test/fuzzing/corpus/clusterfuzz-testcase-minimized-server_fuzzer-6007379124158464
+0 −7 test/fuzzing/corpus/clusterfuzz-testcase-minimized-server_fuzzer-6508706672541696
+0 −19 test/fuzzing/corpus/issue1264
+0 −88 test/fuzzing/server_fuzzer.cc
+0 −224 test/fuzzing/server_fuzzer.dict
+0 −35 test/fuzzing/standalone_fuzz_target_runner.cpp
+2,434 −5,817 test/gtest/gtest-all.cc
+16,323 −9,144 test/gtest/gtest.h
+4 −19 test/gtest/gtest_main.cc
+0 −5 test/include_httplib.cc
+0 −112 test/meson.build
+508 −3,328 test/test.cc
+0 −3 test/test.conf
+15 −21 test/test.vcxproj
+74 −59 test/test_proxy.cc
+0 −0 test/test_proxy_docker/Dockerfile
+0 −0 test/test_proxy_docker/basic_passwd
+0 −0 test/test_proxy_docker/basic_squid.conf
+0 −0 test/test_proxy_docker/digest_passwd
+0 −0 test/test_proxy_docker/digest_squid.conf
+0 −0 test/test_proxy_docker/docker-compose.yml
+1 −0 test/test_proxy_docker/down.sh
+1 −0 test/test_proxy_docker/up.sh
+0 −7 test/www/dir/meson.build
+1 −1 test/www/dir/test.abcde
+0 −6 test/www2/dir/meson.build
+0 −6 test/www3/dir/meson.build
2 changes: 1 addition & 1 deletion vendor/eternal
2 changes: 1 addition & 1 deletion vendor/googletest
Submodule googletest updated 285 files
2 changes: 1 addition & 1 deletion vendor/polylabel
Submodule polylabel updated 5 files
+2 −2 .travis.yml
+2 −6 README.md
+6 −10 package.json
+5 −13 polylabel.js
+5 −15 test/test.js
2 changes: 1 addition & 1 deletion vendor/wagyu
Submodule wagyu updated 61 files
+1 −1 .clang-format
+0 −28 .clang-tidy
+0 −4 .gitignore
+83 −49 .travis.yml
+0 −4 CHANGELOG.md
+0 −69 CMakeLists.txt
+4 −6 LICENSE
+82 −29 Makefile
+0 −1 README.md
+0 −5,975 bench/angus.cpp
+0 −473 bench/angus.hpp
+0 −245 bench/fixtures.hpp
+0 −10 bench/run.cpp
+0 −231 cmake/mason.cmake
+0 −4 codecov.yml
+6 −2 docs/README.md
+0 −7 docs/building_and_testing.md
+1 −1 docs/getting_started.md
+2 −2 docs/local_min_and_max.md
+1 −1 docs/overview.md
+47 −37 include/mapbox/geometry/wagyu/active_bound_list.hpp
+0 −277 include/mapbox/geometry/wagyu/almost_equal.hpp
+7 −5 include/mapbox/geometry/wagyu/bound.hpp
+3 −3 include/mapbox/geometry/wagyu/bubble_sort.hpp
+9 −6 include/mapbox/geometry/wagyu/build_edges.hpp
+3 −3 include/mapbox/geometry/wagyu/build_local_minima_list.hpp
+10 −6 include/mapbox/geometry/wagyu/build_result.hpp
+15 −12 include/mapbox/geometry/wagyu/config.hpp
+11 −8 include/mapbox/geometry/wagyu/edge.hpp
+0 −50 include/mapbox/geometry/wagyu/interrupt.hpp
+8 −6 include/mapbox/geometry/wagyu/intersect.hpp
+19 −12 include/mapbox/geometry/wagyu/intersect_util.hpp
+5 −4 include/mapbox/geometry/wagyu/local_minimum.hpp
+24 −15 include/mapbox/geometry/wagyu/local_minimum_util.hpp
+5 −4 include/mapbox/geometry/wagyu/point.hpp
+41 −29 include/mapbox/geometry/wagyu/process_horizontal.hpp
+18 −14 include/mapbox/geometry/wagyu/process_maxima.hpp
+14 −20 include/mapbox/geometry/wagyu/quick_clip.hpp
+25 −13 include/mapbox/geometry/wagyu/ring.hpp
+74 −58 include/mapbox/geometry/wagyu/ring_util.hpp
+5 −14 include/mapbox/geometry/wagyu/scanbeam.hpp
+12 −8 include/mapbox/geometry/wagyu/snap_rounding.hpp
+73 −51 include/mapbox/geometry/wagyu/topology_correction.hpp
+11 −24 include/mapbox/geometry/wagyu/util.hpp
+10 −8 include/mapbox/geometry/wagyu/vatti.hpp
+11 −15 include/mapbox/geometry/wagyu/wagyu.hpp
+0 −38 scripts/clang-tidy.sh
+33 −21 scripts/coverage.sh
+0 −36 scripts/format.sh
+0 −132 scripts/setup.sh
+387 −0 tests/benchmark.cpp
+9,460 −0 tests/catch.hpp
+22 −21 tests/fixture-tester.cpp
+12 −15 tests/fuzzer.cpp
+51 −0 tests/quick_clip_profile.cpp
+39 −0 tests/run-benchmark-tests.sh
+0 −46 tests/unit/edge.cpp
+0 −2 tests/unit/main.cpp
+5 −18 tests/unit/vatti.cpp
+10 −10 tests/util/boost_geometry_adapters.hpp
+0 −38 tests/util/fixture_utils.hpp
2 changes: 1 addition & 1 deletion vendor/zip-archive
Submodule zip-archive updated 74 files
+0 −15 .github/issue_template.md
+0 −76 .github/workflows/gha.yml
+0 −3 .gitignore
+7 −30 .travis.yml
+1 −7 Example/ObjectiveCExample/ViewController.m
+1 −7 Example/ObjectiveCExampleTests/CancelDelegate.h
+1 −7 Example/ObjectiveCExampleTests/CollectingDelegate.h
+ Example/ObjectiveCExampleTests/Multi_Zip_Test/0.m4a
+ Example/ObjectiveCExampleTests/Multi_Zip_Test/1.m4a
+ Example/ObjectiveCExampleTests/Multi_Zip_Test/2.m4a
+ Example/ObjectiveCExampleTests/Multi_Zip_Test/3.m4a
+ Example/ObjectiveCExampleTests/Multi_Zip_Test/4.m4a
+ Example/ObjectiveCExampleTests/Multi_Zip_Test/5.m4a
+ Example/ObjectiveCExampleTests/Multi_Zip_Test/6.m4a
+ Example/ObjectiveCExampleTests/Multi_Zip_Test/7.m4a
+1 −7 Example/ObjectiveCExampleTests/ProgressDelegate.h
+12 −197 Example/ObjectiveCExampleTests/SSZipArchiveTests.m
+7 −7 Example/Podfile
+4 −4 Example/Podfile.lock
+0 −0 Example/Sample Data/1.md
+0 −0 Example/Sample Data/2.md
+1 −1 Example/SwiftExample/AppDelegate.swift
+2 −2 Example/SwiftExample_macOS/ViewController.swift
+153 −184 Example/ZipArchiveExample.xcodeproj/project.pbxproj
+0 −8 Example/ZipArchiveExample.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
+14 −1 Example/ZipArchiveExample.xcodeproj/xcshareddata/xcschemes/ObjectiveCExample_iOS.xcscheme
+5 −1 Example/ZipArchiveExample.xcodeproj/xcshareddata/xcschemes/ObjectiveCExample_macOS.xcscheme
+5 −1 Example/ZipArchiveExample.xcodeproj/xcshareddata/xcschemes/ObjectiveCExample_tvOS.xcscheme
+14 −1 Example/ZipArchiveExample.xcodeproj/xcshareddata/xcschemes/SwiftExampleCarthage_iOS.xcscheme
+14 −1 Example/ZipArchiveExample.xcodeproj/xcshareddata/xcschemes/SwiftExample_iOS.xcscheme
+14 −1 Example/ZipArchiveExample.xcodeproj/xcshareddata/xcschemes/SwiftExample_macOS.xcscheme
+1 −1 LICENSE.txt
+0 −36 Package.swift
+8 −29 README.md
+20 −21 Release-Instructions.md
+9 −9 SSZipArchive.podspec
+2 −17 SSZipArchive/SSZipArchive.h
+4 −155 SSZipArchive/SSZipArchive.m
+5 −8 SSZipArchive/SSZipCommon.h
+2 −8 SSZipArchive/ZipArchive.h
+24 −52 SSZipArchive/minizip/mz.h
+317 −630 SSZipArchive/minizip/mz_compat.c
+46 −146 SSZipArchive/minizip/mz_compat.h
+32 −25 SSZipArchive/minizip/mz_crypt.c
+4 −3 SSZipArchive/minizip/mz_crypt.h
+105 −107 SSZipArchive/minizip/mz_crypt_apple.c
+99 −54 SSZipArchive/minizip/mz_os.c
+7 −6 SSZipArchive/minizip/mz_os.h
+60 −99 SSZipArchive/minizip/mz_os_posix.c
+128 −65 SSZipArchive/minizip/mz_strm.c
+7 −5 SSZipArchive/minizip/mz_strm.h
+106 −75 SSZipArchive/minizip/mz_strm_buf.c
+4 −3 SSZipArchive/minizip/mz_strm_buf.h
+73 −42 SSZipArchive/minizip/mz_strm_mem.c
+4 −3 SSZipArchive/minizip/mz_strm_mem.h
+4 −3 SSZipArchive/minizip/mz_strm_os.h
+57 −35 SSZipArchive/minizip/mz_strm_os_posix.c
+77 −31 SSZipArchive/minizip/mz_strm_pkcrypt.c
+4 −3 SSZipArchive/minizip/mz_strm_pkcrypt.h
+102 −66 SSZipArchive/minizip/mz_strm_split.c
+4 −3 SSZipArchive/minizip/mz_strm_split.h
+77 −34 SSZipArchive/minizip/mz_strm_wzaes.c
+4 −3 SSZipArchive/minizip/mz_strm_wzaes.h
+83 −52 SSZipArchive/minizip/mz_strm_zlib.c
+4 −3 SSZipArchive/minizip/mz_strm_zlib.h
+703 −619 SSZipArchive/minizip/mz_zip.c
+31 −45 SSZipArchive/minizip/mz_zip.h
+460 −301 SSZipArchive/minizip/mz_zip_rw.c
+18 −11 SSZipArchive/minizip/mz_zip_rw.h
+15 −27 ZipArchive.xcodeproj/project.pbxproj
+5 −1 ZipArchive.xcodeproj/xcshareddata/xcschemes/ZipArchive-Mac.xcscheme
+5 −1 ZipArchive.xcodeproj/xcshareddata/xcschemes/ZipArchive-iOS.xcscheme
+5 −1 ZipArchive.xcodeproj/xcshareddata/xcschemes/ZipArchive-tvos.xcscheme
+5 −1 ZipArchive.xcodeproj/xcshareddata/xcschemes/ZipArchive-watchos.xcscheme

0 comments on commit c10fd5a

Please sign in to comment.