yandex

package
v0.6.35 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 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 Location

type Location struct {
	Latitude  float32
	Longitude float32
}

func (Location) Empty

func (o Location) Empty() bool

func (Location) String

func (o Location) String() string

type Map

type Map struct {
	Type      MapType
	Traffic   bool
	Panoramas bool
	Scale     int // 1-19
	Center    Location
	Point     Location
	Points    Points
	Text      string
}

func (Map) Url

func (o Map) Url() string

func (Map) UrlWithSpaces added in v0.6.16

func (o Map) UrlWithSpaces() string

type MapType

type MapType string
const (
	MapShema     MapType = "map"
	MapSatellite MapType = "sat"
	MapHybrid    MapType = "skl"
)
const MapPanoramas MapType = "stv"
const MapTraffic MapType = "trf"

type Points

type Points []Location

func (Points) Empty

func (o Points) Empty() bool

func (Points) String

func (o Points) String() string

Jump to

Keyboard shortcuts

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