Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Aug 8, 2023. It is now read-only.

MGLOfflinePackObserver#15851

Open
mateuszmackowiak wants to merge1 commit intomapbox:master
base:master
Choose a base branch
Loading
frommateuszmackowiak:MGLOfflinePackObserver

Conversation

@mateuszmackowiak
Copy link

The main issue for us is that we do not receive a callback on when the offline maps states are loaded.
When referencing[MGLOfflineStorage sharedOfflineStorage] for the first time it calls internallyreloadPacks method witch is asynchronous with no callback.
I know that we can observer the packages by KVO and the for all packages we can requestrefreshProgress and then once again observer with KVO the state but synchronising it all is problematic and without proper memory management and removal of kvo observers it will crush.

I have made a pull request that extends theMGLOfflineStorageDelegate with an optional method- (void)didReloadPackagesForOfflineStorage:(MGLOfflineStorage *)storage; that should inform clearly what was loaded.

@mateuszmackowiakmateuszmackowiak requested a review froma teamOctober 24, 2019 09:59
@1ec51ec5 added iOSMapbox Maps SDK for iOS macOSMapbox Maps SDK for macOS offline labelsOct 28, 2019
@julianrex
Copy link
Contributor

@mateuszmackowiak thanks for the PR - we will review. FYI we're in the process of transitioning the iOS/macOS code to a separate repo, so please bear with us.

@julianrex
Copy link
Contributor

julianrex commentedMar 9, 2020
edited
Loading

Apologies for the delay -@mateuszmackowiak are you still interested in this feature?If so, can you please recreate it inhttp://github.com/mapbox/mapbox-gl-native-ios? /cc@1ec5

Closing this as not-actionable in this repo.

Update: We will create a new PR on your behalf.

@julianrexjulianrex reopened thisMar 9, 2020
@knovknov removed request fora team,1ec5 andfabian-guerraMarch 30, 2020 18:34
@mateuszmackowiak
Copy link
Author

Hi, I don't see the PR in the new repo? Should I create it?

@knovknov removed this from therelease-unicorn milestoneJul 29, 2020
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.

Reviewers

No reviews

Assignees

No one assigned

Labels

iOSMapbox Maps SDK for iOSmacOSMapbox Maps SDK for macOSoffline

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

5 participants

@mateuszmackowiak@julianrex@1ec5@knov@chloekraw

[8]ページ先頭

©2009-2025 Movatter.jp