Class TileUrlProviderFactory
Package com.here.sdk.mapview.datasource
Class TileUrlProviderFactory
- java.lang.Object
-
- com.here.NativeBase
-
- com.here.sdk.mapview.datasource.TileUrlProviderFactory
-
public final class TileUrlProviderFactory extends NativeBase
Factory for generating a
TileUrlProviderCallbackutilized in creating a tile URL.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TileUrlProviderCallbackfromXyzUrlTemplate(java.lang.String urlTemplate)CreatesTileUrlProviderCallbackfor the given URL template.
-
-
-
Method Detail
-
fromXyzUrlTemplate
@Nullable public static TileUrlProviderCallback fromXyzUrlTemplate(@NonNull java.lang.String urlTemplate)
Creates
TileUrlProviderCallbackfor the given URL template. A url template should look like this 'https://TestRasterTileService.com/{z}/{x}/{y}/' here the z parameter is the storage level, x and y define the location of the tile. The valid range for X and Y is from 0 to 2^level − 1.- Parameters:
urlTemplate-The url template
- Returns:
nullif the provided template is not valid xyz url type.
-
-