Comments (1)
Hi. Sorry for the slow response. It is possible, but might require a bit of effort. The code supports different "Tile Source" implementations. These can have their own implementations for loading tiles (e.g. HTTP requests, drawing on the fly, or loading from disk). There isn't one built-in for loading from disk, but the base class that they all inherit from does have the ability to store downloaded/rendered tiles to a disk cache and then load from there instead of hitting the network or rendering the tiles again.
See, for example, parts of the caching implementation in MapTileSource
:
MapGraphics/MapGraphics/MapTileSource.cpp
Lines 169 to 219 in 0cf9af2
You could conceivably implement a tile source that reuses this caching functionality, or maybe do something else. In either case, you'll probably want to implement a child class of MapTileSource
.
from mapgraphics.
Related Issues (20)
- Compatibility with Qt 4 may be broken? HOT 1
- Downstream HOT 1
- LineObject is not positioned properly on the map HOT 3
- using maker and drawing points HOT 3
- Change map CRS (Coordinate Reference Systems) support. HOT 2
- PolygonObject painting as if open, Only repainting at certain zoom levels HOT 2
- Get latitude/longitude on mouse double click HOT 2
- Network Error: "Host otile1.mqcdn.com not found" HOT 2
- Tile references to openstreetmap.org should be https not http now. HOT 2
- Zoom the map with the mouse wheel
- Itβs good written code. HOT 1
- TestApp is not working - URL changed HOT 1
- How to rotate map HOT 5
- Map Flicking HOT 1
- Error compilation with Qt 6 HOT 5
- Image could not be redrawn HOT 1
- SSL Error
- Software license is missing HOT 1
- Issues compiling using MSVC11 (2012)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mapgraphics.