Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ArcGISInfoSource ¶
type ArcGISInfoSource struct {
Client *client.ArcGISInfoClient
}
func NewArcGISInfoSource ¶
func NewArcGISInfoSource(c *client.ArcGISInfoClient) *ArcGISInfoSource
func (*ArcGISInfoSource) GetClient ¶
func (s *ArcGISInfoSource) GetClient() *client.ArcGISInfoClient
func (*ArcGISInfoSource) GetInfo ¶
func (c *ArcGISInfoSource) GetInfo(query *layer.InfoQuery) resource.FeatureInfoDoc
type ArcGISSource ¶
type ArcGISSource struct {
WMSSource
}
func NewArcGISSource ¶
func NewArcGISSource( client *client.ArcGISClient, image_opts *imagery.ImageOptions, coverage geo.Coverage, res_range *geo.ResolutionRange, supported_srs *geo.SupportedSRS, supported_formats []string) *ArcGISSource
type CesiumTileSource ¶
type CesiumTileSource struct {
layer.MapLayer
Grid *geo.TileGrid
Client *client.CesiumTileClient
SourceCreater tile.SourceCreater
Cache *resource.LayerJSONCache
}
func NewCesiumTileSource ¶
func NewCesiumTileSource( grid *geo.TileGrid, c *client.CesiumTileClient, opts tile.TileOptions, creater tile.SourceCreater, cache *resource.LayerJSONCache, ) *CesiumTileSource
func (*CesiumTileSource) GetLayerJSON ¶
func (s *CesiumTileSource) GetLayerJSON(id string) *resource.LayerJson
type DebugSource ¶
type DebugSource struct {
SupportMetaTiles bool
ResRange *geo.ResolutionRange
Coverage geo.Coverage
Extent *geo.MapExtent
}
func NewDebugSource ¶
func NewDebugSource() *DebugSource
func (*DebugSource) GetCoverage ¶
func (s *DebugSource) GetCoverage() geo.Coverage
type DummySource ¶
type DummySource struct {
SupportMetaTiles bool
ResRange *geo.ResolutionRange
Coverage geo.Coverage
Extent *geo.MapExtent
}
func NewDummySource ¶
func NewDummySource(cov geo.Coverage) *DummySource
func (*DummySource) GetCoverage ¶
func (s *DummySource) GetCoverage() geo.Coverage
type HTTPSourceErrorHandler ¶
type HTTPSourceErrorHandler struct {
ResponseErrorCodes map[string]errorInfo
}
func (*HTTPSourceErrorHandler) AddHandler ¶
type MapboxTileSource ¶
type MapboxTileSource struct {
layer.MapLayer
Grid *geo.TileGrid
Client *client.MapboxTileClient
SourceCreater tile.SourceCreater
TileJSONCache *resource.TileJSONCache
TileStatsCache *resource.TileStatsCache
}
func NewMapboxTileSource ¶
func NewMapboxTileSource(grid *geo.TileGrid, coverage geo.Coverage, c *client.MapboxTileClient, opts tile.TileOptions, creater tile.SourceCreater, tileJSONCache *resource.TileJSONCache, tileStatsCache *resource.TileStatsCache) *MapboxTileSource
func (*MapboxTileSource) GetTileJSON ¶
func (s *MapboxTileSource) GetTileJSON(id string) *resource.TileJSON
func (*MapboxTileSource) GetTileStats ¶
func (s *MapboxTileSource) GetTileStats(id string) *resource.TileStats
type TileSource ¶
type TileSource struct {
layer.MapLayer
Grid *geo.TileGrid
Client *client.TileClient
SourceCreater tile.SourceCreater
}
func NewTileSource ¶
func NewTileSource(grid *geo.TileGrid, c *client.TileClient, coverage geo.Coverage, opts tile.TileOptions, res_range *geo.ResolutionRange, creater tile.SourceCreater) *TileSource
type WMSInfoSource ¶
type WMSInfoSource struct {
Client *client.WMSInfoClient
Coverage geo.Coverage
Transformer *resource.XSLTransformer
}
func NewWMSInfoSource ¶
func NewWMSInfoSource(clients *client.WMSInfoClient, coverage geo.Coverage, transformer *resource.XSLTransformer) *WMSInfoSource
func (*WMSInfoSource) GetClient ¶
func (s *WMSInfoSource) GetClient() *client.WMSInfoClient
func (*WMSInfoSource) GetInfo ¶
func (s *WMSInfoSource) GetInfo(query *layer.InfoQuery) resource.FeatureInfoDoc
type WMSLegendSource ¶
type WMSLegendSource struct {
Clients []*client.WMSLegendClient
Cache *resource.LegendCache
Identifier string
Size []uint32
Static bool
}
func NewWMSLegendSource ¶
func NewWMSLegendSource(identifier string, clients []*client.WMSLegendClient, cache *resource.LegendCache) *WMSLegendSource
func (*WMSLegendSource) GetLegend ¶
func (s *WMSLegendSource) GetLegend(query *layer.LegendQuery) tile.Source
func (*WMSLegendSource) GetSize ¶
func (s *WMSLegendSource) GetSize() []uint32
type WMSSource ¶
type WMSSource struct {
layer.MapLayer
Client client.MapClient
SupportedSRS *geo.SupportedSRS
SupportedFormats []string
ExtReqParams map[string]string
TransparentColor color.Color
TransparentColorTolerance *float64
Opacity *float64
}
func NewWMSSource ¶
func NewWMSSource(client client.MapClient, image_opts *imagery.ImageOptions, coverage geo.Coverage, res_range *geo.ResolutionRange, transparent_color color.Color, transparent_color_tolerance *float64, supported_srs *geo.SupportedSRS, supported_formats []string, fwd_req_params map[string]string) *WMSSource
func (*WMSSource) CombinedLayer ¶
Click to show internal directories.
Click to hide internal directories.