Packaging custom maps

Mika Rajala mika.rajala at patria.fi
Tue May 14 13:40:47 BST 2019


Hi

I'm trying to package a custom map for offline use into my program. Is there a way to make MarbleWidget load my map when it's stored in the same directory as the program I created?

I have created a custom dgml map for offline use for this purpose
I'm just looking for a neat way to package my program into a single directory.


To further clarify, let's assume that my program is located in this folder:
/home/me/program/

And under this folder, I have the maps:
/home/me/program/maps/earth/mymap/mymap.dgml
<And maptiles as they are supposed to be>

My custom maps works fine when it's in:
/home/me/.local/marble/ ...

I don't feel hopeful, I think this is impossible after I looked at the source code for loading maps, maybe a custom map tile loader?

-mika
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/marble-devel/attachments/20190514/d38352d9/attachment.html>


More information about the Marble-devel mailing list