Constructor
new UrlBuilder()
Applications must not call this constructor. It is an interface class and is not meant to be instantiated.
- Source:
Methods
urlForTile(tile, format) → {String}
Creates the URL string for a resource.
Parameters:
Name | Type | Description |
---|---|---|
tile |
Tile | The tile for which to create the URL. |
format |
String | The format to request. |
- Source:
Throws:
-
If either the specified tile or format is null or undefined.
- Type
- ArgumentError
Returns:
A string identifying the URL for the specified tile's resource.
- Type
- String