gluonhq / maps

https://gluonhq.com/labs/maps/
GNU General Public License v3.0
137 stars 34 forks source link

Using a different Tile Server #73

Open jfuellgraf opened 1 year ago

jfuellgraf commented 1 year ago

For offline usage I would like to use a different (local) Tile Server than the provided "https://tile.openstreetmap.org/" in "OsmTileRetriever.java". Is there any possibility to add a customizable option on that, maybe on a higher level (e.g. MapView.java)?

Thanks in advance!

slonikmak commented 1 year ago

Hello! You can implement your own TileRetriever class and register it as a Service.