Offline Search not working — TileStore fails to load tiles (erroredResourceCount = 10), OfflineIndexChangeListener not triggered
还没有人认领这个 Issue。
评估
调研方向
首先,使用示例多边形坐标复现 TileStore 离线区域的安装,并检查报告的资源数量。验证瓦片是否加载、离线索引是否创建,以及是否触发 OfflineIndexChangeListener.onIndexReady();该 issue 未提供可供检查的源文件或测试。
由索引模型根据 Issue 内容生成。
描述
Environment
- Search SDK Component:
- Core Search SDK (
SearchEngine) - Offline Search SDK (
OfflineSearchEngine) - Address Autofill SDK
- Search UI SDK
- Core Search SDK (
- Android OS version: (add here)
- Devices affected: (add here)
- Search SDK Version: (add here)
- Maps SDK/Nav SDK versions (if used): (add here)
Description
I am implementing Offline Search using the Mapbox Search SDK for Android, but the TileStore does not load the tiles for the offline region.
Even when using the sample polygon coordinates from the official SDK documentation, tile loading consistently fails.
As a result:
- All tiles show erroredResourceCount = 10
- completedResourceCount = 0
- The offline index is never created
OfflineIndexChangeListener.onIndexReady()does not trigger- Offline Search remains non-functional
Expected Behavior
- Tiles should download successfully
- Offline index should be built
onIndexReady()should be triggered- Offline search queries should return results
Actual Behavior
The TileStore load completes with all tiles in error state:
requiredResourceCount: 10
completedResourceCount: 0
erroredResourceCount: 10
completedResourceSize: 0
Since no tiles are downloaded, the offline search index never initializes.
Steps to Reproduce
- Create a TileStore instance
- Install an offline region using the sample polygon coordinates
- Observe the tile loading results (all fail)
- Add an
OfflineIndexChangeListener - Note that
onIndexReady()never triggers
Additional Notes
Please confirm:
- Whether the sample offline region tiles are still available
- Whether the polygon area requires updated coordinates
- Or if this is a regression in TileStore tile loading
This issue blocks offline search implementation in the project.
- 主要语言
- Kotlin
- 星标
- 39
- 派生
- 10
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
mapbox/mapbox-search-android 的其他 Issue
-
难度 4/5 3-5 天 新手友好度 35/100
mapbox/mapbox-search-android#364 · 2 条评论 ·
-
bug
难度 4/5 3-5 天 新手友好度 35/100
mapbox/mapbox-search-android#296 ·
-
bug
难度 3/5 1-2 天 新手友好度 32/100
mapbox/mapbox-search-android#272 · 1 条评论 ·
-
bug
难度 3/5 1-2 天 新手友好度 35/100
mapbox/mapbox-search-android#260 ·
-
bug
难度 3/5 1-2 天 新手友好度 30/100
mapbox/mapbox-search-android#259 ·
查看 mapbox/mapbox-search-android 的全部 Issue
相似的 Issue
-
bug
难度 2/5 1-3 小时 新手友好度 78/100
navikt/mock-oauth2-server#1129 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 77/100
-
unconfirmed
难度 2/5 1-3 小时 新手友好度 65/100
thunderbird/thunderbird-android#11778 · 2 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 65/100
world-federation-of-advertisers/cross-media-measurement#4709 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 70/100
维护者通常 1 天内回复