Commit graph

747 commits

Author SHA1 Message Date
Azgaar
7b506fc6d8 save.js fix - options are not defined 2021-07-18 00:55:33 +03:00
Azgaar
edf728a12e 3d labels - draw labels as they are 2021-07-17 23:32:02 +03:00
Azgaar
14b35cf93b clean up 2021-07-17 22:53:02 +03:00
Azgaar
2502e1c916 use sprites for 3d labels 2021-07-17 22:52:35 +03:00
Azgaar
1d7ba8568f 3d labels: improve perf and look 2021-07-17 21:03:20 +03:00
Azgaar
4cb7b55e03 optimize animation - stop on speed = 0 2021-07-17 17:24:14 +03:00
Azgaar
dd1492ca72 fix 3d options 2021-07-17 15:58:26 +03:00
Rayzeq
4575edc92e
Better cities and towns labels in 3D view (#635)
* Better cities and towns labels in 3D view

* Small changes (let -> const)

* Lower city labels

* Change the way the label faces the camera

* Use font from svg instead of hardcoded

* Use color from svg

* Optionalize 3d labels

* Use pack.burgs instead of svg + Icon use style from svg

* Replace jQuery with d3

* Labels adapts to height scale

* Fix bug: options are not applied when changing layer

* Add states labels + Replace canvas by svg

* Fix: States labels adapts to height scale

* Requested fixes

* All fonts working properly + Big memory optimization + Minor fixes

* Fix rotating animation + More optimization

* use Raycaster for positioning the labels

* Use canvas to render burg labels + Some tweaks

Co-authored-by: Rayzeq <zachariedubrulle@gmail.com>
2021-07-17 15:52:17 +03:00
Rutger Hartog
53c20a48da
Containerized version (#639)
* add Dockerfile

* added custom nginx config file
2021-07-13 18:42:28 +03:00
Azgaar
d6c18fb6a2 ability to remove icons in bulk via button 2021-07-13 14:51:21 +03:00
Azgaar
c65a044aae update delaunator to v5 2021-07-13 13:50:32 +03:00
Azgaar
9301631537 small fix for legend font load 2021-07-12 23:51:57 +03:00
Azgaar
6dc8cad13e shapeRendering option 2021-07-12 23:45:10 +03:00
Azgaar
985e3c43f9 throttle work done on zoom and brush drag 2021-07-12 23:20:34 +03:00
Azgaar
e7b354e217 throttle work done on zoom 2021-07-12 22:08:17 +03:00
Azgaar
9df7b2f7a5 lake style for ancient set 2021-07-11 20:16:38 +03:00
Azgaar
1ae6d73f94 move fonts function to a separate file 2021-07-11 19:39:03 +03:00
Azgaar
99dd005e5c load fonts on style set change 2021-07-11 19:35:43 +03:00
Azgaar
cf269b775c ancient style update 2021-07-11 19:23:13 +03:00
Azgaar
5e6760ddd3 fix old relief icons 2021-07-11 18:36:17 +03:00
Azgaar
2dd8628f2b fix font size change buttons 2021-07-11 17:59:31 +03:00
Azgaar
1f10a8e281 fix font size settings 2021-07-11 17:53:22 +03:00
Azgaar
7d299ff395 redraw relief on size change 2021-07-11 16:47:49 +03:00
Azgaar
186ed14eee style is a stirng 2021-07-11 15:02:08 +03:00
Azgaar
f69443c584 save stylePreset to .map file 2021-07-11 15:00:35 +03:00
Azgaar
966184be36 add Light style to options 2021-07-11 13:31:32 +03:00
Azgaar
659a217368 new style: Light 2021-07-11 13:24:36 +03:00
Azgaar
68f1861603 default styleSaverName ti take current name 2021-07-11 13:18:02 +03:00
Azgaar
25c97df2d0 add tier 2021-07-11 01:20:25 +03:00
Azgaar
c8eccfb0e7 more state types 2021-07-11 01:18:39 +03:00
Azgaar
805684f79e draw halo along water, but not map border 2021-07-11 00:53:48 +03:00
Azgaar
cfb6e1eeeb load fonts on .map file open 2021-07-11 00:29:58 +03:00
Azgaar
25de9edb13 fix select group issue 2021-07-10 22:49:35 +03:00
Azgaar
0e9732e6ce fix the issue with province that cannot be reassigned 2021-07-10 22:41:50 +03:00
Azgaar
43ce0424a5 move filter from regions to statesBody 2021-07-10 20:45:59 +03:00
Azgaar
687dedfe1b state only borders + watercolor style 2021-07-10 20:08:30 +03:00
Azgaar
44b3911e65 update supporters list 2021-07-05 18:56:35 +03:00
Azgaar
ba8a529c9e enter debug mode from localStorage 2021-07-01 23:24:38 +03:00
Azgaar
05700cc338 allow to style text-shadow for labels 2021-07-01 21:00:49 +03:00
Azgaar
f2f170ff29 fix lake elevation limits 2021-06-29 00:59:58 +03:00
Azgaar
5ed08e156a store populationRate and urbanization in memory 2021-06-27 14:24:55 +03:00
Azgaar
3892370816 automatically pit output to input and store data 2021-06-26 00:41:43 +03:00
Azgaar
d6aac8d12c depressions filling controls UI 2021-06-25 22:27:09 +03:00
Azgaar
e6099f62dd supporters update 2021-06-24 23:52:21 +03:00
Azgaar
1a6c9154e2 fix dimensions 2021-06-24 23:51:40 +03:00
Azgaar
e767b1b54b fix tiling 2021-06-24 23:34:27 +03:00
Azgaar
e923cf06c9 toggle labels from save dialog 2021-06-24 23:13:45 +03:00
Azgaar
e9fa4cbd6c download tiles 2021-06-24 22:53:27 +03:00
Azgaar
af1d369e31 addOverseaRoute 2021-06-13 19:57:00 +03:00
Azgaar
e3da664e56 template editor: allow single value 2021-06-13 16:42:47 +03:00