Function getTerrainProviderForUrl