jxmapviewer2
jxmapviewer2 copied to clipboard
Feature: decorate tile urls with query params
Some online tile services require api keys or other parameters in the tile url request. Perhaps it would be nice to allow AbstractTileFactory to decorate urls/request with such parameters? It could be doable by passing map of key/value pairs to factory. Of course it is a convenience feature because you can implement it in your factory yourself, but would be nice to have in superclass and just set the parameter map.
I will try and implement it but what do you think?
That's an interesting idea. Yeah sure, let's give it a try. Maybe a separate helper class that creates URLs that can be used in a superclass could be useful.