Project

General

Profile

Actions

Bug #5338

open

GoogleMap usage without Internet connection

Added by jimmi lauritsen over 7 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
Start date:
10/13/2016
Due date:
% Done:

0%

Estimated time:

Description

I have an embedded device running WT, using WT's built in web server.

On the web page I have a small window with google maps (among other things).

When the PC/browser accessing the device does not have an Internet connection,

the entire web interface is blocked/unusable/stalls.

I would expect the window with google maps to be unusable, but it seems to block the entire web interface.

Is there a way around this, so the remaining parts of the web interface is usable?.

I have a small example program, it shows white screen/nothing loaded,

if PC/browser does not have Internet connection:

WApplication *createApplication(const WEnvironment& env) {

Wt::WApplication *app = new Wt::WApplication(env);

app->setTheme(new Wt::WBootstrapTheme(app));

app~~root()>addWidget(new Wt::WText("MAP"));

Wt::WGoogleMap *map_ = new Wt::WGoogleMap();

app
root()~~>addWidget(map_);

app->triggerUpdate();

return app;

}

No data to display

Actions

Also available in: Atom PDF