Class HttpRequestUrl

java.lang.Object
com.trimblemaps.mapsdk.http.HttpRequestUrl

public class HttpRequestUrl extends Object
  • Method Details

    • buildResourceUrl

      public static String buildResourceUrl(@NonNull String host, String resourceUrl, int querySize, boolean offline)
      Adapts a resource request url based on the host, query size, and offline requirement. TrimbleMaps 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.
      Parameters:
      host - the host used as endpoint
      resourceUrl - the resource to download
      querySize - the query size of the resource request
      offline - the type of resource, either offline or online
      Returns:
      the adapted resource url