* Map Life Facts with IE pane

For users to report plugin bugs and request plugin enhancements; and for authors to test new/new versions of plugins, and to discuss plugin development (in the Programming Technicalities sub-forum). If you want advice on choosing or using a plugin, please ask in General Usage or an appropriate sub-forum.
Post Reply
User avatar
tatewise
Megastar
Posts: 28414
Joined: 25 May 2010 11:00
Family Historian: V7
Location: Torbay, Devon, UK
Contact:

Map Life Facts with IE pane

Post by tatewise »

This posting is as much a reminder to me as a request for assistance.

The Map Life Facts plugin has always used the Internet Explorer shell in its lower pane to display Google Maps, etc.
That was advised by Microsoft until they introduced Microsoft Edge WebView2 in 2020, which is now used in FH v7.
Internet Explorer is being phased out over the next year or so.

The Google Maps API is starting to complain about the use of the Internet Explorer shell in Map Life Facts.
Its warning says:
"You are using a browser that is not supported by the Google Maps JavaScript API. Please consider changing your browser.
Learn more Dismiss"
The Learn more link opens the Google Maps JavaScript documentaion for 'Handling unsupported browsers'.
That suggests using <meta http-equiv="x-ua-compatible" content="IE=edge"> in the HTTP script but it does not help.

In that documentation, under the Browser Support link it says:
"Beginning in August 2021, a warning message will appear to Internet Explorer 11 users at the top of maps. The last version of the Maps JavaScript API to support Internet Explorer 11 is v3.47. Support for Internet Explorer 11 will be entirely discontinued in August 2022. This also applies to the IE mode in Edge."
So the clock is ticking... :(

To avoid the warning, the plugin is currently forcing the use of Google Maps JavaScript API v3.45 (v3.46 & v3.47 did not work).

The plugin uses the following standard Lua script to invoke the Internet Explorer shell:

Code: Select all

	-- Create the WebBrowser based on its ProgID and connect it to LuaCOM
	OLEcontrol = iup.olecontrol { "Shell.Explorer.1"; DesignMode="NO"; }
	OLEcontrol:CreateLuaCOM()
I have not been able to discover an equivalent Lua script to invoke Microsoft Edge WebView2.

If no such alternative is discovered then the Map Life Facts plugin will probably not work after August 2022. :roll:
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry
avatar
JoopvB
Superstar
Posts: 328
Joined: 02 May 2015 14:32
Family Historian: V7

Re: Map Life Facts with IE pane

Post by JoopvB »

User avatar
tatewise
Megastar
Posts: 28414
Joined: 25 May 2010 11:00
Family Historian: V7
Location: Torbay, Devon, UK
Contact:

Re: Map Life Facts with IE pane

Post by tatewise »

Thank you. That is heading in the right direction in conjunction with https://github.com/javalikescript/lua-webview

However, the Edge webview C Library, JavaScript, and Lua library need implementation by CP in FH to get it to work.
Otherwise. users who download the Plugin won't have those components installed on their PC.
Let me investigate...
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry
User avatar
Ron Melby
Megastar
Posts: 928
Joined: 15 Nov 2016 15:40
Family Historian: V6.2

Re: Map Life Facts with IE pane

Post by Ron Melby »

https://docs.microsoft.com/en-us/micros ... stribution

can most of it be dowloaded via loadrequire require I expect you would need at present the 32 bit job for widest compat, until everybody is caught up to the '90s.
FH V.6.2.7 Win 10 64 bit
Post Reply