mirror of
https://github.com/CIMEngine/map.git
synced 2024-11-22 02:46:22 +03:00
fix: url
This commit is contained in:
parent
141e859878
commit
6c6d755231
1 changed files with 3 additions and 3 deletions
6
index.js
6
index.js
|
@ -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);
|
||||||
|
|
Loading…
Add table
Reference in a new issue