From: Tom Hughes Date: Tue, 6 Aug 2013 08:05:59 +0000 (+0100) Subject: Merge remote-tracking branch 'osmlab/map-ui' X-Git-Tag: live~5361 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/feeb135760abdbfef0eea193318566d9d96f2523 Merge remote-tracking branch 'osmlab/map-ui' --- feeb135760abdbfef0eea193318566d9d96f2523 diff --cc app/assets/javascripts/index.js index 15acc6412,4724351ce..bae80cac5 --- a/app/assets/javascripts/index.js +++ b/app/assets/javascripts/index.js @@@ -195,7 -185,7 +185,7 @@@ function setPositionLink(map) } if (data.type && data.id) { - addObjectToMap(data, map, { zoom: false, style: { opacity: 0.2, fill: false } }); - map.addObject(data, { zoom: true, style: { opacity: 0.2, fill: false } }); ++ map.addObject(data, { zoom: false, style: { opacity: 0.2, fill: false } }); } map.markerLayer.clearLayers();