mirror of
https://github.com/FoggedLens/iD.git
synced 2026-02-13 09:12:52 +00:00
Remove UI
This commit is contained in:
@@ -58,8 +58,6 @@
|
||||
<script type='text/javascript' src='js/iD/graph/Graph.js'></script>
|
||||
<script type='text/javascript' src='js/iD/Connection.js'></script>
|
||||
|
||||
<script type='text/javascript' src='js/iD/UI.js'></script>
|
||||
|
||||
<script>
|
||||
var map = iD.Map(document.getElementById('map')).setZoom(18).setCenter({
|
||||
lat: 40.7965621,
|
||||
@@ -69,7 +67,6 @@
|
||||
var m = d3.select('#map');
|
||||
|
||||
iD.Hash().map(map);
|
||||
iD.UI.bind();
|
||||
|
||||
var controller = iD.controller(map);
|
||||
|
||||
|
||||
14
js/iD/UI.js
14
js/iD/UI.js
@@ -1,14 +0,0 @@
|
||||
iD.UI = {};
|
||||
|
||||
iD.UI.bind = function() {
|
||||
this.buttons = {
|
||||
place: d3.select('button#place'),
|
||||
area: d3.select('button#area'),
|
||||
road: d3.select('button#road')
|
||||
};
|
||||
|
||||
this.undoText = d3.select('button#undo small');
|
||||
};
|
||||
|
||||
iD.UI.update = function() {
|
||||
};
|
||||
Reference in New Issue
Block a user