mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-17 01:41:22 +01:00
showMFCGMap option
This commit is contained in:
parent
e7d95924e0
commit
576fb9a6d0
3 changed files with 22 additions and 7 deletions
8
main.js
8
main.js
|
|
@ -147,10 +147,12 @@ function zoomed() {
|
|||
const zoom = d3.zoom().scaleExtent([1, 20]).on("zoom", zoomed);
|
||||
|
||||
// default options
|
||||
let options = {pinNotes: false}; // options object
|
||||
let options = {
|
||||
pinNotes: false,
|
||||
showMFCGMap: true,
|
||||
winds: [225, 45, 225, 315, 135, 315]
|
||||
};
|
||||
let mapCoordinates = {}; // map coordinates on globe
|
||||
options.winds = [225, 45, 225, 315, 135, 315]; // default wind directions
|
||||
|
||||
let populationRate = +document.getElementById("populationRateInput").value;
|
||||
let urbanization = +document.getElementById("urbanizationInput").value;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue