ol-pmtiles PMTilesVectorSource doesn't work with OpenLayers 10+
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 48/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 静か
- 技術スタック
- typescript
調査の方向性
Reproduce the provided OpenLayers 10.8.0 example with ol-pmtiles 2.0.2 and inspect the failure reported at util.js:29, comparing it with the stated OpenLayers 9 behavior. Trace the PMTilesVectorSource integration and verify that the example loads the vector layer without the ol_uid error on current OpenLayers versions.
索引モデルが issue の本文から書いたものです。
説明
PMTilesVectorSource only works with OL 9, not with the current versions.
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/ol.js"></script> <script src="https://unpkg.com/[email protected]/dist/olpmtiles.js"></script>Example from: https://github.com/protomaps/PMTiles/tree/main/openlayers
const vectorLayer = new ol.layer.VectorTile({
declutter: true,
source: new olpmtiles.PMTilesVectorSource({
url: "https://r2-public.protomaps.com/protomaps-sample-datasets/nz-buildings-v3.pmtiles",
attributions: ["© Land Information New Zealand"],
}),
style: new ol.style.Style({
stroke: new ol.style.Stroke({
color: "gray",
width: 1,
}),
fill: new ol.style.Fill({
color: "rgba(20,20,20,0.9)",
}),
}),
});
map.addLayer(vectorLayer);
util.js:29 Uncaught TypeError: Cannot read properties of undefined (reading 'ol_uid')
- 主要言語
- TypeScript
- スター
- 3.3k
- フォーク
- 218
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
protomaps/PMTiles のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
-
Viewer: archive URLs containing "=" are truncated when read from the hash対応中かも @nu11waredev が 16 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 83/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
Protocol: add `encoding: "mlt"` to the TileJSON for MLT archives対応中かも @tordans が 2 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 15/100
-
難易度 3/5 1〜2日 初心者へのやさしさ 30/100
protomaps/PMTiles の issue をすべて見る
似ている issue
-
enhancement UX
難易度 2/5 1〜3時間 初心者へのやさしさ 67/100
online-go/online-go.com#4000 ·
メンテナーはふだん 1 日以内に返信
-
enhancement good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
SnosMe/awakened-poe-trade#1976 ·
-
[BUG]オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 63/100
jonp-h/TillerQuest#319 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
terrazzoapp/terrazzo#902 ·