TileUrlProviderFactory
public class TileUrlProviderFactory
extension TileUrlProviderFactory: NativeBase
extension TileUrlProviderFactory: Hashable
Factory for generating a TileUrlRequestHandler utilized in creating a tile URL.
-
Creates
TileUrlRequestHandlerfor 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.Declaration
Swift
public static func fromXyzUrlTemplate(_ urlTemplate: String) -> TileUrlRequestHandler?Parameters
urlTemplateThe url template
Return Value
nilif the provided template is not valid xyz url type.