diff --git a/docs/reusable-components.md b/docs/reusable-components.md index 7055bb24..afc73207 100644 --- a/docs/reusable-components.md +++ b/docs/reusable-components.md @@ -35,6 +35,7 @@ An Overlay can either be statically positioned or can be used to implement a too ```javascript { feature: ol/Feature, + layer: ol/Layer, hoverAttribute: string } ``` @@ -70,7 +71,7 @@ export default { #### Feature hover tooltip -The following example implements a customized tooltip to render an attribute of a feature, when it is hovered on the map. Again, the default slot of `` is filled by a ``. A data object containing the `feature` and optionally `hoverAttribute` properties is available from the slot-scope. Declare the following vue template and add it to you `WguAppTemplate`: +The following example implements a customized tooltip to render an attribute of a feature, when it is hovered on the map. Again, the default slot of `` is filled by a ``. A data object containing the `feature`, `layer` and optionally `hoverAttribute` properties is available from the slot-scope. Declare the following vue template and add it to you `WguAppTemplate`: ```javascript