Skip to content

Commit

Permalink
docs: update KAttribution section #473
Browse files Browse the repository at this point in the history
  • Loading branch information
melanielassarade committed Nov 5, 2024
1 parent 5229b7d commit c33355e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions docs/api/map/components.md
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,13 @@ It is also possible to add your own type of legend. You must implement the compo

* **Kattribution** : a component that dynamically displays visible layer attributions (credits and copyright information) in map activities. This component guarantees compliance with copyright rules for data displayed on the map.

Here are views of the component :

![Attribution closed](../../.vitepress/public/images/attributionClosed.png)
*Attribution closed*
![Attribution opened](../../.vitepress/public/images/attributionOpened.png)
*Attribution opened*

### How it works ###

The component listens to layer visibility events to add or remove attributions as layers are displayed or hidden. The main allocation is displayed in a popup that the user can open by clicking on a circle with the *"i ”* symbol.
Expand Down

0 comments on commit c33355e

Please sign in to comment.