Commit graph

28 commits

Author SHA1 Message Date
Azgaar
37598994cb dissalow local run 2022-02-06 01:04:11 +03:00
Efruz Yıldırır
503eabd9d4
Api-Like map save option (#730)
* Added Save Option for Api-like json export.
Will be updated and set to a scheme

* Save Option for Api-like added

* Moved UI of json export to export dialog.
Moved json export to another file named export-json.js

* Added Seperated json export selections
- all JSON : exports all json data.
- minimal JSON : exports json data without cells data.
- cells JSON : exports json data only with pack.cells data.

* More Stable Cell Export...
2022-01-26 17:16:54 +03:00
Azgaar
cc82d258fa urbanDensity - save/load 2021-10-17 12:01:38 +03:00
Azgaar
972850e7ad markers - export as geoJSON 2021-09-27 22:47:37 +03:00
Azgaar
3ed56ceee7 split save and export to different files 2021-09-16 12:27:22 +03:00
Azgaar
f07cbe9323 don't consider localhost as PRODUCTION 2021-09-12 00:16:29 +03:00
Azgaar
fe330ede3a
Fonts refactoring and Add Font dialog (#660)
* fonts rework - start

* fonts rework - continue

* fonts rework - fetch google font

* fonts rework - issue fixes

* fonts rework - add fonts to downloaded image

* fonts rework - add methods dialog

* fonts rework - add methods description

* fonts update - move version to 1.661

* fonts - remove unused file
2021-09-09 00:12:45 +03:00
Azgaar
6da81efeb2 Merge branch 'master' of https://github.com/Azgaar/Fantasy-Map-Generator 2021-09-08 09:50:46 +03:00
Gergely Mészáros, Ph.D
2d3f465d68
Cloud support / Dropbox OAuth reference client (#659)
* bioms shouldn't be masked or the style selection box is useless
* fix: misleading comment
* Fix: calculating absolute flux from precipitation normal-value.
* Fix: River automatic rerender on regeneration.
* Dropbox OAuth implementation and Cloud framework
* add some space
* removing unnecessary logs, defer script load

Created by: Mészáros Gergely <monk@geotronic.hu>
2021-09-07 23:36:09 +03:00
Azgaar
ae75f93174 load dropins from local folder 2021-09-02 20:52:03 +03:00
Azgaar
c783301de9 dropbox - import changes from alpha 2021-09-01 21:33:49 +03:00
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