Fix poi creation

This commit is contained in:
Tom MacWright
2012-10-18 18:16:51 -04:00
parent 6c811d81c0
commit 3083d4ee51
3 changed files with 6 additions and 2 deletions

View File

@@ -208,6 +208,12 @@ iD.Connection = function(apiURL) {
connection.loadFromAPI = loadFromAPI;
connection.loadFromURL = loadFromURL;
connection.getObjectsByBbox = getObjectsByBbox;
connection.doCreateNode = doCreateNode;
connection.doCreateWay = doCreateWay;
connection.doCreateRelation = doCreateRelation;
connection.registerPOI = registerPOI;
connection.unregisterPOI = unregisterPOI;
connection.getPOIs = getPOIs;
return connection;
};

View File

@@ -38,7 +38,6 @@ iD.Util.presets = function(type, callback) {
if (typeof console !== 'undefined') console.error(arguments);
},
success: function(resp) {
console.log(resp);
iD.Util._presets[type] = resp;
return callback(resp);
}

View File

@@ -40,7 +40,6 @@ declare("iD.controller.edit.EditBaseState", [iD.controller.ControllerState], {
// Build presets panel
iD.Util.presets(entity.entityType, function(presets) {
$presets.empty();
console.log(presets);
_.each(presets, function(pre, category) {
$('<h3></h3>')
.text(category)