From efb80f81437bb7bcd2d996e540c8cce388cb865b Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Thu, 12 Jul 2012 21:02:18 +0100 Subject: [PATCH] Update offset for marker icon to accurately position it --- app/assets/javascripts/map.js.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/map.js.erb b/app/assets/javascripts/map.js.erb index 094a02cd5..2749f0ab1 100644 --- a/app/assets/javascripts/map.js.erb +++ b/app/assets/javascripts/map.js.erb @@ -76,7 +76,7 @@ function createMap(divName, options) { function getArrowIcon() { var size = new OpenLayers.Size(25, 22); - var offset = new OpenLayers.Pixel(-30, -27); + var offset = new OpenLayers.Pixel(-22, -20); var icon = new OpenLayers.Icon("<%= asset_path 'arrow.png' %>", size, offset); return icon; -- 2.39.5