Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added getSourceIds to the controller #197

Merged
merged 13 commits into from
Feb 27, 2023
Merged

Conversation

mariusvn
Copy link
Contributor

Added getSourceIds to the controller with the android (tested) and ios (no ability to test here sorry). Not implemented on the web as getLayerIds in not implemented too

I made the controller method returning a list of strings (Future<List<String>>) to have an explicit String list unlike getLayerIds who have a Future<List<dynamic>>

@mariusvn
Copy link
Contributor Author

the requested changes are done like you asked @m0nac0

@m0nac0
Copy link
Collaborator

m0nac0 commented Feb 23, 2023

Sorry for noticing only now: could you add a button somewhere in the example app using this new function? That way we could manually test it (now and in the future)

@mariusvn
Copy link
Contributor Author

mariusvn commented Feb 23, 2023

Yes, I was hesitant to do this when adding the feature so i'll do it later today

Edit: tomorrow

@mariusvn
Copy link
Contributor Author

I added a page with get layer ids and get source ids

@m0nac0 m0nac0 enabled auto-merge (squash) February 25, 2023 15:31
@m0nac0
Copy link
Collaborator

m0nac0 commented Feb 25, 2023

Great thanks! I enabled auto-merge, if you could again update with the latest changes from main it should merge automatically. (Btw, I was able to confirm it works on iOS)

@m0nac0 m0nac0 merged commit f357093 into maplibre:main Feb 27, 2023
@mariusvn mariusvn deleted the getSources branch February 27, 2023 11:15
stevehayles added a commit to stevehayles/flutter-maplibre-gl that referenced this pull request Apr 26, 2023
Added getSourceIds to the controller with the android (tested) and ios
(no ability to test here sorry). Not implemented on the web as
getLayerIds in not implemented too

I made the controller method returning a list of strings
(`Future<List<String>>`) to have an explicit `String` list unlike
`getLayerIds` who have a `Future<List<dynamic>>`
JanikoNaber pushed a commit to JanikoNaber/flutter-maplibre-gl that referenced this pull request Aug 23, 2023
Added getSourceIds to the controller with the android (tested) and ios
(no ability to test here sorry). Not implemented on the web as
getLayerIds in not implemented too

I made the controller method returning a list of strings
(`Future<List<String>>`) to have an explicit `String` list unlike
`getLayerIds` who have a `Future<List<dynamic>>`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants