Skip to content

Confusion in attribution component #321

@remiHau

Description

@remiHau

In ngx-openlayers, there is two attributions component:

  • AttributionsComponent
  • AttributionComponent

It doesn't really reflect the behaviour of openlayer.
In Openlayer, the attribution element is a control that has ui and behaviour
Attributions is a properties of attribution control which is a attributionLike.

AttributionComponent should not work with the AttributionsComponent and I think that AttributionsComponent should not exist and be replaced by a model.

Moreover, attribution element is a control so it should be possible to add it directly to the map to have a static attributions not linked with a layer. See https://openlayers.org/en/latest/examples/static-attribution.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions