Browser not supported by Google Maps

I wrote a small program (C #, WPF, .Net 4.6) with a frame. After loading the HTML file using google map, I got this error:

The browser you are using is not supported by the Google Maps JavaScript API. Use a different browser.

I already have the following HTML:

<head><meta http-equiv="X-UA-Compatible" content="IE=edge" /> 

But it doesn't work anymore.

Does anyone think why or what should I change?

+5
source share
3 answers

You can remove this error by adding:

 <style> .infomsg {display:none;} </style> 
+4
source

This post made me work for me: https://weblog.west-wind.com/posts/2011/may/21/web-browser-control-specifying-the-ie-version

It gives several registry parameters (I used an entry in the HKLM part of the registry). The disadvantage is that it seems to require a registry entry.

0
source

You must change the registry

SOFTWARE \ Microsoft \ Internet Explorer \ Main \ FeatureControl \ FEATURE_BROWSER_EMULATION to true

check this

https://weblog.west-wind.com/posts/2011/May/21/Web-Browser-Control-Specifying-the-IE-Version

0
source

Source: https://habr.com/ru/post/1270707/


All Articles