mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-17 14:23:38 +02:00
Vendored
+17
-1
@@ -46,7 +46,23 @@
|
||||
id.features().disable('boundaries');
|
||||
}
|
||||
|
||||
id.ui()(document.getElementById('id-container'));
|
||||
id.ui()(document.getElementById('id-container'), function() {
|
||||
id.container().select('#about-list')
|
||||
.insert('li', '.user-list')
|
||||
.attr('class', 'source-switch')
|
||||
.call(iD.uiSourceSwitch(id)
|
||||
.keys([{
|
||||
'urlroot': 'https://www.openstreetmap.org',
|
||||
'oauth_consumer_key': '5A043yRSEugj4DJ5TljuapfnrflWDte8jTOcWLlT',
|
||||
'oauth_secret': 'aB3jKq1TRsCOUrfOIZ6oQMEDmv2ptV76PA54NGLL'
|
||||
}, {
|
||||
'urlroot': 'https://api06.dev.openstreetmap.org',
|
||||
'oauth_consumer_key': 'zwQZFivccHkLs3a8Rq5CoS412fE5aPCXDw9DZj7R',
|
||||
'oauth_secret': 'aMnOOCwExO2XYtRVWJ1bI9QOdqh1cay2UgpbhA6p'
|
||||
}
|
||||
])
|
||||
);
|
||||
});
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
|
||||
Reference in New Issue
Block a user