mirror of
https://github.com/muerwre/orchidmap-front.git
synced 2025-04-25 19:16:41 +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
|
||||
}: 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({
|
||||
latlng,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue