Skip to content

Attributions are not shown is the attribution control is added after layers #2177

@Zverik

Description

@Zverik
  1. Initialize L.Map with an option attributionControl: false
  2. Add layers
  3. map.addControl(L.control.attribution())

Result: only 'Leaflet' is shown in attribution. Expected result: the correct attribution for all layers.

(also, prefix in api docs is outdated)

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions