Luke Murphy
4 years ago
2 changed files with 16 additions and 0 deletions
@ -0,0 +1,15 @@ |
|||||
|
// Vocoder front-end Javascript
|
||||
|
|
||||
|
// Only run our JS when everything on the page is loaded.
|
||||
|
// This includes images (our map tiles), see https://stackoverflow.com/a/1033448
|
||||
|
window.addEventListener('load', main) |
||||
|
|
||||
|
function main(){ |
||||
|
const mappa = new Mappa('Leaflet'); |
||||
|
// TODO: once we get the leaflet map setup, we'll overlay following
|
||||
|
// the example from https://mappa.js.org/docs/examples-leaflet.html
|
||||
|
} |
||||
|
|
||||
|
// TODO: p5.js / mappa.js specifics for later ...
|
||||
|
function setup(){} |
||||
|
function draw(){} |
Loading…
Reference in new issue