Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetEnv ¶
Returns the value of a given environment variable. Returns an empty string and an error if no value is set.
func LoadS3Object ¶
Loads body of a given S3 object.
Types ¶
type GetTileEvent ¶
Input type for a get-tile event.
func (GetTileEvent) ToTile ¶
func (event GetTileEvent) ToTile() (maptile.Tile, bool)
Converts a `GetTileEvent` into a `maptile.Tile` The second return value is `false` if one or more of `event.Zoom`, `event.X`, `event.Y` are negative, `true` otherwise. The first return value is undefined if the second one is `false`.
type NamedFeatureCollections ¶ added in v0.2.0
type NamedFeatureCollections map[string]*geojson.FeatureCollection
func LoadLayersJson ¶ added in v0.2.0
func LoadLayersJson(bytes []byte) (*NamedFeatureCollections, error)
Click to show internal directories.
Click to hide internal directories.