-
Notifications
You must be signed in to change notification settings - Fork 633
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Point Layer 是否支持自定义的shape? #1803
Comments
完全自定义可以使用 Marker,如果希望基于 Pointlayer 自定义可以说一下详细需求,我看看有什么方案 |
Marker 是可以自定义,但是需要完全自定义dom, 不宜使用,数据量大时,可能出现性能问题,最重要的是,集成的时候,想获得和PointLayer 一样的使用体验,所以,有这样的需求:
|
这种两种方式实现:
|
Hello @seanzb1985. Please provide a online reproduction by forking codesandbox of @antv/l7 demo template Issues labeled by 你好 @seanzb1985, 我们需要你提供一个在线的重现实例以便于我们帮你排查问题。你可以通过点击这里创建一个 @antv/l7 demo 模板 3 天内未跟进此 issue 将会被自动关闭。 |
由于该 issue 被标记为需要更多信息,却 15 天未收到回应。现关闭 issue,若有任何问题,可评论回复。 Since the issue was labeled as "👀 need more info" but no response was received for 15 days. Now close the issue. If you have any questions, feel free to comment. |
目前 PointLayer 只支持一些内置的shape 类型,如
// shape 支持的各种形状
type IFillShape =
| 'circle'
| 'square'
| 'hexagon'
| 'triangle'
| 'pentagon'
| 'octogon'
| 'hexagram'
| 'rhombus'
| 'vesica';
请问Point Layer是否可以支持自定义的Shape 类型,如果支持,请给一个参考示例。
The text was updated successfully, but these errors were encountered: