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

[core] don't prefetch tiles for geojson sources #12529

Merged
merged 1 commit into from
Aug 2, 2018

Conversation

mollymerp
Copy link
Contributor

It doesn't make sense to prefetch GeoJSON tiles because there aren't any network calls associated with loading tiles from geojson-vt, and prefetching causes overdraw flickering to be much worse which is affecting users.

Related to #11877 (comment)

@1ec5 @LukasPaczos I took a quick look and didn't see any, but are there docs/examples I need to update reflecting this change?

@mollymerp mollymerp added the Core The cross-platform C++ core, aka mbgl label Aug 1, 2018
@mollymerp mollymerp requested a review from kkaefer August 1, 2018 17:46
@mollymerp mollymerp merged commit 1a84028 into master Aug 2, 2018
@mollymerp mollymerp deleted the dont-prefetch-geojson branch August 2, 2018 18:43
@LukasPaczos
Copy link
Member

Thanks for running with this one @mollymerp!

Does this PR impact prefetching for GeoJSON sources that are described with just a URL?

@mollymerp
Copy link
Contributor Author

Yes, it should impact both url and text GeoJSON sources @LukasPaczos

@LukasPaczos
Copy link
Member

Thanks for confirming @mollymerp.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Core The cross-platform C++ core, aka mbgl
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants