TilesResponse extends Model
Defines tiles reference to display on web map
Table of Contents
- $baseImgUrl : string|null
- The tiles base image url
- $bounds : Bounds|null
- $tmsTemplateUrl : string|null
- The TMS template url
- from() : static
- Initializing a model from an array
- getBaseImgUrl() : string
- Getter for baseImgUrl
- getBounds() : Bounds
- Getter for bounds
- getTmsTemplateUrl() : string
- Getter for tmsTemplateUrl
- jsonSerialize() : array<string|int, mixed>
- setBaseImgUrl() : static
- Setter for baseImgUrl
- setBounds() : static
- Setter for bounds
- setTmsTemplateUrl() : static
- Setter for tmsTemplateUrl
Properties
$baseImgUrl
The tiles base image url
protected
string|null
$baseImgUrl
= null
$bounds
protected
Bounds|null
$bounds
= null
$tmsTemplateUrl
The TMS template url
protected
string|null
$tmsTemplateUrl
= null
Methods
from()
Initializing a model from an array
public
static from(array<string|int, mixed> $params) : static
Parameters
- $params : array<string|int, mixed>
-
Pass this parameter if you want to initial property value from an array. See API reference for all property names and types
Tags
Return values
static —getBaseImgUrl()
Getter for baseImgUrl
public
getBaseImgUrl() : string
Return values
string —The tiles base image url
getBounds()
Getter for bounds
public
getBounds() : Bounds
Return values
Bounds —getTmsTemplateUrl()
Getter for tmsTemplateUrl
public
getTmsTemplateUrl() : string
Return values
string —The TMS template url
jsonSerialize()
public
jsonSerialize() : array<string|int, mixed>
Tags
Return values
array<string|int, mixed> —setBaseImgUrl()
Setter for baseImgUrl
public
setBaseImgUrl(string $baseImgUrl) : static
Parameters
- $baseImgUrl : string
-
The tiles base image url
Return values
static —To use in method chains
setBounds()
Setter for bounds
public
setBounds(Bounds $bounds) : static
Parameters
- $bounds : Bounds
Return values
static —To use in method chains
setTmsTemplateUrl()
Setter for tmsTemplateUrl
public
setTmsTemplateUrl(string $tmsTemplateUrl) : static
Parameters
- $tmsTemplateUrl : string
-
The TMS template url
Return values
static —To use in method chains