Re: libchamplain add external map source



On Sat, Jan 12, 2019 at 6:03 PM romeo <romeo petruca perosoft org> wrote:
Using this guide i have created  local server for
openstreetmap(https://github.com/openstreetmap/openstreetmap-website/blob/master/INSTALL.md).

In browser: http://localhost:3000, or from network http://<ip_server>:3000

a local replica of openstreetmap.

libchamplain work predefined sources.

How can i add this source to libchamplain sources ?

Hi,

I'd suggest to check the mapbox.py demo in the demos directory - the create_cached_source() should be more or less what you need. Let me know if you need some more help.

Cheers,

Jiri 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]