geo

package
v0.0.0-...-d6d16c9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 3, 2018 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Point

type Point struct {
	Latitude  float64 `json:"latitude"`  // The latitude of the point.
	Longitude float64 `json:"longitude"` // The longitude of the point.
}

Point is the simple model for a location on the surface of a sphere.

type Sphere

type Sphere struct {
	*globe.Globe
}

func NewSphere

func NewSphere() *Sphere

func (*Sphere) EncodeJPEG

func (s *Sphere) EncodeJPEG(size int, quality int, writer io.Writer) error

func (*Sphere) EncodePNG

func (s *Sphere) EncodePNG(size int, writer io.Writer) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL