"workOffline"
Specifies whether the Maps Widget will try to access online data or only displays data available locally.
Synopsis
shape.workOffline(bool offline);
Parameters
| Parameter | Description |
|---|---|
| offline |
FALSE = the Maps Widget will try to access online data. TRUE (default) = only displays data available locally. |
Details
Specifies whether the Maps Widget will try to access online data (false) or only displays data available locally (true; default). When working in offline mode, the following data is available for the Maps Widget:
- Map data stored in <product>/data/marble. This includes the complete physical and plain map themes, and the most zoomed-out level of the other map themes.
- Map data stored in the tile cache. The tile cache is filled in online mode whenever new map data is downloaded up to a given limit; its content is then also available offline.
- Map data added with addGeoDataFile().
