Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var CE float64 = 2.0 * ORIGIN
View Source
var DEG2RAD float64 = math.Pi / 180.0
View Source
var ORIGIN = RE * math.Pi
View Source
var RE float64 = 6378137.0
Functions ¶
Types ¶
type EncodingConfig ¶
type EncodingConfig struct { Extent uint16 Buffer uint16 Precision uint8 Simplification uint8 SimplificationMaxZoom uint8 }
EncodingParams holds parameters used for encoding tiles
func NewDefaultEncodingConfig ¶
func NewDefaultEncodingConfig() *EncodingConfig
func NewEncodingConfig ¶
Click to show internal directories.
Click to hide internal directories.