Select to view content in your preferred language

Are there any best practices for representing symbols with real world orientations

50
0
9 hours ago
JonathanDawe_BAS
Occasional Contributor

I'm tracking a vessel's location in my application, and the symbol on the map is rotated based on its heading.

The problem is that this rotation is applied relative to the screen's Cartesian coordinates, rather than the map's actual spatial reference system.

I understand that adjusting for this isn’t straightforward—especially in projections where a straight line doesn’t follow a constant compass bearing (like polar projections).

Right now, I manually calculate the correct angle based on the projection, position, and bearing, while also accounting for map rotation. This is quite complex and requires map rotation watchers, and projection specific logic. 

Is there any built-in way to handle this automatically?

0 Kudos
0 Replies