Replies: 1 comment
-
https://l7.antv.antgroup.com/examples/point/text/#point_text 可以的,看这个demo , |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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);
Beta Was this translation helpful? Give feedback.
All reactions