WebGadget - to old to display Google-Maps - Alternatives?

Just starting out? Need help? Post your questions and find answers here.
PureLust
Enthusiast
Enthusiast
Posts: 477
Joined: Mon Apr 16, 2007 3:57 am
Location: Germany, NRW

WebGadget - to old to display Google-Maps - Alternatives?

Post by PureLust »

In one of my projects I need to display a Google-Maps Website.

But the Browser-Implementation used by PB WebGadget() is to old to display a Google-Maps Page.

Code: Select all

URL.s = "https://www.google.com/maps/"

OpenWindow(0,0,0,1000,600,"Browser Test", #PB_Window_SystemMenu | #PB_Window_MaximizeGadget | #PB_Window_SizeGadget)
WebGadget(0,0,0,1000,600,URL)

While WaitWindowEvent() <> #PB_Event_CloseWindow : Wend
Regarding to PBs-Help, the WebGadget() uses "Internet Explorer 4.0+ ActiveX Objekt".
As far as I remember, there was an Option in older PB-Versions, that one can choose between an IE- and FireFox-Engine for the WebGadget() - but this seems to be gone as well. :(

I searched the forum for an alternative and came across the thread "Awesomium - Chromium based Framework", but it also seems to be outdated and the DropBox-Link is not available anymore.

Does anyone has an Idea, how I could implement a Browser-Control which is not as outdated as PBs WebGadget()?

Thanks in advance,
PureLust.
[Dynamic-Dialogs] - create complex GUIs the easy way
[DeFlicker] - easily deflicker your resizeable Windows
[WinFX] - Window Effects (incl. 'click-through' Window)
User avatar
eddy
Addict
Addict
Posts: 1479
Joined: Mon May 26, 2003 3:07 pm
Location: Nantes

Re: WebGadget - to old to display Google-Maps - Alternatives

Post by eddy »

Hi,

The Windows webgadget becomes pretty useless because of these limitations.
You have to blame M$. :evil:

I think it's possible to embed a chromium app like NW or Electron.
But this solution will increase your package distribution size (75MB - 100MB)

Image
Imagewin10 x64 5.72 | IDE | PB plugin | Tools | Sprite | JSON | visual tool
User avatar
ts-soft
Always Here
Always Here
Posts: 5756
Joined: Thu Jun 24, 2004 2:44 pm
Location: Berlin - Germany

Re: WebGadget - to old to display Google-Maps - Alternatives

Post by ts-soft »

PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Image
IdeasVacuum
Always Here
Always Here
Posts: 6425
Joined: Fri Oct 23, 2009 2:33 am
Location: Wales, UK
Contact:

Re: WebGadget - to old to display Google-Maps - Alternatives

Post by IdeasVacuum »

Try incorporating the Midori browser. It's small, fast and cross-platform-ish.
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
User avatar
the.weavster
Addict
Addict
Posts: 1537
Joined: Thu Jul 03, 2003 6:53 pm
Location: England

Re: WebGadget - to old to display Google-Maps - Alternatives

Post by the.weavster »

Midori is based on webkit as is Chrome and Opera. Webkit is what I'd really like to see WebGadget based on, especially as css grid support is now being included as standard in quality browsers. I'd also like to be able to expose PB procedures to JavaScript as you can with QtWebKitBridge
PureLust
Enthusiast
Enthusiast
Posts: 477
Joined: Mon Apr 16, 2007 3:57 am
Location: Germany, NRW

Re: WebGadget - to old to display Google-Maps - Alternatives

Post by PureLust »

Thanks a lot for all the feedback.

And big thanks to ts-soft !!!
Very interesting Article and Kiffis Code does the trick. Image
[Dynamic-Dialogs] - create complex GUIs the easy way
[DeFlicker] - easily deflicker your resizeable Windows
[WinFX] - Window Effects (incl. 'click-through' Window)
Post Reply