build Resource Url
open fun buildResourceUrl(@NonNull host: String, resourceUrl: String, querySize: Int, offline: Boolean): String
Adapts a resource request url based on the host, query size, and offline requirement. MapLibre resources downloaded for offline use are subject to separate Vector Tile and Raster Tile API pricing and are not included in the Maps SDK’s “unlimited” requests. See our pricing page for more information.
Return
the adapted resource url
Parameters
host
the host used as endpoint
resource Url
the resource to download
query Size
the query size of the resource request
offline
the type of resource, either offline or online