EIDA / webdc3

WebDC3 is the webinterface for EIDA.
http://geofon.gfz-potsdam.de/software/webdc3/
GNU General Public License v3.0
11 stars 10 forks source link

add attribution control #41

Closed andres-h closed 1 year ago

andres-h commented 1 year ago

Try to add attribution as required by OpenStreetMap (https://www.openstreetmap.org/copyright)

jbienkowski commented 1 year ago

Hi @andres-h, Thanks for this quick PR. I have deployed it here. Text is a bit off, but it is probably just our styling. Cheers, Jarek

pevans-gfz commented 1 year ago

On 09.05.23 11:23, Jarek Bieńkowski wrote:

Hi @andres-h https://github.com/andres-h, Thanks for this quick PR. I have deployed it here http://orfeus-eu.org/webdc3/. Text is a bit off, but it is probably just our styling.

If you mean the vertical position of the text is too high, this looks like it is set at tools/openlayers/theme/default/style.css:31

.olControlAttribution { font-size: smaller; right: 3px; bottom: 4.5em; position: absolute; display: block; }

You can set olControlAttribution.bottom in your local CSS file to 1.5em (say) to move the text downwards.

Best wishes, P.

-- Dr Peter L. Evans, Section 2.4 Seismology GFZ German Research Centre for Geosciences @.*** Tel. +49 (0)331 288-1261 http://geofon.gfz-potsdam.de/ Fax: +49 (0)331 288-1277