I have a custom point style I use for vehicles, which are pointshapes w/ an icon. This custom style allows the vehicles to rotate on the map. These vehicles will be moving a lot.
What I would like to do is be able to do things like: have a circle appear around the vehicle, have polygons attached to the vehicle, etc. This is supposed to represent sonar.
Below is a very bad drawing of what I mean:
The black square is the vehicle pointing north at a heading 0. Let’s say I have an input of 200 and 60. This would mean I want the red polygon shape to go 200 meters out from the vehicle, covering 60 degrees.
The next picture would be the same thing, except I would have an input of 200 and 360, indicating the red circle goes 200 meters out from the vehicle, covering 360 degrees.
I hope this makes sense of what I’m trying to accomplish. These attached shapes would move w/ the vehicle.