Versions in this module Expand all Collapse all v0 v0.51.0-beta Oct 2, 2026 v0.50.0-beta Oct 1, 2026 v0.48.0-beta Oct 1, 2026 v0.46.0-beta Oct 1, 2026 v0.42.0 Jun 2, 2026 Changes in this version + const ErrFSError + const ErrGUnZipFailed + const ErrGZipFailed + const ErrGZipNewReaderFailed + const ErrInvalidEncodingHeader + const ErrInvalidGZip + const ErrInvalidHexOrientation + const ErrInvalidMapMetadata + const ErrInvalidTerrainMapFieldCount + const ErrInvalidUTF16 + const ErrInvalidUTF8 + const ErrInvalidVersion + const ErrInvalidXML + const ErrInvalidXMLHeader + const ErrMapNotClosed + const ErrMissingBOM + const ErrMissingFinalByte + const ErrMissingMapElement + const ErrMissingVersion + const ErrMissingWxxExtension + const ErrMissingXMLHeader + const ErrNotBigEndianUTF16Encoded + const ErrNotCompressed + const ErrNotExists + const ErrNotFile + const ErrNotImplemented + const ErrPipelineHalted + const ErrRawReadFailed + const ErrUnknownVersion + const ErrUnknownXMLHeader + const ErrUnsupportedMapMetadata + const ErrUnsupportedMapRelease + const ErrUnsupportedMapSchema + const ErrUnsupportedMapVersion + const ErrUnsupportedSchemaVersion + const ErrUnsupportedVersion + const ErrUnsupportedWXMLVersion + func Version() semver.Version + type Configuration_t struct + FeatureConfig []*FeatureConfig_t + InnerText string + ShapeConfig *ShapeConfig_t + TerrainConfig []*TerrainConfig_t + TextConfig *TextConfig_t + TextureConfig []*TextureConfig_t + type Decoder interface + Decode func(io.Reader) (*Map_t, error) + type Encoder interface + Encode func(io.Writer, *Map_t) error + type Error string + func (e Error) Error() string + type FeatureConfig_t struct + InnerText string + type FeatureLocation_t struct + ViewLevel string + X float64 + Y float64 + type Feature_t struct + Color *RGBA_t + IsContinent bool + IsFillHexBottom bool + IsFlipHorizontal bool + IsFlipVertical bool + IsGMOnly bool + IsHideTerrainIcon bool + IsKingdom bool + IsPlaceFreely bool + IsProvince bool + IsWorld bool + Label *Label_t + LabelDistance int + LabelPosition string + Location *FeatureLocation_t + MapLayer string + RingColor *RGBA_t + Rotate float64 + Scale float64 + ScaleHt float64 + Tags string + Type string + Uuid string + type GridAndNumbering_t struct + Color0 string + Color1 string + Color2 string + Color3 string + Color4 string + GridOffsetContinentKingdomX float64 + GridOffsetContinentKingdomY float64 + GridOffsetWorldContinentX float64 + GridOffsetWorldContinentY float64 + GridOffsetWorldKingdomX float64 + GridOffsetWorldKingdomY float64 + GridOffsetX float64 + GridOffsetY float64 + GridSquare int + GridSquareHeight float64 + GridSquareWidth float64 + NumberColor string + NumberFirstCol int + NumberFirstRow int + NumberFont string + NumberOrder string + NumberPosition string + NumberPrePad string + NumberSeparator string + NumberSize int + NumberStyle string + Width0 float64 + Width1 float64 + Width2 float64 + Width3 float64 + Width4 float64 + type InformationDetail_t struct + Culture string + Cultures string + Domains string + Government string + HolySymbol string + InnerText string + Language string + ReligionType string + Rulers string + Title string + Type string + Uuid string + type Information_t struct + Culture string + Cultures string + Details []*InformationDetail_t + Domains string + Government string + HolySymbol string + InnerText string + Language string + ReligionType string + Rulers string + Title string + Type string + Uuid string + type Informations_t struct + Informations []*Information_t + InnerText string + type LabelLocation_t struct + Scale float64 + ViewLevel string + X float64 + Y float64 + type LabelStyle_t struct + BackgroundColor *RGBA_t + Color *RGBA_t + FontFace string + IsBold bool + IsItalic bool + Name string + OutlineColor *RGBA_t + OutlineSize float64 + Scale float64 + type Label_t struct + BackgroundColor *RGBA_t + Color *RGBA_t + FontFace string + InnerText string + IsBold bool + IsContinent bool + IsGMOnly bool + IsItalic bool + IsKingdom bool + IsProvince bool + IsWorld bool + Location *LabelLocation_t + MapLayer string + OutlineColor *RGBA_t + OutlineSize float64 + Rotate float64 + Style string + Tags string + type MapKey_t struct + BackgroundColor *RGBA_t + BackgroundOpacity float64 + EntryFontBold bool + EntryFontColor *RGBA_t + EntryFontFace string + EntryFontItalic bool + EntryScale float64 + Height float64 + PositionX float64 + PositionY float64 + ScaleFontBold bool + ScaleFontColor *RGBA_t + ScaleFontFace string + ScaleFontItalic bool + ScaleScale float64 + ScaleText string + TitleFontBold bool + TitleFontColor *RGBA_t + TitleFontFace string + TitleFontItalic bool + TitleScale float64 + TitleText string + Viewlevel string + type MapLayer_t struct + IsVisible bool + Name string + type Map_t struct + ColumnsWide int + Configuration *Configuration_t + ContinentFactor int + ContinentToKingdomHOffset float64 + ContinentToKingdomVOffset float64 + Features []*Feature_t + GridAndNumbering *GridAndNumbering_t + GridOrientation hexg.Orientation_e + HexHeight float64 + HexOrientation string + HexWidth float64 + Informations *Informations_t + KingdomFactor int + KingdomToProvinceHOffset float64 + KingdomToProvinceVOffset float64 + Labels []*Label_t + LastViewLevel string + MapKey *MapKey_t + MapLayers []*MapLayer_t + MapProjection Projection_e + MetaData struct{ ... } + Notes []*Note_t + ProvinceFactor int + Release string + RowsHigh int + Schema string + Shapes []*Shape_t + ShowFeatureLabels bool + ShowGMOnly bool + ShowGMOnlyGlow bool + ShowGrid bool + ShowGridNumbers bool + ShowNotes bool + ShowShadows bool + TerrainMap *TerrainMap_t + Tiles *Tiles_t + TriangleSize int + Type string + Version string + WorldToContinentHOffset float64 + WorldToContinentVOffset float64 + type Note_t struct + InnerText string + type Point_t struct + Type string + X float64 + Y float64 + type Projection_e int + const FLAT + const ICOSAHEDRAL + type RGBA_t struct + A float64 + B float64 + G float64 + R float64 + type Resources_t struct + Animal int + Brick int + Crops int + Gems int + Lumber int + Metals int + Rock int + type ShapeConfig_t struct + InnerText string + ShapeStyles []*ShapeStyle_t + type ShapeStyle_t struct + BbHeight float64 + BbIterations int + BbWidth float64 + BoxBlur bool + DropShadow bool + DsColor *RGBA_t + DsOffsetX float64 + DsOffsetY float64 + DsRadius float64 + DsSpread float64 + FillPaint *RGBA_t + FillTexture string + InnerShadow bool + InsChoke float64 + InsColor *RGBA_t + InsOffsetX float64 + InsOffsetY float64 + InsRadius float64 + IsFractal bool + Name string + Opacity float64 + SnapVertices bool + StrokePaint *RGBA_t + StrokeTexture string + StrokeType string + StrokeWidth float64 + Tags string + type Shape_t struct + BbHeight float64 + BbIterations int + BbWidth float64 + CreationType string + CurrentShapeViewLevel string + DsColor string + DsOffsetX float64 + DsOffsetY float64 + DsRadius float64 + DsSpread float64 + FillRule string + FillTexture string + HighestViewLevel string + InsChoke float64 + InsColor string + InsOffsetX float64 + InsOffsetY float64 + InsRadius float64 + IsBoxBlur bool + IsContinent bool + IsCurve bool + IsDropShadow bool + IsGMOnly bool + IsInnerShadow bool + IsKingdom bool + IsMatchTileBorders bool + IsProvince bool + IsSnapVertices bool + IsWorld bool + LineCap string + LineJoin string + MapLayer string + Opacity float64 + Points []*Point_t + StrokeColor string + StrokeTexture string + StrokeType string + StrokeWidth float64 + Tags string + Type string + type TerrainConfig_t struct + InnerText string + type TerrainMap_t struct + Data map[string]int + List []*Terrain_t + type Terrain_t struct + Index int + Label string + type TextConfig_t struct + InnerText string + LabelStyles []*LabelStyle_t + type TextureConfig_t struct + InnerText string + type Tile_t struct + Column int + Coords hexg.CubeCoord + CustomBackgroundColor *RGBA_t + Elevation float64 + IsGMOnly bool + IsIcy bool + Resources Resources_t + Row int + Terrain int + type Tiles_t struct + Tiles [][]*Tile_t + TilesHigh int + TilesWide int + ViewLevel string