You are not logged in.

Announcement

*** NOTICE: By 30th of September 2022 the forum.openstreetmap.org will be retired, please request a category for your community in the new ones as soon as possible using this process, which will allow you to propose your community moderators. We expect the migration of data will be finished by that date, you can follow its progress here.***

#1 2022-03-23 14:13:15

Octav Miu
Member
Registered: 2022-03-23
Posts: 2

Connect to local ethernet server

Hello!

I have to create a mobile app displaying OSM with a primary demand: to connect to a local server that stores OSM tiles. Is there a way using OSMDroid lib to connect to that local(ethernet) server? Thanks!

Offline

#2 2022-03-23 22:23:03

SomeoneElse
Member
Registered: 2010-10-13
Posts: 1,601

Re: Connect to local ethernet server

Octav Miu wrote:

Hello!

I have to create a mobile app displaying OSM with a primary demand: to connect to a local server that stores OSM tiles. Is there a way using OSMDroid lib to connect to that local(ethernet) server? Thanks!

Yes.  https://github.com/SomeoneElseOSM/AJTS0 … y.java#L47 is a simple example that does that.  Obviously you'll want to substitute where your tiles are for ""https://map.atownsend.org.uk/hot/" in that example, and your local tiles need to be available on the Internet if you want other internet-connected servers to be able to get to them.

Offline

Board footer

Powered by FluxBB