diff --git a/css/app.css b/css/app.css index 1880bd17a..e3495d7f1 100644 --- a/css/app.css +++ b/css/app.css @@ -164,16 +164,16 @@ button small { .inspector-wrap { position:absolute; top:40px; - right:00px; + right:0px; overflow:auto; padding:10px; - background:#222222; + background:#eee; border-top:1px solid #000; - color:#fff; + color:#222; } .inspector-wrap h2 { - font: normal 20px/20px 'Helvetica'; + font: bold 20px/20px 'Helvetica'; } .inspector-wrap a.permalink { diff --git a/css/map.css b/css/map.css index 238d55e26..04ca64677 100644 --- a/css/map.css +++ b/css/map.css @@ -33,6 +33,10 @@ circle.teaser-point { stroke-width:8; } +image.marker { + background:#fff; +} + .stroke { stroke: #555; stroke-linecap:round; diff --git a/icons/unknown.png b/icons/unknown.png index 6e42488c0..c7972f944 100644 Binary files a/icons/unknown.png and b/icons/unknown.png differ diff --git a/js/iD/actions/actions.js b/js/iD/actions/actions.js index 2b7434e10..214b90489 100644 --- a/js/iD/actions/actions.js +++ b/js/iD/actions/actions.js @@ -39,7 +39,10 @@ iD.actions.AddPlace = { surface.on('click.addplace', function() { var ll = this.map.projection.invert( d3.mouse(surface.node())); - this.map.operate(iD.operations.addNode(iD.actions._node(ll))); + var n = iD.actions._node(ll); + n._poi = true; + this.map.operate(iD.operations.addNode(n)); + this.map.selectClick(n); this.exit(); }.bind(this)); diff --git a/js/iD/renderer/Map.js b/js/iD/renderer/Map.js index 4a2404a08..710c2f8f3 100755 --- a/js/iD/renderer/Map.js +++ b/js/iD/renderer/Map.js @@ -345,6 +345,8 @@ iD.Map = function(elem) { map.download = download; map.getExtent = getExtent; + map.selectClick = selectClick; + map.setCenter = setCenter; map.setCentre = setCenter; map.getCentre = getCenter;