Last active
June 10, 2019 18:47
-
-
Save riccardolardi/03117fe2786d374b388ee4a4fc3611f5 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// .js instead of .json for convenience | |
{ | |
"id": "string", | |
"original-loc": { | |
"lat": "double", | |
"lon": "double" | |
}, | |
"name": "string", | |
"tag": "string", | |
"country-code": "string", | |
"city": "string", | |
"view": { | |
"lat": "double", | |
"lon": "double", | |
"zoom": "double", | |
"emblems": [ | |
{ | |
"id": "string", | |
"lat": "double", | |
"lon": "double", | |
"offx": "double", // internal for maptool | |
"offy": "double", // internal for maptool | |
"stackid": "int", | |
"texthalign": "string", // left, right | |
"textvalign": "string", // top, middle, bottom | |
"textwidthscreen": "int", // internal for maptool | |
"textwidthsvg": "int", // pixels in svg-space | |
"textheightsvg": "int", // pixels in svg-space | |
"active": "bool", | |
"render": "bool", // internal for maptool | |
}, | |
// ... | |
] | |
} | |
} |
Added texthalign, textvalign, textwidth, render options
Removed render option. All emblems in "emblems" array are to be rendered
Added offx, offy, render for internal use in maptool
Added textwidthscreen (maptool internal), for playout use textwidthsvg and textheightsvg (relative to svg)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
As discussed on June 4th 2019 (OS, EE, ML, RL)