mirror of
https://github.com/omniscale/magnacarto.git
synced 2025-06-16 04:30:23 +02:00
26 lines
566 B
Go
26 lines
566 B
Go
package mml
|
|
|
|
type GeometryType string
|
|
|
|
const (
|
|
Unknown GeometryType = "Unknown"
|
|
LineString GeometryType = "LineString"
|
|
Polygon GeometryType = "Polygon"
|
|
Point GeometryType = "Point"
|
|
Raster GeometryType = "Raster"
|
|
)
|
|
|
|
type Layer struct {
|
|
ID string
|
|
Classes []string
|
|
SRS string
|
|
Datasource Datasource
|
|
Type GeometryType
|
|
Active bool
|
|
GroupBy string
|
|
ClearLabelCache bool
|
|
PostLabelCache bool
|
|
CacheFeatures bool
|
|
ScaleFactor float64
|
|
Properties map[string]interface{}
|
|
}
|