MapLayerDefaultsTileSettingsTagHelper
Example
Razor
<tile>
<url-template></url-template>
</tile>
ChildTags
| Tag Name | Details |
|---|---|
| url-template | TemplateTagHelper |
Attributes
| Attribute | Type | Description |
|---|---|---|
| attribution | String | The attribution of all tile layers. |
| opacity | Double | The the opacity of all tile layers. |
| subdomains | String[] | The subdomain of all tile layers. |
| url-template | String | The URL template for tile layers. Template variables: x - X coordinate of the tile; y - Y coordinate of the tile; zoom - zoom level or subdomain - Subdomain for this tile. See subdomains. |
| url-template-handler | String | The URL template for tile layers. Template variables: x - X coordinate of the tile; y - Y coordinate of the tile; zoom - zoom level or subdomain - Subdomain for this tile. See subdomains. This option expects the name of a JavaScript function that will be called to return the template. |
| url-template-id | String | The URL template for tile layers. Template variables: x - X coordinate of the tile; y - Y coordinate of the tile; zoom - zoom level or subdomain - Subdomain for this tile. See subdomains. This option expects the ID of the script element that contains the template. |
| url-template-view | IHtmlContent | The URL template for tile layers. Template variables: x - X coordinate of the tile; y - Y coordinate of the tile; zoom - zoom level or subdomain - Subdomain for this tile. See subdomains. This option expects the instance containing the created HTML. |