From 935656bfbe615c92d2931215e3e4944d0d2f2738 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Sun, 27 Apr 2008 15:40:48 +0000 Subject: [PATCH] Underline links in the SOTM box. --- public/javascripts/map.js | 4 ++++ public/stylesheets/site.css | 8 ++++++++ 2 files changed, 12 insertions(+) diff --git a/public/javascripts/map.js b/public/javascripts/map.js index b3d964b5b..db5b85616 100644 --- a/public/javascripts/map.js +++ b/public/javascripts/map.js @@ -109,6 +109,10 @@ function setMapExtent(extent) { map.zoomToExtent(extent.clone().transform(epsg4326, map.getProjectionObject())); } +function getMapExtent(extent) { + return map.getExtent().clone().transform(map.getProjectionObject(), epsg4326); +} + function getEventPosition(event) { return map.getLonLatFromViewPortPx(event.xy).clone().transform(map.getProjectionObject(), epsg4326); } diff --git a/public/stylesheets/site.css b/public/stylesheets/site.css index d38f7844f..51cde8392 100644 --- a/public/stylesheets/site.css +++ b/public/stylesheets/site.css @@ -573,6 +573,14 @@ input[type="submit"] { font-weight: normal; } +#sotminfo a:link { + text-decoration: underline; +} + +#sotminfo a:visited { + text-decoration: underline; +} + #permalink { z-index:10000; position:absolute; -- 2.43.2