Tile Server Options
constructor(baseURL: String, uriSchemeAlias: String, sourceTemplate: String, sourceDomainName: String, @Nullable sourceVersionPrefix: String, styleTemplate: String, styleDomainName: String, @Nullable styleVersionPrefix: String, spritesTemplate: String, spritesDomainName: String, @Nullable spritesVersionPrefix: String, glyphsTemplate: String, glyphsDomainName: String, @Nullable glyphsVersionPrefix: String, tileTemplate: String, tileDomainName: String, @Nullable tileVersionPrefix: String, apiKeyParameterName: String, apiKeyRequired: Boolean, defaultStyle: String, defaultStyles: Array<DefaultStyle>)
Construct a new TileServerOptions given string arguments
Parameters
base URL
tile server base url
uri Scheme Alias
scheme alias such as maplibre://
source Template
tile source url template
source Domain Name
tile source domain name
source Version Prefix
tile source version prefix
style Template
style url template
style Domain Name
the name of style domain in canonical url
style Version Prefix
version prefix
sprites Template
sprites url template
sprites Domain Name
the name of the sprites domain in canonical url
sprites Version Prefix
the sprite version prefix
glyphs Template
glyphs url template
glyphs Domain Name
the name of the glyphs domain in canonical url
glyphs Version Prefix
the glyphs version prefix
tile Template
tile url template
tile Domain Name
the name of the tile domain in canonical url
tile Version Prefix
the tile version prefix
api Key Parameter Name
the name of api key parameter
api Key Required
indicates if API key is required
default Style
the name of the default style
default Styles
the list of default styles