[Gambas-user] how to use gb.map offline?

Fabien Bodard gambas.fr at gmail.com
Sat Jan 28 14:55:28 CET 2023


Le sam. 28 janv. 2023 à 03:48, BB <adamnt42 at gmail.com> a écrit :

>
> On 28/1/23 11:09 am, roberto.premoli at tiscali.it wrote:
>
> hello,
>
> I started to play with gb.map component and it is amazing!
> the question is: how to use it off line? I mean, my application will work
> without access to internet,
> so I must first download the data of the area I need ( a region of italy)
> and then tell to gb.map to search data on local harddisk.
> is it feasible? if yes, how?
>
> Thanks,
> Roberto
>
>
> VOUCHER CONNETTIVITÀ per P.IVA e PMI: internet a canone 0 per 48 mesi.
> ATTIVA ORA
>
> https://casa.tiscali.it/promo/?u=https://promozioni.tiscali.it/voucher_business
> <https://casa.tiscali.it/promo/?u=https://promozioni.tiscali.it/voucher_business/?r=TS00000A00025&dm=link&p=tiscali&utm_source=tiscali&utm_medium=link&utm_campaign=voucherbusiness&wt_np=tiscali.link.footermail.voucherbusiness.btb..>
>
>
> Yes, it could be feasible. Hoewever you would have to set up a local tile
> server. This is interesting.
>

Not a all 😅

Just add a buffer name to the map tile layer

It will save the tiles in .cache/gb.map/buffer name


So you can use it in offline mode.

By the way this is a grow only cache.. I've not made any things to free it
or update.
(Todo things)

It is not allowed to store tiles from Google or other non free source..  😉
but for openstreetmap .. it's ok



>
> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20230128/0cb63654/attachment.htm>


More information about the User mailing list