mirror of
https://github.com/muerwre/orchidmap-front.git
synced 2025-05-24 01:04:47 +07:00
scaling stickers
This commit is contained in:
parent
09ce310bad
commit
ef5cd0cdef
13 changed files with 181 additions and 144 deletions
|
@ -139,23 +139,9 @@ function* getRenderData() {
|
|||
yield composeImages({ geometry, images, ctx });
|
||||
yield composePoly({ points, ctx });
|
||||
|
||||
// TODO: make additional dashed lines
|
||||
// gpx.list.forEach(item => {
|
||||
// if (!gpx.enabled || !item.enabled || !item.latlngs.length) return;
|
||||
|
||||
// composePoly({
|
||||
// points: getPolyPlacement(item.latlngs),
|
||||
// ctx,
|
||||
// color: item.color,
|
||||
// opacity: 0.5,
|
||||
// weight: 9,
|
||||
// dash: [12, 12],
|
||||
// });
|
||||
// });
|
||||
|
||||
yield composeArrows({ points, ctx });
|
||||
yield composeDistMark({ ctx, points, distance });
|
||||
yield composeStickers({ stickers: sticker_points, ctx });
|
||||
yield composeStickers({ stickers: sticker_points, ctx, zoom: MainMap.getZoom() / 13 });
|
||||
|
||||
yield put(editorSetRenderer({ info: 'Готово', progress: 1 }));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue