[OpenLayers-Users] Copyright or credit info on an overlay layer

Steve.Toutant at inspq.qc.ca Steve.Toutant at inspq.qc.ca
Tue Jun 23 16:16:28 EDT 2009


Thanks Nathan and Yves,

I modified .olControlAttribution in style.css so the background is white 
now. But, whatever I enter as font-size:, the size doesn't change. 
Currently it is set to "smaller",
Probably a leak of knowledge on CSS...

.olControlAttribution in style.css, Is it the good place to modify these 
settings?

Regards
Steve

Steve Toutant, M. Sc.
Analyste en géomatique
Secteur environnement
Direction des risques biologiques, environnementaux et occupationnels
Institut national de santé publique du Québec
945, avenue Wolfe
Québec, Qc G1V 5B3 
Tél.: (418) 650-5115 #5281
Fax.: (418) 654-3144
steve.toutant at inspq.qc.ca
http://www.inspq.qc.ca
 




Nathan Gerber <ngerber999 at gmail.com> 
23/06/2009 02:55 PM

A
Steve.Toutant at inspq.qc.ca
cc

Objet
Re: [OpenLayers-Users] Copyright or credit info on an overlay layer








This can be done by using the Attribution control

Example: http://openlayers.org/dev/examples/attribution.html

Class Documentation: 
http://dev.openlayers.org/releases/OpenLayers-2.8/doc/apidocs/files/OpenLayers/Control/Attribution-js.html

--
Nathan Gerber


On Tue, Jun 23, 2009 at 2:41 PM, <Steve.Toutant at inspq.qc.ca> wrote:

Hi, 
I would like to display at the bottom of the map the info on the copyright 
or the owner of a layer. The info will appear only when the layer is 
rendered. 
The layer is a WMS built with mapserver. 

Is it possible? How should I accomplish this? 
Thanks 
Steve 


Steve Toutant, M. Sc.
Analyste en géomatique
Secteur environnement
Direction des risques biologiques, environnementaux et occupationnels
Institut national de santé publique du Québec
945, avenue Wolfe
Québec, Qc G1V 5B3 
Tél.: (418) 650-5115 #5281
Fax.: (418) 654-3144
steve.toutant at inspq.qc.ca
http://www.inspq.qc.ca 
  

_______________________________________________
Users mailing list
Users at openlayers.org
http://openlayers.org/mailman/listinfo/users




-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20090623/654b3160/attachment.html


More information about the Users mailing list