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.

XML setting for zoom

Featured Replies

Hi,Is there an XML command to set the zoom level of the forward view to a specifric value? I can only see the following in the FS2004 controls.dll list I have:ZOOM_1XZOOM_INZOOM_IN_FINEZOOM_MINUSZOOM_OUTZOOM_OUT_FINEZOOM_PLUSWhat I would like to do is write a small gauge that changes the zoom as I change altitude:> read altitude and write required zoom value to a variable> If altitude below a certain cutoff and zoom not default, set the default low altitude zoom> If altitude above a certain cutoff and zoom not default, set the default high altitude zoom> If altitude between the cutoff values and zoom not same as stored variable, set zoom to the stored variable...Thanks,Geoff

  • Moderator

No. The list you have are all that's available...However, you could program a number of sequential ZOOM_IN or ZOOM_OUT events to a single operation, but you'd have to experiment to determine how many times to send the commands to achieve your targeted goal.For example (in pseudo-code):

if (current altitude => 2000 feet){ ZOOM_OUT; ZOOM_OUT; ZOOM_OUT; }

Fr. Bill    

AOPA Member: 07141481 AARP Member: 3209010556


     Avsim Board of Directors | Avsim Forums Moderator
  • Author
No. The list you have are all that's available...However, you could program a number of sequential ZOOM_IN or ZOOM_OUT events to a single operation, but you'd have to experiment to determine how many times to send the commands to achieve your targeted goal.For example (in pseudo-code):
if (current altitude => 2000 feet){ ZOOM_OUT; ZOOM_OUT; ZOOM_OUT; }

Hmmm. The problem with that is that if I was levelling off for a time at an intermediate altitude, I might end up with an odd zoom value at the end. I suppose I could have some certain altitudes at which zooming events occured and a "done" variable to tell what had happened - getting pretty complicated now though!Odd that there wasn't a ZOOM_SET variable... (and annoying)Geoff

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.