[OpenLayers-Dev] [OpenLayers-Trac] [OpenLayers] #966: Add
att ribution control to map by default
John Cole
john.cole at uai.com
Wed Sep 12 10:14:12 EDT 2007
-1
And my reason for this is because of printing. We have to put a copyright
notice for our HUD site, and we do it with a DIV tag similar to the scale
control and I assume the new attribution control.
But, when we print maps, we merge all of the layers into a single one for
printing to work, and I have MapServer put the copyright notice at the
bottom of the map (normally we do not want a layer just for copyright notice
and a separate WMS call, so the div tag works great for the interactive
map).
I really don't see it as too big a problem for developers to add the control
when necessary, but then I'm not a data provider and view the notices poorly
anyway :-)
John
-----Original Message-----
From: dev-bounces at openlayers.org [mailto:dev-bounces at openlayers.org] On
Behalf Of Christopher Schmidt
Sent: Wednesday, September 12, 2007 8:57 AM
To: dev at openlayers.org
Subject: Re: [OpenLayers-Dev] [OpenLayers-Trac] [OpenLayers] #966: Add
attribution control to map by default
On Wed, Sep 12, 2007 at 01:43:22PM -0000, OpenLayers wrote:
> #966: Add attribution control to map by default
>
-----------------------+----------------------------------------------------
> Reporter: crschmidt | Owner:
> Type: bug | Status: new
> Priority: major | Milestone: 2.6 Release
> Component: Control | Version: 2.4
> Keywords: |
>
-----------------------+----------------------------------------------------
> In order to maek the attribution control useful, it should be on by
> default. That way, layers can simply provide 'attribution' inside them,
> and they will automatically be displayed on the map unless someone has
> taken deliberate steps to ensure otherwise.
Can I get a vote on this?
By default, this control will do nothing -- if no layers have
attribution on them, then nothing shows up. However, if someone adds
'attribution' to the layer options, then it will show up -- rather than
needing to add attribution *and* the control.
The benefit is that some commercial organization can now provide a .js
file on their website that is *just* a layer class - and nothing else --
and expect it to work. I personally think this is kind of cool, and
would be in favor of it.
Can I get a vote on this? All in favor of adding the Control.Attribution
to the map by default?
I'm +1.
(Demo of functionality is at
http://openlayers.org/dev/examples/attribution.html , original ticket is
at http://trac.openlayers.org/ticket/103)
--
Christopher Schmidt
MetaCarta
_______________________________________________
Dev mailing list
Dev at openlayers.org
http://openlayers.org/mailman/listinfo/dev
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.485 / Virus Database: 269.13.15/1003 - Release Date: 9/12/2007
10:56 AM
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.485 / Virus Database: 269.13.15/1003 - Release Date: 9/12/2007
10:56 AM
This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the sender. This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail.
More information about the Dev
mailing list