Tomas Hruska
Tomas Hruska
GMLib stoped working like in **vpapanik** report from 2022-02-22. Looks like trouble with version of Google API, but can't be fixed with recomended method. Tested with version 3.48 and 3.49...
Workaround: 1. increase API version to 3.48 - described in this discussion 2. set emulation of higher version of IE or switch to other browser core
It's Windows settings i.e. https://learn.microsoft.com/en-us/answers/questions/830338/getting-browser-emulation-value-as-7000-even-thoug.html of course you can do it dy Delphi.
Code for IE higher version emulation: var regKey: TRegistry; var ieversion: integer := 9*1000 + 1; regKey := TRegistry.Create; regKey.RootKey := HKEY_CURRENT_USER; regKey.OpenKey('Software\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_BROWSER_EMULATION', true); var keyText := TPath.getFileName(Application.ExeName); if...
Yes, i use it in real project.
My configuration: - Win 10 - Delphi 10.3 - gmlib v.1 fork https://github.com/rclab-auth/GMLib-Delphi-Sydney-10.4.git - changed map.html to ver. 3.48 - recompiled resources - added code for IE higher version emulation...