Documentation ¶
Index ¶
Constants ¶
View Source
const (
// BaseURL Mapbox API base URL
BaseURL = "https://api.mapbox.com"
)
Variables ¶
View Source
var ErrorAPILimitExceeded = errors.New("Mapbox API error api rate limit exceeded")
ErrorAPILimitExceeded indicates the API limit has been exceeded
ErrorAPIUnauthorized indicates authorization failed
Functions ¶
This section is empty.
Types ¶
type Base ¶
type Base struct {
// contains filtered or unexported fields
}
Base Mapbox API base
func (*Base) QueryBase ¶ added in v0.2.0
QueryBase Query the mapbox API and fill the provided instance with the returned JSON TODO: Rename this
func (*Base) QueryRequest ¶ added in v0.2.0
QueryRequest make a get with the provided query string and return the response if successful
type BoundingBox ¶
type BoundingBox []float64
type FeatureCollection ¶
type MapboxApiMessage ¶ added in v0.3.0
type MapboxApiMessage struct {
Message string
}
Click to show internal directories.
Click to hide internal directories.