Skip to content
This repository was archived by the owner on Aug 8, 2023. It is now read-only.

Commit ae45a13

Browse files
committed
[android] Update changes in MapObserver::onDidFailLoadingMap
1 parent 30ce132 commit ae45a13

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

platform/android/src/native_map_view.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ void NativeMapView::onDidFinishLoadingMap() {
209209
notifyMapChange(MapChange::MapChangeDidFinishLoadingMap);
210210
}
211211

212-
void NativeMapView::onDidFailLoadingMap() {
212+
void NativeMapView::onDidFailLoadingMap(MapObserver::ErrorType, const std::string& /* message */) {
213213
notifyMapChange(MapChange::MapChangeDidFailLoadingMap);
214214
}
215215

platform/android/src/native_map_view.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ class NativeMapView : public View, public Backend {
6262
void onCameraDidChange(MapObserver::CameraChangeMode) override;
6363
void onWillStartLoadingMap() override;
6464
void onDidFinishLoadingMap() override;
65-
void onDidFailLoadingMap() override;
65+
void onDidFailLoadingMap(MapObserver::ErrorType, const std::string& message) override;
6666
void onWillStartRenderingFrame() override;
6767
void onDidFinishRenderingFrame(MapObserver::RenderMode) override;
6868
void onWillStartRenderingMap() override;

0 commit comments

Comments
 (0)