In my program, I use a bunch of QtQuick and C ++, where the first is responsible for the interface, and the second for solving capacious tasks. The application should work on a stationary PC and on mobile devices (with limited functionality). I do not want to delay in monologues, the question is simple: where are the source of this component (Map)? Can I make changes to it and immediately see these changes in my application or is it hard-wired in one of the libraries? It is clear that in the Qt source it is. But I would like to connect it as QML files to my project. You can start by customizing the Button or Rectangle component.
1 answer
Customizing Rectangle?
Create a new file MyRectangle.qml, write something similar inside, use MyRectangle everywhere
Rectangle { color: "red" } If we talk about Qt Quick Controls 2, then they customize something like that.
You can't do anything with Map without editing the source, but what exactly do you want?
- Substitute other tiles, work with rasters made with UAV, work in offline mode. - Vladislav Buzdin
- @ vladislav-buzdin - Yakov Eremin
- Went by chance: / So, look at MapBox. - Yakov Eremin
- Does not solve offline problems. And so the mapbox is used. It is very important to be able to open it all offline and transfer data from the machine to the machine through external drives for desktops. It is very unlikely that it will be realized by regular means. The mapbox for qt does not digest windows. - Vladislav Buzdin 2:44 pm
- For reference. In my possession are huge photographic plans of the surface of the earth. For example, the average size of one about 1-2 GB. This image is geo-referenced. Open it on the machine without the Internet will not work. - Vladislav Buzdin
|