Documentation ¶
Index ¶
Constants ¶
View Source
const SnapmapApiBaseUrl = "https://ms.sc-jpl.com/web"
Variables ¶
View Source
var API_BASE_URL = "https://ms.sc-jpl.com/web/"
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { EpochService *EpochService PlaylistService *PlaylistService TileSetService *TileSetService // contains filtered or unexported fields }
type EpochResponse ¶
type EpochResponse struct { }
type EpochService ¶
type EpochService struct {
// contains filtered or unexported fields
}
func (*EpochService) GetEpoch ¶
func (e *EpochService) GetEpoch(target interface{}, setType TileSetType) error
type GeoService ¶
type GeoService struct { }
type PlaylistRequestBody ¶
type PlaylistResponse ¶
type PlaylistResponse struct { Manifest struct { Elements []SnapElement `json:"elements"` } `json:"manifest"` }
type PlaylistService ¶
type PlaylistService struct {
// contains filtered or unexported fields
}
func (*PlaylistService) GetPlaylist ¶
func (p *PlaylistService) GetPlaylist(latitude float32, longitude float32, radiusInMeters int, zoomLevel int, id TileSetId) (*PlaylistResponse, error)
type Response ¶
type Response struct { RenderConfig struct { HeatmapGradient interface{} `json:"heatmapGradient"` HeatNormalizationPeak int `json:"heatNormalizationPeak"` FuzzNormalizationPeak float32 `json:"fuzzNormalizationPeak"` HeatPointBaseRadius int `json:"heatPointBaseRadius"` } `json:"renderConfig"` TileSetInfos []TileSetInfo `json:"tileSetInfos"` }
type SnapElement ¶
type TileSetInfo ¶
type TileSetService ¶
type TileSetService struct {
// contains filtered or unexported fields
}
func (*TileSetService) GetLatest ¶
func (t *TileSetService) GetLatest(target *Response) error
type TileSetType ¶
type TileSetType string
const ( HeatTileSetType TileSetType = "HEAT" PointOfInterestTileSetType TileSetType = "POI" )
Click to show internal directories.
Click to hide internal directories.