mirror of
https://github.com/CIMEngine/map.git
synced 2024-11-22 02:46:22 +03:00
fix: displaying polygons after changing style
This commit is contained in:
parent
dd0d8fd077
commit
5fd3ee783d
1 changed files with 1 additions and 1 deletions
|
@ -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) => {
|
||||||
|
|
Loading…
Add table
Reference in a new issue