maptalks / maptalks/maptalks.js

Polygon面用polygonPatternFile填充背景图 但是随着地图缩放 背景图会自动缩放并铺满 可以设置类似no-repeat的效果吗

Open
#2,574 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

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

Start by tracing how Polygon handles polygonPatternFile during map zoom and how the background image is repeated or resized. The issue provides no source file or test entry point, so first identify the relevant rendering code. Done should mean that Polygon background images support a configurable no-repeat behavior without the image automatically scaling and filling the polygon.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.