Fantasy-Map-Generator icon indicating copy to clipboard operation
Fantasy-Map-Generator copied to clipboard

Allow loading map from url parameters

Open aitorllj93 opened this issue 3 years ago • 3 comments

Hi @Azgaar, I started an open-source metaverse operating system project and would like to integrate with your map, so I added a way to load the seed id and other parameters from the url. I noticed the seed id changed from one version to another so maybe we can work closely to be able to deliver a better experience

aitorllj93 avatar May 02 '22 13:05 aitorllj93

Hello @d3v0ps, thanks for the contribution!

Some URL parameters, like seed, are already supported, see the wiki.

For other - it would be nice to have them defined and extracted in one place. As for now it's a little bit messy.

Azgaar avatar May 02 '22 14:05 Azgaar

Hello, any updates here, @d3v0ps?

Azgaar avatar May 07 '22 09:05 Azgaar

Hi @Azgaar sorry, I haven't found time to work on it. About the mapId, it works like a charm but need to figure out how to override the style props

aitorllj93 avatar May 07 '22 15:05 aitorllj93

Closing as no progress, can be reopened any time

Azgaar avatar Dec 10 '22 16:12 Azgaar