mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-22 20:11:24 +01:00
Add states labels + Replace canvas by svg
This commit is contained in:
parent
b871b63c7e
commit
30ab1217a8
2 changed files with 149 additions and 106 deletions
|
|
@ -85,6 +85,7 @@ async function getMapURL(type, options=[]) {
|
|||
if (isFirefox && type === "mesh") clone.select("#oceanPattern").remove();
|
||||
if (options.includes("globe")) clone.select("#scaleBar").remove();
|
||||
if (options.includes("noLabels")) {
|
||||
clone.select("#labels #states").remove();
|
||||
clone.select("#labels #burgLabels").remove();
|
||||
clone.select("#icons #burgIcons").remove();
|
||||
}
|
||||
|
|
|
|||
254
modules/ui/3d.js
254
modules/ui/3d.js
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue