phpDocumentor

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

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
string

asArray()

fournit une représentation de la couche comme array pour affichage

public asArray() : array<int, string>
Return values
array<int, string>

featureInfo()

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

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
string

items()

retourne un array de Features structurés comme array Php

private items() : array<int, TGeoJsonFeature>
Return values
array<int, TGeoJsonFeature>

        
On this page

Search results