maptalks / maptalks/maptalks.js

polygonPatternFile纹理填充无法正常平铺

Open
#2,575 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
HTML
Stars
4.5k
Forks
511
Avg merge
3d 58m
Merged PRs (30d)
1

Description

使用polygonPatternFile为Polygon设置纹理填充,无法正常平铺。Demo中,红框外为CSS填充,中间的地图使用polygonPatternFile填充。

https://codepen.io/ageeye-cn/pen/KwdPbre

Image

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the reported texture-fill problem using the CodePen demo and the polygonPatternFile entry point. Compare the Polygon’s tiling behavior with the CSS-filled area shown in the demo, then verify that the texture tiles normally within the polygon without the reported mismatch.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.