Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Datasource ¶
type Layer ¶
type Layer struct {
// contains filtered or unexported fields
}
func (*Layer) LoadSource ¶
func (l *Layer) LoadSource() sources.DataSource
func (*Layer) SourceQuery ¶
TODO: remove this, this is just to keep compatibility while I'm refactoring
func (*Layer) UnmarshalXML ¶
type Map ¶
type Map struct { XMLName xml.Name `xml:"Map"` Styles []*Style `xml:"Style"` Layers []*Layer `xml:"Layer"` Stroke color.Hex `xml:"stroke,attr"` BgColor color.Hex `xml:"bgcolor,attr"` Srs proj.Projection `xml:"srs,attr"` // contains filtered or unexported fields }
func (*Map) UnmarshalXML ¶
type PathSymbolizer ¶
type PathSymbolizer struct { Weight float64 `xml:"width,attr" default:"0.5"` Stroke color.Hex `xml:"stroke,attr"` }
func (*PathSymbolizer) Name ¶
func (s *PathSymbolizer) Name() string
type PolygonSymbolizer ¶
func (*PolygonSymbolizer) Name ¶
func (s *PolygonSymbolizer) Name() string
type Rule ¶
type Rule struct { Filter string Symbolizers map[util.SymbolizerType]Symbolizer }
func (*Rule) UnmarshalXML ¶
type Symbolizer ¶
type Symbolizer interface {
Name() string
}
type TextSymbolizer ¶
type TextSymbolizer struct { Size float64 `xml:"size,attr"` Fill color.Hex `xml:"fill,attr"` Attr string `xml:"name,attr"` }
func (*TextSymbolizer) Name ¶
func (s *TextSymbolizer) Name() string
Click to show internal directories.
Click to hide internal directories.