magerlin wrote:
In the example below I have modified line 17 and 19 in the language script
(en.js when in English, da-DK.js when it like mine is in Danish):

     'overlays': "<hr><br>Kortlag:<br><hr>",

     'baseLayer': "Grundkort:<br><hr>",

<br>  ads a line break as you probably know and<hr>  adds a horisontal line.

Nice idea but I like to modify the language files. I've tried to use

OpenLayers.Lang.en = OpenLayers.Util.extend (OpenLayers.Lang.en,
  {"overlay" : "Overlay<br><hr>"
});

yet that doesn't work.

Wyo

_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to