maptalks / maptalks/maptalks.js

ImageLayer支持设置四点坐标

Open
#696 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

**maptalks's version and what browser you use?**
----
0.40.2
**Issue description**
----
目前ImageLayer只支持设置叠加图像的两点坐标,不能准确叠加某些图形

**Please provide a reproduction URL (on any jsfiddle like site)**
----

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 the ImageLayer entry point and its current two-point coordinate API. Determine how image placement is calculated and what four corner coordinates must represent. Done means ImageLayer can accept four coordinates and accurately overlay images that cannot be aligned using only two points.

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
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.