[rapid][services] Add PMTilesService and MetaService for client-side …#1782
Merged
jenningsanderson merged 6 commits intomainfrom Apr 15, 2026
Merged
[rapid][services] Add PMTilesService and MetaService for client-side …#1782jenningsanderson merged 6 commits intomainfrom
jenningsanderson merged 6 commits intomainfrom
Conversation
d176262 to
2911045
Compare
brad-richardson
approved these changes
Mar 24, 2026
| } | ||
| const roadData = { | ||
| coords, | ||
| bbox: { minX: minX - 0.0003, minY: minY - 0.0003, maxX: maxX + 0.0003, maxY: maxY + 0.0003 } |
Contributor
There was a problem hiding this comment.
This looks like maybe a dupe of what is in pmtiles service now, but without the bbox buffer constant?
| if (dataset.service === 'mapwithai') { | ||
| if (zoom >= 15) { // avoid firing off too many API requests | ||
| service.loadTiles(datasetID); // fetch more | ||
| if (zoom >= 14) { |
Contributor
There was a problem hiding this comment.
Was this intentional?
6bc9425 to
edbdbb7
Compare
fd5df38 to
ffa461d
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A work-in-progress to implement basic client-side conflation of the Facebook ML road predictions to load from a PMTiles archive instead of the mapwith.ai/map/ml_road endpoint.
TODO: