Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

Only first imagery logo is displayed #3990

Closed
openstreetmap-trac opened this issue Jul 23, 2021 · 2 comments
Closed

Only first imagery logo is displayed #3990

openstreetmap-trac opened this issue Jul 23, 2021 · 2 comments

Comments

@openstreetmap-trac
Copy link

Reporter: Richard
[Submitted to the original trac issue database at 3.52pm, Wednesday, 31st August 2011]

If imagery.xml has more than one source with a logo (e.g. Bing and National Library of Scotland), only the first is displayed.

This is the usual closure-within-a-loop problem in Imagery.as line 98. We can probably fix it by using Array.forEach, as in VectorBackgrounds.as line 28.

@openstreetmap-trac
Copy link
Author

Author: IrlJidel
[Added to the original trac issue at 12.25pm, Tuesday, 6th September 2011]

Small correction to bug report.

If imagery.xml has more than one source with a logo, only the last logo defined in xml is displayed.

@openstreetmap-trac
Copy link
Author

Author: Richard
[Added to the original trac issue at 2.56pm, Friday, 30th September 2011]

Fixed in systemed/potlatch2@969fb75 .

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant