Fantasy-Map-Generator | Web application | Generator Utils library
kandi X-RAY | Fantasy-Map-Generator Summary
kandi X-RAY | Fantasy-Map-Generator Summary
Azgaar's Fantasy Map Generator is a free web application generating interactive and highly customizable svg maps based on voronoi diagram. Project is under development, the current version is available on Github Pages. Refer to the project wiki for guidance. The current progress is tracked in Trello. Some details are covered in my old blog Fantasy Maps for fun and glory. Join our Discord server and Reddit community to share your creations, discuss the Generator, suggest ideas and get the most recent updates. Contact me via email if you have non-public suggestions. For bug reports please use GitHub issues or #bugs channel on Discord. If you are facing performance issues, please read the tips. Electron desktop application is available in releases. Download archive for your architecture, unzip and run. Pull requests are highly welcomed. The codebase is messy and requires re-design, but I will appreciate if you start with minor changes. Check out the data model before contributing. You can support the project on Patreon.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of Fantasy-Map-Generator
Fantasy-Map-Generator Key Features
Fantasy-Map-Generator Examples and Code Snippets
Community Discussions
Trending Discussions on Fantasy-Map-Generator
QUESTION
I'm using a modified version of a map, created by https://azgaar.github.io/Fantasy-Map-Generator/ as an Angular(9) template svg. The file is 12,000 lines long and therefore slows down compilation significantly. I have experienced a further performance reduction when enumerating all 5248 grid-cells (shown on the linked map by pressing the shortcut e) and setting an id to every single cell. This, unfortunately is necessary for my use case.
As this map features 12 different kinds of overlay-groups (p.e. cities, lakes, routes, coastline) and not all are needed at once, I thought I could strip down this .svg to a minimum skeletton, requesting the different Elements via REST once the user chooses to do so.
The following will add the correct lines (exactly as cropped out from the original svg) into the template. Yet, the group would not show up. Do I need to rerender the entire SVG? How can I do this?
...ANSWER
Answered 2020-Dec-05 at 13:59Gonna completely erase and edit this answer as I finally found a solution. The problem had to do with sending a String which couldn't be converted into a json - and I was defining a json header to be used as standard response type.
long story short, I'll show the entire process of adding svg groups dynamically to an existing svg. Technologies: Angular & Spring Boot
angular:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install Fantasy-Map-Generator
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page