You are not logged in.

Announcement

*** NOTICE: forum.openstreetmap.org is being 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.
Please create new topics on the new site at community.openstreetmap.org. We expect the migration of data will take a few weeks, 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