WIP: Buildings
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user