Ticket #3358 (new feature)

Opened 2 years ago

Last modified 2 years ago

Add base attribute to attribution control

Reported by: rgawlik Owned by: rgawlik
Priority: minor Milestone: 2.13 Release
Component: Control.Attribution Version: 2.10
Keywords: Attribution, Base Attribute Cc: rgawlik@…
State: Review

Description

Sometimes a base attribute is needed that applies to all layers. Adding this to an existing layer causes problems with duplicate attributes not then being recognised. Currently my solution to this is to amended my local copy of OpenLayers 2.10 to deal with an extra option of baseAttribute. This is then applied first whenever the attributes array is recreated for display. I have attached the amended attribution.js file and have also emailed in my CLA.

Attachments

Attribution.js Download (3.3 KB) - added by rgawlik 2 years ago.
Attribution Control
attribution.patch Download (1.2 KB) - added by rgawlik 2 years ago.
Patch for base attribution

Change History

Changed 2 years ago by rgawlik

Attribution Control

Changed 2 years ago by rgawlik

  • state set to Review

Changed 2 years ago by rgawlik

Patch for base attribution

Note: See TracTickets for help on using tickets.