Display a tiled web layer.
The web tiled basemap will load automatically when the sample starts.
- Create a
WebTiledLayer
from a URL and a list of subdomains. - Create a new
Basemap
from the layer. - Update the attribution on the layer. Note: this is a necessary step because web tiled services don't have associated service metadata.
- Display the basemap.
- Basemap
- WebTiledLayer
The basemap in this sample is provided by Stamen Design. Stamen publishes tiled services based on OpenStreetMap data with several unique styles applied.
Web tiled services use a uniform addressing scheme with pre-rendered tiles. Image tiles are accessed via a URL template string, with parameters for subdomain, level, column, and row.
- Subdomain is optional and allows Runtime to balance requests among multiple servers for enhanced performance.
- Level, row, and column select the tiles to load based on the visible extent of the map.
For more information about web tiled layers, see the following resources:
OGC, Open Street Map, OpenStreetMap, WebTiledLayer, stamen.com, tiled