WPF GoogleMaps API in a WebBrowser

Alessandro Anteritano 36 Reputation points
2022-02-16T08:30:16.753+00:00

Hi everyone,

use in WPF GoogleMaps API in a WebBrowser, I got this message from Google:

"We are writing to remind you that the use of the Maps JavaScript API and Embed API from the Internet Explorer 11 (IE11) browser will be completely disabled in August 2022."

anyone have solutions? do I have to rewrite everything using BING?

Thanks for your help Alex

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,755 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Viorel 116.6K Reputation points
    2022-02-16T09:38:58.297+00:00

    Consider the new generation of Web browser controls -- WebView2: https://learn.microsoft.com/en-us/microsoft-edge/webview2/get-started/wpf. It requires a NuGet package. Probably a series of adjustments will be needed. Keep you current version too until August.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.