Lizmap Web Client Master

featuresCtrl extends jController
in package

Get features from QGIS Server with the help of expressions.

Tags
author

3liz

copyright

2024 3liz

see
https://3liz.com
license

Mozilla Public License : https://www.mozilla.org/MPL/

Table of Contents

Methods

displayExpression()  : jResponseJson
Get display expressions evaluated for the given layer and parameters.
tooltips()  : jResponseJson
Get all tooltips of a given layer.
regexCheck()  : string
Check if the expression is valid.

Methods

displayExpression()

Get display expressions evaluated for the given layer and parameters.

public displayExpression() : jResponseJson
Tags
urlparam

string $REPOSITORY Name of the repository

urlparam

string $PROJECT Name of the project

urlparam

string $LAYERID Layer Id

urlparam

string $EXP_FILTER QGIS expression filter

urlparam

string $WITH_GEOMETRY If we need to get the features geometries

urlparam

string $FIELDS List of field names separated by comma

Return values
jResponseJson

geoJSON content

tooltips()

Get all tooltips of a given layer.

public tooltips() : jResponseJson
Tags
urlparam

$REPOSITORY Name of the repository

urlparam

$PROJECT Name of the project

urlparam

$LAYERID Layer Id

Return values
jResponseJson

geoJSON content

regexCheck()

Check if the expression is valid.

private regexCheck(mixed $expression) : string
Parameters
$expression : mixed

string The expression to check

Return values
string

The expression if it is valid, 'INVALID EXPRESSION' otherwise


        
On this page

Search results