mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-18 10:01:23 +01:00
Updated URL parameters (markdown)
parent
3b12cf7907
commit
7cc147b3ea
1 changed files with 3 additions and 3 deletions
|
|
@ -1,4 +1,4 @@
|
||||||
Here is a list of parameters you can add to URL in order to set generator options and/or control its behavior on load. It can be used to share exactly the same generated map without need to save it, or even to show exact place on the map.
|
Here is a list of parameters you can add to URL in order to set generator options and control its behavior on load. It can be used to share exactly the same generated map without need to send the file, or even to show exact place on that map.
|
||||||
|
|
||||||
## Azgaar's Fantasy Map Generator parameters:
|
## Azgaar's Fantasy Map Generator parameters:
|
||||||
* `maplink` - open .map file from the provided URL, use like [`https://azgaar.github.io/Fantasy-Map-Generator/?maplink=https://dl.dropboxusercontent.com/s/xgs3y1awlokio7x/Atlas%20046.map`](https://azgaar.github.io/Fantasy-Map-Generator/?maplink=https://dl.dropboxusercontent.com/s/xgs3y1awlokio7x/Atlas%20046.map). Due to browser security restrictions, it works only for servers that allow CORS
|
* `maplink` - open .map file from the provided URL, use like [`https://azgaar.github.io/Fantasy-Map-Generator/?maplink=https://dl.dropboxusercontent.com/s/xgs3y1awlokio7x/Atlas%20046.map`](https://azgaar.github.io/Fantasy-Map-Generator/?maplink=https://dl.dropboxusercontent.com/s/xgs3y1awlokio7x/Atlas%20046.map). Due to browser security restrictions, it works only for servers that allow CORS
|
||||||
|
|
@ -7,12 +7,12 @@ Here is a list of parameters you can add to URL in order to set generator option
|
||||||
* `width`, `height` - map canvas size in pixels
|
* `width`, `height` - map canvas size in pixels
|
||||||
* `scale` - map zoom level, where `1` is 100% zoom, `2` is 200% and so on
|
* `scale` - map zoom level, where `1` is 100% zoom, `2` is 200% and so on
|
||||||
* `x`, `y` - point coordinates that should be focused. Obviously works only if `scale` is greater than 1. Try [`http://azgaar.github.io/Fantasy-Map-Generator/?seed=123456789&width=1536&height=722&options=default&scale=8&x=768&y=361`](http://azgaar.github.io/Fantasy-Map-Generator/?seed=123456789&width=1536&height=722&options=default&scale=8&x=768&y=361)
|
* `x`, `y` - point coordinates that should be focused. Obviously works only if `scale` is greater than 1. Try [`http://azgaar.github.io/Fantasy-Map-Generator/?seed=123456789&width=1536&height=722&options=default&scale=8&x=768&y=361`](http://azgaar.github.io/Fantasy-Map-Generator/?seed=123456789&width=1536&height=722&options=default&scale=8&x=768&y=361)
|
||||||
* `burg` - burg id to focus on, works only if `scale` is greater than 1. Try [`http://azgaar.github.io/Fantasy-Map-Generator/?seed=123456789&width=1536&height=722&options=default&scale=8&burg=2`](`http://azgaar.github.io/Fantasy-Map-Generator/?seed=123456789&width=1536&height=722&options=default&scale=8&burg=2)
|
* `burg` - burg id to focus on, works only if `scale` is greater than 1. Try [`http://azgaar.github.io/Fantasy-Map-Generator/?seed=123456789&width=1536&height=722&options=default&scale=8&burg=2`](http://azgaar.github.io/Fantasy-Map-Generator/?seed=123456789&width=1536&height=722&options=default&scale=8&burg=2)
|
||||||
* `cell` - cell if to focus on, Try [`http://azgaar.github.io/Fantasy-Map-Generator/?seed=123456789&width=1536&height=722&options=default&scale=8&cell=1000`](http://azgaar.github.io/Fantasy-Map-Generator/?seed=123456789&width=1536&height=722&options=default&scale=8&cell=1000)
|
* `cell` - cell if to focus on, Try [`http://azgaar.github.io/Fantasy-Map-Generator/?seed=123456789&width=1536&height=722&options=default&scale=8&cell=1000`](http://azgaar.github.io/Fantasy-Map-Generator/?seed=123456789&width=1536&height=722&options=default&scale=8&cell=1000)
|
||||||
|
|
||||||
## Watabou's Medieval Fantasy City Generator parameters:
|
## Watabou's Medieval Fantasy City Generator parameters:
|
||||||
This parameters are used by MFCG and not intended to be set manually.
|
This parameters are used by MFCG and not intended to be set manually.
|
||||||
* `from`- if equals to `MFCG`, generator will try to show/create city representation on a map
|
* `from`- if equals to `MFCG`, generator will consider the URL as coming from MFCG
|
||||||
* `size` - MFCG city size, equals to population point in FMG
|
* `size` - MFCG city size, equals to population point in FMG
|
||||||
* `coast` - `1` if city is on a coastline
|
* `coast` - `1` if city is on a coastline
|
||||||
* `port` - `1` if city is a port
|
* `port` - `1` if city is a port
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue