This commit is contained in:
Artemy 2023-06-09 12:24:10 +03:00
parent 141e859878
commit 6c6d755231

View file

@ -58,7 +58,7 @@ window.onload = async () => {
movc.on("load", async () => { movc.on("load", async () => {
movc.loadImage( movc.loadImage(
"https://cime.github.io/map/icons/city.png", "https://cimengine.github.io/map/icons/city.png",
(error, image) => { (error, image) => {
if (error) throw error; if (error) throw error;
movc.addImage("city", image); movc.addImage("city", image);
@ -66,7 +66,7 @@ window.onload = async () => {
); );
movc.loadImage( movc.loadImage(
"https://cime.github.io/map/icons/capital.png", "https://cimengine.github.io/map/icons/capital.png",
(error, image) => { (error, image) => {
if (error) throw error; if (error) throw error;
movc.addImage("capital-city", image); movc.addImage("capital-city", image);
@ -75,7 +75,7 @@ window.onload = async () => {
); );
movc.loadImage( movc.loadImage(
"https://cime.github.io/map/icons/landmark.png", "https://cimengine.github.io/map/icons/landmark.png",
(error, image) => { (error, image) => {
if (error) throw error; if (error) throw error;
movc.addImage("landmark-0", image); movc.addImage("landmark-0", image);