Replies: 1 comment
|
https://l7.antv.antgroup.com/examples/point/text/#point_text 可以的,看这个demo , |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
const imageLayer = new PointLayer({ layerType: 'fillImage', })
.source(carPoints, {
parser: {
type: 'json',
x: 'longitude',
y: 'latitude',
},
})
.shape('car')
.style({
rotation: (data) => data.rotation, // 类似这种回调
billboard: false,
})
.size(20);
All reactions