From 087a636b80df6e4c487762c560deb650c7328939 Mon Sep 17 00:00:00 2001 From: muerwre Date: Wed, 27 Feb 2019 13:18:27 +0700 Subject: [PATCH] added village sticker --- src/constants/stickers.ts | 1 + src/modules/InteractivePoly.ts | 1 + src/sprites/stickers/stickers-base.svg | 12371 ++++++++++++++++++++++- 3 files changed, 12370 insertions(+), 3 deletions(-) diff --git a/src/constants/stickers.ts b/src/constants/stickers.ts index 154db76..d58516f 100644 --- a/src/constants/stickers.ts +++ b/src/constants/stickers.ts @@ -48,6 +48,7 @@ export const STICKERS: IStickers = { waterfall: { off: 18, title: 'Водопад', title_long: 'Водопад' }, fields: { off: 19, title: 'Поля', title_long: 'Зеленые поля' }, beach: { off: 38, title: 'Пляж', title_long: 'Жаркий пляж' }, + village: { off: 39, title: 'Деревня', title_long: 'Деревня' }, empty: { off: 20, title: 'Пусто', title_long: 'Пусто' }, } }, diff --git a/src/modules/InteractivePoly.ts b/src/modules/InteractivePoly.ts index c5c7250..c404275 100644 --- a/src/modules/InteractivePoly.ts +++ b/src/modules/InteractivePoly.ts @@ -17,6 +17,7 @@ import { latLng, LatLngLiteral, } from 'leaflet'; + import { distKm, distToSegment, getPolyLength, pointInArea } from "$utils/geom"; interface InteractivePolylineOptions extends PolylineOptions { diff --git a/src/sprites/stickers/stickers-base.svg b/src/sprites/stickers/stickers-base.svg index e4ea593..7d1511e 100644 --- a/src/sprites/stickers/stickers-base.svg +++ b/src/sprites/stickers/stickers-base.svg @@ -1863,8 +1863,8 @@ inkscape:pageopacity="0" inkscape:pageshadow="2" inkscape:zoom="1" - inkscape:cx="2845.2064" - inkscape:cy="21.96094" + inkscape:cx="2883.0427" + inkscape:cy="38.190464" inkscape:document-units="px" inkscape:current-layer="layer1" showgrid="false" @@ -10526,7 +10526,7 @@ sodipodi:role="line" id="tspan2733" x="26.870058" - y="1097.6169">0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 + y="1097.6169">0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +