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

[android] add api to enable/disable tile prefetching - #9537

Merged
ivovandongen merged 1 commit into
masterfrom
9437-android-prefetch
Jul 20, 2017
Merged

ivovandongen merged 1 commit into
masterfrom
9437-android-prefetch

Conversation

@ivovandongen

Copy link
Copy Markdown
Contributor

Fixes #9437

@ivovandongen ivovandongen added the Android Mapbox Maps SDK for Android label Jul 18, 2017
@ivovandongen ivovandongen self-assigned this Jul 18, 2017
@ivovandongen
ivovandongen requested a review from tobrun July 18, 2017 14:27
@tobrun tobrun added this to the android-v5.2.0 milestone Jul 18, 2017

@tobrun tobrun left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could we expose this configuration through MapboxMapOptions/attributes instead? Ideally we set this configuration before loading a style/tiles. If we expose this on MapboxMap the style has already finished loading.

@ivovandongen
ivovandongen force-pushed the 9437-android-prefetch branch from 3fa2086 to a15c7bc Compare July 19, 2017 09:00
@ivovandongen

Copy link
Copy Markdown
Contributor Author

@tobrun

Could we expose this configuration through MapboxMapOptions/attributes instead?

As discussed on chat; I've added the mapbox options initialisation, but kept the methods on MapboxMap to be able to switch at runtime.

@ivovandongen
ivovandongen merged commit c5300eb into master Jul 20, 2017
@ivovandongen
ivovandongen deleted the 9437-android-prefetch branch July 20, 2017 08:11
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Android Mapbox Maps SDK for Android

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants