VectorLayer
in package
Couche d'objets vecteur + dictionnaire de ces couches
Table of Contents
Properties
- $all : array<string, VectorLayer>
- // dictionaire [{lyrName} => VectorLayer]
- $description : string
- $name : string
- $path : string|null
- $style : TStyle
- $title : string
Methods
- __construct() : mixed
- allAsXml() : string
- Génère l'extrait XML des couches pour les capacités
- asArray() : array<int, string>
- fournit une représentation de la couche comme array pour affichage
- ebox() : EBox
- featureInfo() : array<int, TGeoJsonProperties>
- retourne une liste de propriétés des features concernés
- initVectorLayers() : void
- layers() : array<string, VectorLayer>
- retourne le dictionnaire des couches
- map() : void
- copie dans $grImage l'extrait de la couche correspondant au rectangle de $grImage,
- asXml() : string
- Génère l'extrait XML de la couche pour les capacités
- items() : array<int, TGeoJsonFeature>
- retourne un array de Features structurés comme array Php
Properties
$all
// dictionaire [{lyrName} => VectorLayer]
public
static array<string, VectorLayer>
$all
= []
$description
protected
string
$description
$name
protected
string
$name
$path
protected
string|null
$path
$style
protected
TStyle
$style
$title
protected
string
$title
Methods
__construct()
public
__construct(string $name, array<string, mixed> $vectorLayer) : mixed
Parameters
- $name : string
- $vectorLayer : array<string, mixed>
allAsXml()
Génère l'extrait XML des couches pour les capacités
public
static allAsXml() : string
Return values
stringasArray()
fournit une représentation de la couche comme array pour affichage
public
asArray() : array<int, string>
Return values
array<int, string>ebox()
public
ebox() : EBox
Return values
EBoxfeatureInfo()
retourne une liste de propriétés des features concernés
public
featureInfo(TPos $geo, int $featureCount, float $resolution) : array<int, TGeoJsonProperties>
Parameters
- $geo : TPos
- $featureCount : int
- $resolution : float
Return values
array<int, TGeoJsonProperties>initVectorLayers()
public
static initVectorLayers(string $filename) : void
Parameters
- $filename : string
layers()
retourne le dictionnaire des couches
public
static layers() : array<string, VectorLayer>
Return values
array<string, VectorLayer>map()
copie dans $grImage l'extrait de la couche correspondant au rectangle de $grImage,
public
map(GeoRefImage $grImage, string $styleId) : void
Parameters
- $grImage : GeoRefImage
- $styleId : string
asXml()
Génère l'extrait XML de la couche pour les capacités
private
asXml() : string
Return values
stringitems()
retourne un array de Features structurés comme array Php
private
items() : array<int, TGeoJsonFeature>