Files
iD/js/id/graph/node.js
John Firebaugh 62efa1948e Add Entity#geometry, use in inspector
Fixes the icon for areas, but breaks it for vertices.
Needs a big-vertex sprite.
2013-01-02 21:59:55 -08:00

12 lines
202 B
JavaScript

iD.Node = iD.Entity.extend({
type: "node",
extent: function() {
return [this.loc, this.loc];
},
geometry: function() {
return this._poi ? 'point' : 'vertex';
}
});