QtLocation map updates
Linus Torvalds
torvalds at linux-foundation.org
Tue Aug 1 15:31:57 PDT 2017
On Tue, Aug 1, 2017 at 2:55 PM, Lubomir I. Ivanov <neolit123 at gmail.com> wrote:
>
> someone already did this:
> https://github.com/vladest/googlemaps
>
> not sure how i've missed that in the google search results????
>
> and it works; at least after testing it for 10 minutes - more zoom
> levels, no missing tiles, offline caching, terrain / hybrid maps:
> https://gifyu.com/images/google_maps_provider.gif
Looking good.
> the source code is MIT licensed. the last update is from the 10th of
> June and is to make it work with Qt 5.9.
> i was able to build it without a problem on Windows using Qt 5.9.0.
The other good part about it is just the size. The project size right
now is just 2636 lines total, and that's with gitignore files and
license etc.
The individual source files are a couple of hundred of lines of code.
The license apparently *used* to be LGPL 3, but got switched to MIT
immediately.
I didn't really look at the source code very much, but what I looked
at didn't look horrible. I'm a *bit* worried about things like this:
// Google version strings
_versionGoogleMap = "m at 338000000";
_versionGoogleSatellite = "198";
_versionGoogleLabels = "h at 336";
_versionGoogleTerrain = "t at 132,r at 338000000";
_secGoogleWord = "Galileo";
which to me implies there is some hardcoded special magic going on,
but it looks like it updates those strings based on the replies, and
then never actually *uses* them, so maybe it's just debugging.
So this does seem to be one very possible solution to all the map issues.
Linus
More information about the subsurface
mailing list