Remove unused

This commit is contained in:
John Firebaugh
2013-03-05 12:39:17 -08:00
parent c4fc6ca114
commit 417e21ab05
3 changed files with 0 additions and 11 deletions
-2
View File
@@ -10,7 +10,6 @@ iD.behavior.AddWay = function(context) {
.on('finish', addWay.cancel);
context.map()
.fastEnable(false)
.minzoom(16)
.dblclickEnable(false);
@@ -19,7 +18,6 @@ iD.behavior.AddWay = function(context) {
addWay.off = function(surface) {
context.map()
.fastEnable(true)
.minzoom(0)
.tail(false);
-2
View File
@@ -65,7 +65,6 @@ iD.behavior.DrawWay = function(context, wayId, index, mode, baseGraph) {
.on('finish', drawWay.finish);
context.map()
.fastEnable(false)
.minzoom(16)
.dblclickEnable(false);
@@ -83,7 +82,6 @@ iD.behavior.DrawWay = function(context, wayId, index, mode, baseGraph) {
context.pop();
context.map()
.fastEnable(true)
.minzoom(0)
.tail(false);
-7
View File
@@ -9,7 +9,6 @@ iD.Map = function(context) {
.scaleExtent([1024, 256 * Math.pow(2, 24)])
.on('zoom', zoomPan),
dblclickEnabled = true,
fastEnabled = true,
transformStart,
minzoom = 0,
background = iD.Background()
@@ -216,12 +215,6 @@ iD.Map = function(context) {
return map;
};
map.fastEnable = function(_) {
if (!arguments.length) return fastEnabled;
fastEnabled = _;
return map;
};
function setZoom(z, force) {
if (z === map.zoom() && !force)
return false;