From 051650a0ac5bb8a8efce71977bc130bf99cd1630 Mon Sep 17 00:00:00 2001 From: kuzkok Date: Thu, 22 Jun 2017 14:54:29 +0100 Subject: [PATCH] Change default image path to leaflet depended, remove unneccessary images --- .editorconfig | 24 +++++++++++++++++++++++ images/leaf-orange.png | Bin 5860 -> 0 bytes images/leaf-shadow.png | Bin 3236 -> 0 bytes images/marker-icon-2x.png | Bin 2586 -> 0 bytes images/marker-icon.png | Bin 1466 -> 0 bytes images/marker-shadow.png | Bin 621 -> 0 bytes src/leaflet_measure.js | 39 ++------------------------------------ 7 files changed, 26 insertions(+), 37 deletions(-) create mode 100644 .editorconfig delete mode 100644 images/leaf-orange.png delete mode 100644 images/leaf-shadow.png delete mode 100644 images/marker-icon-2x.png delete mode 100644 images/marker-icon.png delete mode 100644 images/marker-shadow.png diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..90709c1 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,24 @@ +# EditorConfig helps developers define and maintain consistent +# coding styles between different editors and IDEs +# editorconfig.org + +root = true + +[*] +end_of_line = lf +charset = utf-8 +trim_trailing_whitespace = true +insert_final_newline = true +indent_style = space +indent_size = 2 + +[*.js] +indent_style = space +indent_size = 2 + +[*.css] +indent_style = space +indent_size = 2 + +[*.{diff,md}] +trim_trailing_whitespace = false diff --git a/images/leaf-orange.png b/images/leaf-orange.png deleted file mode 100644 index 94ea5c1a7d5a9db89fc570579f0a40c6d9fd4dab..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 5860 zcmaJ_c|4Ts-xk@5N{j}@M9Mm5?8d$&`@WN9W-v4}%#3~CqAXd9vW3Ymi5O)oyX-_{ zIhGK~zK!M8`JHoq?;r1ZpU>xc?)(0JuIu`)_dm}g13eAK3+xvtC@2^;@2MG`t+&r! zJ35-PZ^V`Ag0qE~zX7k0M)Z5H7M{Rtts$#efF zC<|Q!kSZ331WAA)!f=Qr1SAOsL&e0Uq@;vEq7W!V1R^Q|6%~d`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(icE4h zHa5mO!vxQ%p&(1q$xLq=-)|3Uqx!Psf5;3R&E=;AG4-v5ZjqhGH+Y8@E-EE9K&8GG zIjVFfSEePm*z0G>X{xHKJ{}TV`a*x)P4SEBM&`AOqORAZD{8s$3Z`clBPnmldX*Nn z-Y#{|JBj!s;Up;%479kI15Fz$(67N=V>>ovikVRy&vfo>N}~8`AAem&1rCS5iSM1! z!S>sY%1^KDZ=J9tc&>aS;j6rVO_|lGb7}6n5*61us9BLUt7MCID{-@34$n{z``aSH z&AG9n*1Nm<3I__T{?VZV{Cx zwp!rzYpTpOw9wD>t!-&d+3x3&Cac~im^cKI6D@YxD;H1Ey75SAzAf72mrZDOX^UmR zd#|5H@r0+VFD>Vu(Z2X7Qd%e{60f^J>F?1C_FDT^q|{Rt1=W6k7u$l)e)8HR8mN{M zwIMR}^{w-AruS5OkABbammfd#?O$ay2pg`Ay$OfO%A%GBiNlkVy7Kb!KYe!6+40Nz z1YF1A&X*6N&?sq%@3~=tEGx`0HR|?RJw=$|u2a`!bp39qM?B!C{;il;-z7ke`lD;~ zWKV_fz1r>1mj~pO6Q@}1h%!9(|GoKf$4znAC8omw@(;wQMKQ$ z8r-wF0?~8x^Y>r8n&V96BEoW5);VjO!#G!Fli|CWi8uJs~WZ>?s&lBbCP6FyTyS_ z0`^;Nq9k^zH0hI=b8lh&BjW3)OJ)`@gfMx}I9OihbDs017tR AGynhq diff --git a/images/leaf-shadow.png b/images/leaf-shadow.png deleted file mode 100644 index 119a71dbcfb43c0a0788b1a72806bdcf2323124a..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 3236 zcmWkxc|4T+7k+K!h8RmEG2ST2ZZPAjsCSB(G?|yi?qY00_JR zz%mB_ltXWOy*dE^(zOV?}p=mP{^df;~JuvLCqz%f5D&WaCeKFpmv@PQc|& z@CvW3nk=y%AYHsAPS3LlRh^&NDZ+}dEYQKu9IDV2VU3OLpB`#iyV+x5VUfX6F5=oB zf1gQvR8=L>+us|LyK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xx%>V!Z diff --git a/images/marker-icon.png b/images/marker-icon.png deleted file mode 100644 index 950edf24677ded147df13b26f91baa2b0fa70513..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1466 zcmV;r1x5OaP)P001cn1^@s6z>|W`000GnNklGNuHDcIX17Zdjl&3`L?0sTjIws<{((Dh&g-s0<@jYQyl?D*X^?%13;ml^gy> ziMrY_^1WI=(g@LMizu=zCoA>C`6|QEq1eV92k*7m>G65*&@&6)aC&e}G zI)pf-Za|N`DT&Cn1J|o`19mumxW~hiKiKyc-P`S@q)rdTo84@QI@;0yXrG%9uhI>A zG5QHb6s4=<6xy{1 z@NMxEkryp{LS44%z$3lP^cX!9+2-;CTt3wM4(k*#C{aiIiLuB>jJj;KPhPzIC00bL zU3a#;aJld94lCW=`4&aAy8M7PY=HQ>O%$YEP4c4UY#CRxfgbE~(|uiI=YS8q;O9y6 zmIkXzR`}p7ti|PrM3a}WMnR=3NVnWdAAR>b9X@)DKL6=YsvmH%?I24wdq?Gh54_;# z$?_LvgjEdspdQlft#4CQ z`2Zyvy?*)N1Ftw|{_hakhG9WjS?Az@I@+IZ8JbWewR!XUK4&6346+d#~gsE0SY(LX8&JfY>Aj)RxGy96nwhs2rv zzW6pTnMpFkDSkT*a*6Dx|u@ds6ISVn0@^RmIsKZ5Y;bazbc;tTSq(kg(=481ODrPyNB6n z-$+U}(w$m6U6H$w17Bw+wDaFIe~GvNMYvnw31MpY0eQKT9l>SU``8k7w4)z!GZKMI z#_cEKq7k~i%nlK@6c-K?+R;B#5$?T#YpKD`t_4bAs^#E+@5QW$@OX3*`;(#{U^d-vY)&xEE>n5lYl&T?AmU+#6Wd0YUHSqfXeAY$B`Ha!f-Ezj^F>ij+q(58Msode@WK57p4@pKef9jjqB*j z>qaCSuD>cJS<0J65*9KC;f@tz5V+m}nSd3iXE;6q*Sp#zAlykEe*>%6noUVSZ9a9* z^l%Dlma4rvA?dvrK#H4`hy<>BYr0M1*4)&AJ#(Ex9Z+)V!A%-d3>$Q40H7W;AS2!S z0?w4FACO8_CtZzZl{DI0CZ^^EJp)u27^uU+(;Br!oHJuMkgy71J|1c;;6j~}1d<>Y9 zS~?SVPmej2tI9J~cwdK}P>TaZjpob@aDGIS zbRTET6O7Qog47vWRgOj{)JFgrhie;@UKz@#_ISoIx;R8scO0z0GuJzvV$h_}Wv?7S{TmZcN!M51DxIKBtd&h{jY0w@RgSS0 z+JQ0-0b5~9Wd(T=Y?2z#UYibrNNDR;)F0(9q-(qYwyO*+UeZn1w-fR+eki|8t_{+~ z3e3oZw(U%gdjBuJ$7ki6z(20gJyaTCLXLyB{qx3^pm*^m-Wyz=_s= 0) { - return '/assets/images'; - } else { - if (src.match(leafletRe)) { - path = src.split(leafletRe)[0]; - return (path ? path + '../../' : '') + 'images'; - } - } - } - }()); - /** * Примесь, переопределяющая базовые методы инструментов плагина Leaflet.Editable, превращая их в инструменты измерений. */ @@ -104,9 +83,8 @@ pane: 'popupPane', className: 'leaflet-draw-tooltip' }; - var imagePath = L.Measure.imagePath; var popupMarkerIcon = L.icon({ - iconUrl: imagePath + '/popupMarker.png', + iconUrl: L.Icon.Default.imagePath + '/popupMarker.png', iconSize: [1, 1] }); this._map._mouseMarker = L.marker(this._map.getCenter()); @@ -692,19 +670,6 @@ */ startMeasure: function (options) { this._setMouseMarker(); - var imagePath = L.Measure.imagePath; - this.options = { - icon: L.icon({ - iconUrl: imagePath + '/marker-icon.png', - iconRetinaUrl: imagePath + '/marker-icon-2x.png', - iconSize: [25, 41], - iconAnchor: [12, 41], - popupAnchor: [1, -34], - shadowUrl: imagePath + '/marker-shadow.png', - shadowSize: [41, 41] - }) - }; - options = options ? L.setOptions(this, options) : this.options; this.measureLayer = this._map.editTools.startMarker(undefined, options); this.eventsOn('editable:', this.editableEventTree, true); @@ -1602,4 +1567,4 @@ }); }); -})(L); \ No newline at end of file +})(L);