Commit graph

17 commits

Author SHA1 Message Date
Azgaar
c1533c5408 save - handle cases when data is missing 2021-08-24 20:19:32 +03:00
Azgaar
37e5b803bc option to not rescale labels on zoom 2021-08-03 23:50:52 +03:00
Azgaar
ef55f5a442 fix tile save bug 2021-07-21 22:21:48 +03:00
Azgaar
7b506fc6d8 save.js fix - options are not defined 2021-07-18 00:55:33 +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
99dd005e5c load fonts on style set change 2021-07-11 19:35:43 +03:00
Azgaar
f69443c584 save stylePreset to .map file 2021-07-11 15:00:35 +03:00
Azgaar
cfb6e1eeeb load fonts on .map file open 2021-07-11 00:29:58 +03:00
Azgaar
687dedfe1b state only borders + watercolor style 2021-07-10 20:08:30 +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
1a6c9154e2 fix dimensions 2021-06-24 23:51:40 +03:00
Azgaar
e767b1b54b fix tiling 2021-06-24 23:34:27 +03:00
Azgaar
e9fa4cbd6c download tiles 2021-06-24 22:53:27 +03:00
Azgaar
2be590ab24 replace href with xlink:href in saved image 2021-06-13 12:10:59 +03:00
Azgaar
caa0a781e0 fix oceanicPattern opacity 2021-06-12 19:45:02 +03:00