Optional ReadonlyattributionTrusted HTML displayed before the tile-source attribution, or false to omit it. Defaults to a linked Powered by EtchMap.
Optional ReadonlycacheMaximum positive integer number of ready tile images retained in memory. Defaults to 512.
Optional ReadonlycenterInitial center in source coordinates. Defaults to the center of the projected tile world.
Optional ReadonlycoverWhether to raise the effective minimum zoom until the tile coverage fills the viewport. Defaults to true.
Disable this to permit unused space around a map when it is displayed smaller than the viewport. Horizontal size does not constrain wrapping sources because their worlds repeat.
Optional ReadonlymaxMaximum positive integer number of tile images loaded concurrently. Defaults to eight.
Optional ReadonlymaxMaximum continuous view zoom. Defaults to TileSource.maxZoom.
This is independent of native tile LOD. Values above the source maximum keep scaling its maximum-level tiles up.
Optional ReadonlyminMinimum continuous view zoom. Defaults to TileSource.minZoom.
This is independent of native tile LOD. Values below the source minimum keep scaling its minimum-level tiles down.
Optional ReadonlysourceRaster-tile source. Omit to use the default OpenStreetMap source.
Optional ReadonlyzoomInitial continuous view zoom.
At a zoom equal to TileSource.minZoom, one source-tile pixel occupies one CSS pixel. Increasing the zoom by one doubles displayed width and height; decreasing it by one halves both dimensions. Fractional and negative values are supported. Native tile selection remains clamped to the source LOD range independently.
When omitted, the initial zoom is one level above the effective minimum after the viewport size is known, limited by maxZoom.
Options used when creating a map component.