WIP: Buildings

This commit is contained in:
2024-05-16 23:11:05 -07:00
parent 021b8d3a9a
commit 9d4f58472d
4 changed files with 377 additions and 2 deletions

View File

@@ -74,6 +74,7 @@ function load() {
linkEl.setAttribute('rel', 'stylesheet');
linkEl.setAttribute('href', 'http://localhost:8080/assets/css/map.css');
linkEl.setAttribute('type', 'text/css');
linkEl.onload = function (e) {
console.log('map.css loaded');
@@ -86,6 +87,7 @@ function load() {
scriptEl.setAttribute('href', 'http://localhost:8080/map.js');
}
};
svg.prepend(linkEl);
this.style.opacity = 1;