Api session viewers

From Tygron Support wiki
Revision as of 14:18, 15 June 2026 by Frank@tygron.nl (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

API Endpoint: api/session/viewers

GET 2dmap.html

API Endpoint: web/2dmap.html

Produces: text/html

Parameters:

Name Location Type Default value
webStakeholderID Header Integer
base Query WebBaseMap

Examples

2D Map (OpenLayers):

https://engine.tygron.com/web/2dmap.html?token=WEB_TOKEN

GET 3dmap.html

API Endpoint: web/3dmap.html

Produces: text/html

Parameters:

Name Location Type Default value
webStakeholderID Header Integer
overlay Query Integer
base Query WebBaseMap
style Query WebModelStyle
shadow Query Boolean
texture Query TextureSize
spacing Query Double

Examples

3D Map (Cesium):

https://engine.tygron.com/web/3dmap.html?token=WEB_TOKEN

GET indicators.geojson

API Endpoint: web/indicators.geojson

Produces: application/json

Parameters:

Name Location Type Default value
webStakeholderID Header Integer
crs Query String EPSG:3857

Examples

Indicators:

https://engine.tygron.com/web/indicators.geojson?token=WEB_TOKEN

GET overlays.geojson

API Endpoint: web/overlays.geojson

Produces: application/json

Parameters:

Name Location Type Default value
webStakeholderID Header Integer
crs Query String EPSG:3857

Examples

Overlays:

https://engine.tygron.com/web/overlays.geojson?token=WEB_TOKEN

GET neighborhoods.geojson

API Endpoint: web/neighborhoods.geojson

Produces: application/json

Parameters:

Name Location Type Default value
crs Query String EPSG:3857

Examples

Neighborhoods:

https://engine.tygron.com/web/neighborhoods.geojson?token=WEB_TOKEN

GET actionmenus.geojson

API Endpoint: web/actionmenus.geojson

Produces: application/json

Parameters:

Name Location Type Default value
webStakeholderID Header Integer
crs Query String EPSG:3857

Examples

Actions:

https://engine.tygron.com/web/actionmenus.geojson?token=WEB_TOKEN

GET popups.geojson

API Endpoint: web/popups.geojson

Produces: application/json

Parameters:

Name Location Type Default value
webStakeholderID Header Integer
bbox Query String
crs Query String EPSG:3857

Examples

Popups:

https://engine.tygron.com/web/popups.geojson?token=WEB_TOKEN

GET lines.geojson

API Endpoint: web/lines.geojson

Produces: application/json

Parameters:

Name Location Type Default value
bbox Query String
minlength Query Double
maxlength Query Double
type Query Net Type
crs Query String EPSG:3857

Examples

Lines:

https://engine.tygron.com/web/lines.geojson?token=WEB_TOKEN

GET scenarios.geojson

API Endpoint: web/scenarios.geojson

Produces: application/json

Parameters:

Name Location Type Default value
webStakeholderID Header Integer
crs Query String EPSG:3857

Examples

Scenarios:

https://engine.tygron.com/web/scenarios.geojson?token=WEB_TOKEN

See also