Commit Graph

149 Commits

Author SHA1 Message Date
Michael Straßburger
7bfe9bb57b 💖 adding stroke-width support for (poly)lines! 2016-09-29 00:57:28 +02:00
Michael Straßburger
410d3aba4f 🔨 json style merge helper script, merged line-width into bright style 2016-09-29 00:55:05 +02:00
Michael Straßburger
814d698203 🎨 setting bright's background to black 2016-09-28 22:51:28 +02:00
Michael Straßburger
a7c8a4206b 🎨 supporting global background color via style definition 2016-09-28 19:39:00 +02:00
Michael Straßburger
334032da59 🎨 optimizing canvas size calculation 2016-09-28 19:29:54 +02:00
Michael Straßburger
3f01b85e81 🔍 using markers for labels that won't fit on the screen anymore 2016-09-28 18:43:53 +02:00
Michael Straßburger
a2232a53dd 🚤 clamping polygon points to visible area, reducing points afterwards 2016-09-28 18:18:16 +02:00
Michael Straßburger
05558f0cdf 🚤 reducing points after scaling to speed up rendering 2016-09-28 18:06:24 +02:00
Michael Straßburger
f5fdd8dea5 🎨 working on background color based polygon filling 2016-09-28 14:11:05 +02:00
Michael Straßburger
22907f4168 📐 adding utils.pointInPolygon 2016-09-28 13:39:34 +02:00
Michael Straßburger
bfe6abadd7 🎨 adding support for background color 2016-09-28 13:38:47 +02:00
Michael Straßburger
64b03e3422 🔍 adding house numbers and custom label margin per layer 2016-09-27 23:45:26 +02:00
Michael Straßburger
6fbd676a2e 👍 using readline's cursorTo, thanks to @alangecker 2016-09-27 23:42:24 +02:00
Michael Straßburger
f56b37d3b0 📖 switching to refactored text renderer 2016-09-27 17:23:58 +02:00
Michael Straßburger
cfe063cf2e 🔍 using spatial indexing to determain which features to render 2016-09-27 14:53:47 +02:00
Michael Straßburger
06528f488d 📐 using earcut for triangulation, implementing own Canvas 2016-09-27 13:57:59 +02:00
Michael Straßburger
a3fb7149f2 🐃 finishing BrailleBuffer! 2016-09-23 21:06:24 +02:00
Michael Straßburger
719b099cdc 🐃 working on own BrailleBuffer implementation 2016-09-23 03:53:39 +02:00
Michael Straßburger
11c2f1f544 🔮 abstracting tile handling, preparing usage of spatial indexing 2016-09-22 05:09:07 +02:00
Michael Straßburger
0877eaca86 🎨 implementing mapbox style compiler, turning filter into call chains 2016-09-21 23:40:08 +02:00
Michael Straßburger
d7c7500a7f 🎨 improving Styler condition parser, adding main.js 2016-09-21 21:52:35 +02:00
Michael Straßburger
1acde4d1d3 🔨 refactoring and becoming more classy 2016-09-21 19:47:20 +02:00
Michael Straßburger
1effed33d9 🔍 adapting label decluttering to centered labels 2016-09-21 17:35:16 +02:00
Michael Straßburger
d3e2961184 📖 centering of label texts, better text selection 2016-09-21 15:41:44 +02:00
Michael Straßburger
241f9f7ef6 refactoring into separate modules, extending Canvas 2016-09-21 14:57:43 +02:00
Michael Straßburger
51f3078fac 🎨 not rendering polygon roads, not filling building 2016-09-21 06:19:36 +02:00
Michael Straßburger
4ae431718b 🎨 adding $type to props to allow filters matching it 2016-09-21 05:41:47 +02:00
Michael Straßburger
1afd8ec9c2 🎨 MVP version of mapbox style parser 2016-09-21 05:18:20 +02:00
Michael Straßburger
87340c1d3c 📐 implementing inner exclusion of filled polygons 2016-09-21 01:44:51 +02:00
Michael Straßburger
50a597fa1d 📐 converting polygons to triangles to draw them filled, adapted lib 2016-09-21 00:50:40 +02:00
Michael Straßburger
b507627ab3 adding coffee-script and adding 'npm start' script 2016-09-20 23:10:41 +02:00
Michael Straßburger
f5ff8a4a6b 📖 updating readme header 2016-09-20 23:02:21 +02:00
Michael Straßburger
2877fc0010 📖 adding links to readme 2016-09-20 22:40:25 +02:00
Michael Straßburger
8ccca7f3e0 🔍 improving label collision detection 2016-09-20 22:36:22 +02:00
Michael Straßburger
c717b7504f 🔍 calculating optimal zoom level to show full tile 2016-09-20 21:46:31 +02:00
Michael Straßburger
014eab2b70 🌲 using r-tree spatial indexing to declutter the labels 2016-09-20 20:52:49 +02:00
Michael Straßburger
8f3de4a159 ☑️ adding bounding box calculation from current lat/lng + zoom 2016-09-20 15:21:24 +02:00
Michael Straßburger
19e0421479 👓 working on readme 2016-09-19 09:19:31 +02:00
Michael Straßburger
d065fb1849 👓 adding zoom step in to config 2016-09-18 21:50:09 +02:00
Michael Straßburger
9dcf71d411 👓 adding layer.minZoom display control 2016-09-18 21:15:21 +02:00
Michael Straßburger
545b9246c9 📖 working on readme 2016-09-18 19:57:47 +02:00
Michael Straßburger
e52ae425f6 🎨 refactoring 2016-09-18 17:46:14 +02:00
Michael Straßburger
d3ddc23de4 😄 adding support for points, using emoji utf8 symbols 2016-09-18 16:10:33 +02:00
Michael Straßburger
29d6a084fb 🎨 starting refactor, config hash, more todos 2016-09-18 15:26:09 +02:00
Michael Straßburger
3b03122807 🎨 using term-mouse, improving zoom<>view relation 2016-09-18 06:32:26 +02:00
Michael Straßburger
bf5cc5a21d 🎨 adding notify method to display temporary debug information 2016-09-18 04:33:59 +02:00
Michael Straßburger
b790a4d76a handling console resize, adding mvp status bar 2016-09-18 04:20:35 +02:00
Michael Straßburger
44192bbbd0 🔥 initial commit! 2016-09-18 02:44:31 +02:00
Michael Straßburger
14fa2a66bc Initial commit 2016-09-18 02:40:44 +02:00