@tairu/loader
Tairu loader, loading and verifying tiles served by a Tairu handler.
Installation
npm install @tairu/loader
Classes
Loader
Constructors
new Loader()
new Loader(
params
):Loader
Parameters
• params: LoaderParams
= {}
Returns
Accessors
signer
get
signer():ActionSigner
set
signer(value
):void
Parameters
• value: ActionSigner
Returns
Defined in
Methods
getRenderedTile()
getRenderedTile(
url
,format
,options
):Promise
<string
>
Parameters
• url: string
• format: RenderFormat
• options: Options
= {}
Returns
Promise
<string
>
getStaticTileAsBox()
getStaticTileAsBox(
url
,options
?):Promise
<object
>
Parameters
• url: string
• options?: Options
Returns
Promise
<object
>
props
readonly
props:object
props.children?
readonly
optional
props.children:object
&object
|object
&object
[]
props.key?
readonly
optional
props.key:string
props.style?
readonly
optional
props.style:object
props.style.alignItems?
optional
props.style.alignItems:"flex-start"
|"center"
|"flex-end"
props.style.alignSelf?
optional
props.style.alignSelf:"flex-start"
|"center"
|"flex-end"
|"auto"
props.style.backgroundClip?
optional
props.style.backgroundClip:"text"
|"border-box"
props.style.backgroundColor?
optional
props.style.backgroundColor:string
props.style.backgroundImage?
optional
props.style.backgroundImage:string
props.style.backgroundPosition?
optional
props.style.backgroundPosition:string
props.style.backgroundRepeat?
optional
props.style.backgroundRepeat:"repeat"
|"repeat-x"
|"repeat-y"
|"no-repeat"
props.style.backgroundSize?
optional
props.style.backgroundSize:string
props.style.borderBottomColor?
optional
props.style.borderBottomColor:string
props.style.borderBottomLeftRadius?
optional
props.style.borderBottomLeftRadius:number