Commit Graph

219 Commits

Author SHA1 Message Date
Michael Straßburger
da6c398e6d 🍺 comitting current dev stage of various refactors 2016-11-02 13:19:46 +01:00
Michael Straßburger
eb88d231a9 🔳 calculating visible tiles 2016-10-03 22:09:04 +02:00
Michael Straßburger
e841d634f9 📐 adding support for holes in polygon triangulation 2016-10-03 20:01:30 +02:00
Michael Straßburger
c0da2871d6 🔳 accurate calculation of current viewport bbox 2016-10-03 19:19:41 +02:00
Michael Straßburger
d2f182c2b2 🎨 clearing screen right before first draw 2016-10-03 17:05:14 +02:00
Michael Straßburger
043e271985 🔍 calculating minZoom based on terminal width, fit map on startup 2016-10-03 16:42:14 +02:00
Michael Straßburger
dd755ba8a8 🔍 adapting to "real" zoom levels, starting with full tile fit 2016-10-03 16:26:41 +02:00
Michael Straßburger
f24ebc9ac0 🎨 starting work on basic dark theme 2016-10-03 05:30:59 +02:00
Michael Straßburger
89f4521251 🎨 adding support for style.constants 2016-10-03 05:29:40 +02:00
Michael Straßburger
afe7a53009 ↔️ adding config for used input/output stream 2016-10-01 21:05:16 +02:00
Michael Straßburger
d0ada3f13d Merge branch 'master' of github.com:rastapasta/termap 2016-10-01 05:01:35 +02:00
Michael Straßburger
3b05be5f14 🎨 allow specific feature selection in render order (road->water->road:bridge) 2016-10-01 04:47:10 +02:00
Michael Strassburger
7556357b46 📖 updating readme's todo 2016-09-30 15:19:00 +02:00
Michael Straßburger
bc2d050581 🎨 respecting style.minzoom 2016-09-29 23:27:58 +02:00
Michael Straßburger
bdfcae4fa0 ↪️ implemting Canvas.rotate and prototype degree control (k & l) 2016-09-29 20:35:22 +02:00
Michael Straßburger
0e481bf5c9 🐁 adding Renderer.featuresAt to return features for mouse positions 2016-09-29 20:03:53 +02:00
Michael Straßburger
80edcc3f04 🐁 keep drawing the map while dragging it 2016-09-29 13:32:08 +02:00
Michael Straßburger
df6c6fd932 📷 adding screenshot to readme 2016-09-29 01:25:47 +02:00
Michael Straßburger
bd83950eeb 🎨 optimizing label/marker rendering 2016-09-29 01:24:00 +02:00
Michael Straßburger
f493a48e34 🎨 applying style.paint['line-width'] 2016-09-29 01:02:21 +02:00
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