mirror of
https://github.com/muerwre/orchidmap-front.git
synced 2025-04-25 11:06:40 +07:00
fixed undefined sticker issue x2
This commit is contained in:
parent
5dde6d88a9
commit
6aecbd3d26
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ export class Stickers {
|
||||||
latlng, sticker, angle = 2.2, text = '', set
|
latlng, sticker, angle = 2.2, text = '', set
|
||||||
}: IStickerDump): void => {
|
}: IStickerDump): void => {
|
||||||
|
|
||||||
if (!STICKERS[set] || !STICKERS[set].layers || !STICKERS[set].layers[sticker + 111]) return;
|
if (!STICKERS[set] || !STICKERS[set].layers || !STICKERS[set].layers[sticker]) return;
|
||||||
|
|
||||||
const marker = new Sticker({
|
const marker = new Sticker({
|
||||||
latlng,
|
latlng,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue