Replies: 2 comments
-
|
Beta Was this translation helpful? Give feedback.
0 replies
-
(map.getSource('my-source') as GeoJSONSource).setData(...) |
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
-
Hello Everyone! I am using "maplibre-gl": "^2.1.1" in my Angular project and I want to animate a point along a line. I am following the example provided in Docs but when I reach this section of code
map.getSource('point').setData(point);
it says
"Property 'setData' does not exist on type 'Source'".
maplibre-gl-js version:
Question
Beta Was this translation helpful? Give feedback.
All reactions