mirror of
https://github.com/heyarne/berliner-winter.git
synced 2026-05-06 19:23:39 +02:00
Add year picker
This commit is contained in:
parent
155874f689
commit
c75a34c250
14 changed files with 67 additions and 9703 deletions
|
|
@ -1,5 +1,13 @@
|
|||
(function () {
|
||||
// set up background map
|
||||
var map = L.map('map').setView([52.50, 13.40], 11);
|
||||
var layer = new L.StamenTileLayer("toner-lite");
|
||||
map.addLayer(layer);
|
||||
|
||||
$.get('/articles')
|
||||
.fail(console.error.bind(console))
|
||||
.then(function (data) {
|
||||
console.log('Got data successfully!');
|
||||
console.log(data);
|
||||
});
|
||||
})();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue