Documentation
¶
Overview ¶
Package gomap is the umbrella for the go-map widget family.
Subpackages:
- projection: Web Mercator + LatLng math.
- tile: tile coordinates, sources, caching.
- mapview: the interactive slippy-tile widget.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package a11ylint provides a go/analysis Analyzer that enforces the "every visible state has a label" accessibility constraint on the go-map overlay types whose Label field is currently consumed by the a11y path.
|
Package a11ylint provides a go/analysis Analyzer that enforces the "every visible state has a label" accessibility constraint on the go-map overlay types whose Label field is currently consumed by the a11y path. |
|
cmd
|
|
|
a11ylint
command
Command a11ylint runs the a11ylint Analyzer as a standalone binary.
|
Command a11ylint runs the a11ylint Analyzer as a standalone binary. |
|
examples
|
|
|
basic
command
Basic go-map demo: display an interactive OSM map centered on Seattle.
|
Basic go-map demo: display an interactive OSM map centered on Seattle. |
|
full-map
command
Full-map demo: map fills the window with a quick-jump toolbar above.
|
Full-map demo: map fills the window with a quick-jump toolbar above. |
|
gallery-map
command
Gallery-map demo: two base-layer candidates (OSM color + terrestris WMS grayscale) wired to a mapview.Gallery sidebar.
|
Gallery-map demo: two base-layer candidates (OSM color + terrestris WMS grayscale) wired to a mapview.Gallery sidebar. |
|
partial-map
command
Partial-map demo: map alongside a detail panel that reads mapview.Snapshot each frame to display the live viewport.
|
Partial-map demo: map alongside a detail panel that reads mapview.Snapshot each frame to display the live viewport. |
|
reference-map
command
Reference-map demo: a detail map alongside a locator (overview) map.
|
Reference-map demo: a detail map alongside a locator (overview) map. |
|
stacked-map
command
Stacked-map demo: OSM base layer plus a terrestris WMS reference layer, each with its own source-specific HTTP User-Agent via the per-call fetcher landed in go-gui v0.12.4.
|
Stacked-map demo: OSM base layer plus a terrestris WMS reference layer, each with its own source-specific HTTP User-Agent via the per-call fetcher landed in go-gui v0.12.4. |
|
Package mapview provides the interactive slippy-tile map widget.
|
Package mapview provides the interactive slippy-tile map widget. |
|
Package projection provides Web Mercator projection math and WGS84 coordinate types for slippy-tile maps.
|
Package projection provides Web Mercator projection math and WGS84 coordinate types for slippy-tile maps. |
|
Package tile provides tile coordinates, tile sources, and a small LRU cache for slippy-tile map widgets.
|
Package tile provides tile coordinates, tile sources, and a small LRU cache for slippy-tile map widgets. |
|
wms
Package wms provides a WMS 1.3.0 tile.Source targeting the EPSG:3857 web-mercator CRS.
|
Package wms provides a WMS 1.3.0 tile.Source targeting the EPSG:3857 web-mercator CRS. |
Click to show internal directories.
Click to hide internal directories.
