Commit graph

538 commits

Author SHA1 Message Date
Azgaar
4902a321ea river type - memoize what is small size for river 2021-07-23 20:48:38 +03:00
Azgaar
50f497c62a river type - fix fork type selection 2021-07-23 20:37:17 +03:00
Azgaar
27d460ce2f riversData: use object to avoid filtering data 2021-07-23 19:33:47 +03:00
Azgaar
f932fb8906 remove randomness from river course rendering 2021-07-23 18:46:58 +03:00
Azgaar
aed9d9d768 confluence to reflect real value 2021-07-23 18:40:39 +03:00
Azgaar
36bae4e705 river width to depend on flux 2021-07-22 01:52:41 +03:00
Azgaar
ef55f5a442 fix tile save bug 2021-07-21 22:21:48 +03:00
Azgaar
77f371e28f river generator - subs confluence to select main stem 2021-07-21 00:15:05 +03:00
Azgaar
ae62755a76 remove all rivers - fix 2021-07-20 01:37:13 +03:00
Azgaar
76c787b6e9 allow to add river - fix 2021-07-20 01:31:48 +03:00
Azgaar
4523e90551 keep widening option 2021-07-20 00:31:00 +03:00
Azgaar
0adc0e883a refactor river fendering 2021-07-20 00:20:04 +03:00
Azgaar
6405b442a5 make icon size stable 2021-07-18 14:10:06 +03:00
Azgaar
76bc07e3e2 optimization as suggested by Rayzeq 2021-07-18 14:06:53 +03:00
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
Azgaar
d6c18fb6a2 ability to remove icons in bulk via button 2021-07-13 14:51:21 +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
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
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
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