MapView API - new functions - where are they?

According to the SU5 1.7.16.0 beta, there were a few functions added to the MapView API, as below:

Added “fsMapViewSetWeatherRadarTiltInRadians”, “fsMapViewSetWeatherRadarStabilization”, “fsMapViewSetWeatherRadarPitchLimitsInRadians”, “fsMapViewSetWeatherRadarBankLimitsInRadians” and “fsMapViewSetWeatherRadarScanRate” in MapView API

I can’t seem to find them in SDK 1.6.6 however… any clues?

The SDK will be updated tomorrow - we don’t always know when beta builds will go live so when it happens outside of Asobo’s working hours (which was the case for 1.7.16.0), there’s a short period of time where the beta build and the SDK documentation are desynchronized.

Best regards,

Eric / Asobo

Thank you Eric,

good to know! Appreciate the effort!

@EPellissier I am confused - @Boris said there’s a new SDK 1.6.6 which I have already downloaded, but those new MapView API functions are still not there.

Am I missing something?

Hello @simfan,

You have to download SDK v1.6.7. The added MapView API functions are there on that release, when you check at the MSFS_MapView.h header file. I found them on that SDK release.

Regards,
Carlos Daniel González Gómez
NextGen Simulations

Found it!

The new problem is that building a .wasm DLL with those new functions against 1.6.7 is not properly loading for me in SU4 - I will try another trick to see if that works…

These new functions are only available starting from SU5 - there is no chance you can get them to work in SU4.

NOTE: we have discovered an issue with the rendering performed by these new functions - this is under investigation.

Best regards,

Eric / Asobo

Thank you for the reply Eric-

so if we want to maintain compatibility with MSFS 2020 we will have to now provide two versions of our .wasm files, is that correct?

Yes but to be honest it has been like this from the start:

  • Either you work on an MSFS 2020 package that only uses MSFS 2020 features and will work on MSFS 2024 because of backwards compatibility.
  • Or you work on an MSFS 2024 package that can use MSFS 2024 features and will NOT work on MSFS 2020.
  • If you want to support both sims and benefit from 2024 features in your 2024 package, you must maintain two different sets of sources (some parts can be shared but some things will have to be specific).

Trying to use MSFS 2024 features in an MSFS 2020 package is not recommended nor officially supported.

Best regards,

Eric / Asobo