Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct {
Markers []*Marker
Destination io.Writer
// Default 1000x1000
MapSize int
ContinentGrid bool
ContinentNumbers bool
// BackgroundColor in HEX format
BackgroundColor string
// GridLineColor in HEX format
GridLineColor string
// ContinentNumberColor in HEX format
ContinentNumberColor string
Scale float32
CenterX int
CenterY int
PNG bool
// Quality of image (1-100), only for JPEG format
Quality int
}
Click to show internal directories.
Click to hide internal directories.