-
Notifications
You must be signed in to change notification settings - Fork 0
encodeView
github-actions[bot] edited this page Sep 21, 2026
·
1 revision
Imported from @elite-dangerous-almanac/galaxy-map.
encodeView(
view,grid?):string
Turns a view into the text of a URL fragment, without the leading #. grid writes the
coordinate grid switch as &g=1 or &g=0. The field is written only when the caller
gives a boolean, so a page that does not use the grid writes the four view fields
alone and no reader of the old format breaks.
boolean
string
Examples
Interfaces
- AddReport
- Category
- CategoryInput
- CategoryReject
- CategoryReport
- DatasetContent
- DatasetEntry
- DatasetInfo
- DatasetLoadResult
- DatasetView
- FlyToOptions
- FlyToTarget
- FragmentWriter
- FragmentWriterOptions
- GalaxyMap
- GalaxyMapOptions
- HudAction
- HudHandle
- HudInfoFields
- HudOptions
- InteractionSwitches
- Line
- LineInput
- MapView
- NebulaSource
- RealSystem
- Reject
- ResolvedIcon
- ShapeInfo
- ShapeReject
- ShapeReport
- Sphere
- SphereInput
- StartView
- SystemDetailValue
- SystemDetails
- SystemImage
- SystemRecordInput