Skip to content
View in the app

A better way to browse. Learn more.

The AVSIM Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

How to rotate a bitmap or polygon.

Featured Replies

Hi all (A:NAV1 DME,nmiles) 3.4 * (L:HSI RANGE, number) 80 / /(A:NAV1 RADIAL,Radians) (A:GPS GROUND MAGNETIC TRACK, Radians) - Puts a bitmap or poly over or near your waypoint or navaid in the EHSI but how can you rotate the image.

Paul EGLD

Hi,May be it helps to add:.....Jan"Beatus ille qui procul negotiis..."

Jan

 

 

 

"Beatus ille qui procul negotiis..."

  • Author

Hi Jan I have a shift and rotate to locate the bitmap position, Can I have another rotate to turn the bitmap in the same element.

Paul EGLD

Hi Paul,You might use and to locate the bmp position, and then rotate the bitmap as wished, (ie over its axis).Tom

  • Author

Hello Tom Yes that could solve it, Can you give an example of the Shift x and Y Syntax. I have not seen this before and not making any progress. Paul

Paul EGLD

Hi,I use:12Jan"Beatus ille qui procul negotiis..."

Jan

 

 

 

"Beatus ille qui procul negotiis..."

Hi Paul,This comes from an unfinished code of my ND that is still in development, but could be a useful example.First I place the bmp ref coordinates (0,0) on the upper vertex of the aircraft symbol. Then use this: @ValidInt @XposInt@YposInt **** Now that the bmp is properly positioned, from here you can proceed to rotate it as wished *****and the macros: (L:WpAngle,radians) sin (@c:NearestIntersectionCurrentDistance,nmiles) * /-/ (L:WpAngle,radians) cos (@c:NearestIntersectionCurrentDistance,nmiles) * /-/ :0 (L:IntCL,enum) s0 (>@c:NearestIntersectionCurrentLine) l0 5 < if{ l0 ++ (>L:IntCL,enum) g0 } (@c:NearestIntersectionCurrentTrueBearing,radians) (A:GPS MAGVAR, radians) - (A:GPS Ground Magnetic Track, radians) - /-/ (>L:WpAngle,radians) 1Hope this makes sense to you :-)Tom

  • Author

Hello Tom Nice one, got what I needed works OK. Now added (L:SetHoldTrack, degrees) can change inbound track in FMC (L:TurnDirectionHold,number) 1 == (L:SetHoldTrack, degrees) dgrd (A:GPS Ground Magnetic Track, radians) - (L:Holdrad,radians) (A:GPS MAGVAR, radians) - (A:GPS Ground Magnetic Track, radians) - /-/ cos (L:Holddist, nmiles) * /-/ (L:HSI RANGE, number) 80 / /(L:Holdrad,radians) (A:GPS MAGVAR, radians) - (A:GPS Ground Magnetic Track, radians) - /-/ sin (L:Holddist, nmiles) * /-/ (L:HSI RANGE, number) 80 / / Got work out how to draw a hold pattern with polyline now. Thanks Paul

Paul EGLD

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.