aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2011-07-04 10:06:45 +0100
committerMatthew Somerville <matthew@mysociety.org>2011-07-04 10:06:45 +0100
commit06b94102ca6fad7e97cd2674a6f18e77ccad2598 (patch)
treef8683c0ffa59b09aaf6e77eb148fd8b8a59cc17a
parent669d0d195c57b1bcbe91e367c4b5ed4e7ba4084b (diff)
Tweak pin placement.
-rw-r--r--templates/web/default/maps/openlayers.html2
-rw-r--r--web/js/map-OpenLayers.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/web/default/maps/openlayers.html b/templates/web/default/maps/openlayers.html
index 548daeb54..b84799fdd 100644
--- a/templates/web/default/maps/openlayers.html
+++ b/templates/web/default/maps/openlayers.html
@@ -86,7 +86,7 @@ var fixmystreet = {
<a title="[% pin.title | html %]" href="[% c.uri_for('/report/' _ pin.id) %]">
[%- END -%]
<img border="0" class="pin" src="[% c.uri_for('/i/pin' _ cols.${pin.colour} _ '.gif') %]"
- alt="[% loc('Problem') %]" style="top:[% pin.py - 59 %]px; left:[% pin.px - 1 %]px; position: absolute;">
+ alt="[% loc('Problem') %]" style="top:[% pin.py - 59 %]px; left:[% pin.px - 2 %]px; position: absolute;">
[%- IF pin.id -%]
</a>
[% END %]
diff --git a/web/js/map-OpenLayers.js b/web/js/map-OpenLayers.js
index e75746b92..daea80f65 100644
--- a/web/js/map-OpenLayers.js
+++ b/web/js/map-OpenLayers.js
@@ -64,7 +64,7 @@ YAHOO.util.Event.onContentReady('map', function() {
graphicWidth: 32,
graphicHeight: 59,
graphicOpacity: 1,
- graphicXOffset: -1,
+ graphicXOffset: -2,
graphicYOffset: -59
})
})