[OpenLayers-Dev] [OpenLayers-Trac] [OpenLayers] #966: Add
attribution control to map by default
Paul Spencer
pspencer at dmsolutions.ca
Wed Sep 12 10:01:48 EDT 2007
Chris,
by default, do you mean that if you construct a new map with an empty
controls option, the attribution would be created anyway, or would
not be created?
Cheers
Paul
PS +1
On 12-Sep-07, at 9:56 AM, Christopher Schmidt wrote:
> 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
+-----------------------------------------------------------------+
|Paul Spencer pspencer at dmsolutions.ca |
+-----------------------------------------------------------------+
|Chief Technology Officer |
|DM Solutions Group Inc http://www.dmsolutions.ca/ |
+-----------------------------------------------------------------+
More information about the Dev
mailing list