Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs-users/fr/support/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ Toute propriété de l'élément sera disponible, ainsi que:
- `{rank}` → la rang d'un élément dans son calque
- `{layer}` → le nom du calque de l'élément
- `{zoom}` → le zoom actuel de la carte
- `{id}` → identifiant unique d'un élément

### Variables disponibles dans les URL de données distantes:

Expand Down
1 change: 1 addition & 0 deletions docs-users/support/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ Any property of the feature will be available, plus:
- `{rank}` → the rank of the feature in the layer
- `{layer}` → the name of the feature's layer
- `{zoom}` → the current map zoom
- `{id}` → the unique feature id

### Available variables in URL for remote data:

Expand Down
1 change: 1 addition & 0 deletions umap/static/umap/js/modules/data/features.js
Original file line number Diff line number Diff line change
Expand Up @@ -601,6 +601,7 @@ class Feature {
if (U.lang) properties.lang = U.lang
properties.rank = this.getRank() + 1
properties.layer = this.datalayer.getName()
properties.id = this.id
if (this.ui._map && this.hasGeom()) {
const center = this.center
properties.lat = center.lat
Expand Down
Loading