RosreestrLayer
extends TileLayer
in package
Table of Contents
- PARAMS = ['source' => 'nspd-land-plots-from-egrn', 'REQUEST' => 'GetMap', 'SERVICE' => 'WMS', 'VERSION' => '1.3.0', 'FORMAT' => 'image/png', 'STYLES' => '', 'TRANSPARENT' => 'true', 'RANDOM' => '0.21200753454549104', 'WIDTH' => '1024', 'HEIGHT' => '1024', 'CRS' => 'EPSG:3857']
- TRY_COUNT = 5
- defaultTileLayer() : RosreestrLayer
- getTile() : Image
- Get an image tile
- getTileUrl() : string
- Get tile url for coordinates and zoom level
Constants
PARAMS
private
mixed
PARAMS
= ['source' => 'nspd-land-plots-from-egrn', 'REQUEST' => 'GetMap', 'SERVICE' => 'WMS', 'VERSION' => '1.3.0', 'FORMAT' => 'image/png', 'STYLES' => '', 'TRANSPARENT' => 'true', 'RANDOM' => '0.21200753454549104', 'WIDTH' => '1024', 'HEIGHT' => '1024', 'CRS' => 'EPSG:3857']
TRY_COUNT
private
mixed
TRY_COUNT
= 5
Methods
defaultTileLayer()
public
static defaultTileLayer() : RosreestrLayer
Return values
RosreestrLayer —getTile()
Get an image tile
public
getTile(float $x, float $y, int $z) : Image
Parameters
- $x : float
- $y : float
- $z : int
Return values
Image —Image instance containing the tile
getTileUrl()
Get tile url for coordinates and zoom level
public
getTileUrl(int $x, int $y, int $z) : string
Parameters
- $x : int
-
x coordinate
- $y : int
-
y coordinate
- $z : int
-
zoom level
Return values
string —tile url