HTTP XYZ source for outdoor vector tiles. More...
Public Member Functions | |
| HttpTileSource (this.urlTemplate, this.headers, this.queryParameters) | |
| Default constructor. | |
Public Attributes | |
| String | urlTemplate |
HTTPS XYZ template with {z}, {x}, {y}. | |
HTTP XYZ source for outdoor vector tiles.
urlTemplate must contain {z}, {x}, {y}. Optional query parameters (API keys such as key, access_token, apikey) are appended to each request. Optional headers cover Authorization, Referer, or a custom User-Agent. The SDK always sends an identifying User-Agent unless the headers map already has one. Keys may also be baked into urlTemplate.
Referenced from TileProvider.
Definition at line 31 of file http_tile_source.dart.
| HttpTileSource.HttpTileSource | ( | this. | urlTemplate, |
| this. | headers, | ||
| this. | queryParameters ) |
Default constructor.
| String HttpTileSource.urlTemplate |
HTTPS XYZ template with {z}, {x}, {y}.
Dart code snippet:
Definition at line 43 of file http_tile_source.dart.