fix: displaying polygons after changing style

This commit is contained in:
Artemy 2023-06-12 12:48:40 +03:00
parent dd0d8fd077
commit 5fd3ee783d

View file

@ -83,7 +83,7 @@ window.onload = async () => {
let converter = new showdown.Converter(); let converter = new showdown.Converter();
map.on("load", async () => { map.on("style.load", async () => {
map.loadImage( map.loadImage(
"https://cimengine.github.io/map/icons/city.png", "https://cimengine.github.io/map/icons/city.png",
(error, image) => { (error, image) => {