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

Mapbox style multiple source #2128

Merged
merged 4 commits into from
Mar 20, 2024
Merged

Conversation

a-dutremble
Copy link
Contributor

@a-dutremble a-dutremble commented Jul 3, 2023

Description

Add multiple source Mapbox style support.
We've modified the entire process: source, url builder, fetcher and parser.

Motivation and Context

Fixes #1927

Follow up after the departure of Aymeric

I took this review into my hand and did the changes I found neccessary and improvment I think was needed. I choose not to delete the commit from aymeric to be able to see what he did before my changes. At the end before the merging, the commits will be squashed.

@a-dutremble a-dutremble force-pushed the mapbox_style branch 9 times, most recently from dbdab8d to 14c1f70 Compare July 4, 2023 09:56
@jailln jailln marked this pull request as ready for review September 4, 2023 14:43
src/Provider/URLBuilder.js Outdated Show resolved Hide resolved
return Promise.resolve(multiplePBF(file, options));
} else {
return Promise.resolve(readPBF(file, options));
}
Copy link
Contributor

Choose a reason for hiding this comment

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

If we think about the name and utility of this function, it is writen to parse a specifique file and thus it shouldn't be able to deal with a list of files.

src/Provider/Fetcher.js Outdated Show resolved Hide resolved
src/Source/Source.js Outdated Show resolved Hide resolved
src/Source/Source.js Outdated Show resolved Hide resolved
@a-dutremble a-dutremble force-pushed the mapbox_style branch 5 times, most recently from 70ac825 to 505d176 Compare September 25, 2023 10:26
@a-dutremble a-dutremble force-pushed the mapbox_style branch 2 times, most recently from 23323f2 to b9b6976 Compare December 7, 2023 15:33
@jailln jailln self-assigned this Dec 11, 2023
@jailln jailln self-requested a review December 11, 2023 08:48
@ftoromanoff ftoromanoff force-pushed the mapbox_style branch 8 times, most recently from d90933d to 6165f16 Compare December 15, 2023 10:19
@jailln jailln removed their request for review January 29, 2024 14:01
@jailln jailln removed their assignment Jan 29, 2024
examples/vector_tile_multisource.html Outdated Show resolved Hide resolved
examples/vector_tile_multisource.html Outdated Show resolved Hide resolved
examples/vector_tile_multisource.html Outdated Show resolved Hide resolved
@ftoromanoff ftoromanoff force-pushed the mapbox_style branch 3 times, most recently from a394721 to 830a9ca Compare February 9, 2024 15:39
ftoromanoff
ftoromanoff previously approved these changes Feb 9, 2024
@ftoromanoff ftoromanoff self-requested a review February 9, 2024 15:41
@Desplandis Desplandis dismissed ftoromanoff’s stale review March 20, 2024 09:43

@ftoromanoff is now one of the main author of this PR

@ftoromanoff ftoromanoff merged commit 9fa4cde into iTowns:master Mar 20, 2024
9 checks passed
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.

Mapbox Style with multiple sources not being rendered correctly
4 participants