Undocumented InfoboxOptions.autoAlignment property in Bing Maps v8?

Anonymous
2021-09-14T22:27:40.21+00:00

In the "Reusing an infobox" Bing Maps v8 online demo, I spotted InfoboxOptions.autoAlignment, which seems to automatically reposition Infoboxes so that they stay within the visible area of the map when they're opened for a pushpin that is near the edge. However, this property is not documented on the InfoboxOptions MS Docs page, and it's not in the Microsoft.BingMaps.V8.TypeScript NuGet package v2.0.3, so my TS doesn't compile when I add it.

The only other references I found to it on the web are in three-year-old threads in the old, archived forum. (Thread A, Thread B)

Can we show the v8 control some love and get this property documented and the TS updated? I'd really like to use this option instead of writing my own custom code to reposition the Infobox.

Windows Maps
Windows Maps
A Microsoft app that provides voice navigation and turn-by-turn driving, transit, and walking directions.
246 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. IoTGirl 2,976 Reputation points Microsoft Employee
    2021-09-18T00:26:33.783+00:00

    Hi CRHinners,

    I will ask the folks that know about the control and see.

    Sincerely,
    IoTGirl