gluonhq / maps

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

Turn tile retrieval into a service #17

Closed tiainen closed 6 years ago

tiainen commented 6 years ago

Turn the ImageRetriever into a service that can be overruled with the java ServiceLoader mechanism.

zugaldia commented 5 years ago

Just wanted to share https://github.com/zugaldia/gluon-mapbox/pull/1 as an example of how to override the default tile provider with a custom one. The code is using com.gluonhq:maps:1.0.3-SNAPSHOT, it should be updated to stable 1.0.3 once it goes live.

Thank you team for enabling this level of modularity!

johanvos commented 5 years ago

Excellent usecase! We'll stabilize to 1.0.3 soon. Thanks.