ElemeFE / ElemeFE/react-amap

请更新文档中关于offset的描述错误

Open
#137 3 comments 2 reactions 0 assignees View on GitHub
documentation
Dominant language
JavaScript
Stars
1k
Forks
148
PR merge metrics
No merged PRs in 30d

Description

+ [x] 我已经搜索过 issue,没有类似的问题,或者类似的问题仍然没有解决方案。
+ [x] 我已经搜索过[文档](https://elemefe.github.io/react-amap/articles/start),并且仍然没有找到解决方案。
+ [x] 我写了个问题重现的例子,链接或者代码将会贴在下面。

#### Reproduce Example Link or Code Fragment

const offset = {x: -100, y: -110};

const buildMarker = xx => (
``
``
``
);

#### What is Expected?

使用设置的offset渲染marker

#### What is actually happening?

文档中关于offset的描述为 {x, y} 或 Pixel, 使用后无效。

###### 在我阅读源代码后,我发现offset使用[x, y]。文档有误,请更新。

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.