As long as we're batting it around, can anyone toss out a use case when one would *not* want to have the attribution control on the map?
e On 9/12/07, Christopher Schmidt <[EMAIL PROTECTED]> wrote: > On Wed, Sep 12, 2007 at 10:01:48AM -0400, Paul Spencer wrote: > > 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? > > Not created. That's a 'deliberate action' in my mind -- If you're > overriding the controls, you're doing it with that goal in mind, and you > would then need to add the control back. > > If a commercial data provider really wants to ensure that their data is > only used with an attribution control on the map, they can loop through > the controls list when setmap is called and throw an error in some way > if the attribution control is not present (by checking CLASS_NAME). > > As with anything, it isn't foolproof -- just handy. > > Regards, > -- > Christopher Schmidt > MetaCarta > _______________________________________________ > Dev mailing list > [email protected] > http://openlayers.org/mailman/listinfo/dev > _______________________________________________ Dev mailing list [email protected] http://openlayers.org/mailman/listinfo/dev
