JSON file definition
- Source:
- format/version/defV4.js
Type Definitions
-
CarteParam
-
Carte file definition (.carte)
Type:
- Object
- Source:
- format/version/defV4.js
Properties:
Name Type Description lon
number map position
lat
number map position
rot
number map rotation
zoom
number map zoom
title
string map title
description
string map description
-
ClusterOptions
-
Type:
- Object
- Source:
- format/version/defV4.js
Properties:
Name Type Description enabled
boolean maxZoom
number -
ControlParam
-
List of controls in the map
Type:
- Object
- Source:
- format/version/defV4.js
Properties:
Name Type Argument Default Description zoom
boolean display zoom buttons
scaleLine
boolean scale line
rotation
boolean enable map rotation
searchBar
boolean search tools
layerSwitcher
boolean add a layer switcher
locate
boolean add a locate button
printDlg
boolean add a print dialog button
mousePosition
JSONOptions.MousePositionControl | boolean legend
JSONOptions.LegendControl | boolean <optional>
false -
LayerOption
-
Type:
- Object
- Source:
- format/version/defV4.js
Properties:
Name Type Argument Default Description id
string type
string title
string name
string description
string visibility
boolean opacity
number copyright
string cluster
JSONOptions.ClusterOptions | boolean <optional>
false cluster options for type=Vector
popup|false
JSONOptions.PopupOptions <optional>
cluster options for type=Vector
-
LayoutParam
-
Layout
Type:
- Object
- Source:
- format/version/defV4.js
Properties:
Name Type Description theme
string colors
Array.<string> voletPosition
string volet position left|right
voletWidth
number volet width
-
LegendControl
-
Legend control definition
Type:
- Object
- Source:
- format/version/defV4.js
Properties:
Name Type Description title
string Legend title
visible
boolean Is legend visible
width
number Legend width
lineHeight
number Legend line height
items
Array.<Object> An array of legend items
-
MousePositionControl
-
Mouse position control definition
Type:
- Object
- Source:
- format/version/defV4.js
Properties:
Name Type Description proj
string projection EPSG code
unit
string display unit dms (degre min sec) or dec (decimal)
-
Popup
-
Popup
Type:
- Object
- Source:
- format/version/defV4.js
Properties:
Name Type Description popup
Object tips
Object -
PopupContentOptions
-
Type:
- Object
- Source:
- format/version/defV4.js
Properties:
Name Type Description active
boolean title
string desc
string img
string image url
coord
boolean display coordinates
-
PopupOptions
-
Type:
- Object
- Source:
- format/version/defV4.js
Properties:
Name Type Description hover
boolean popupContent
JSONOptions.PopupContentOptions -
Step
-
Step
Type:
- Object
- Source:
- format/version/defV4.js
Properties:
Name Type Description title
string showTitle
boolean content
string center
Array.<number> zoom
number layers
Array.<string> list of displayed layers
layerIds
Array.<string> list of displayed layers id
-
StoryMapCarte
-
StoryMap JSON file format
Type:
- Object
- Source:
- format/version/defV4.js
Properties:
Name Type Description title
string id
string -
StoryMapParam
-
StoryMap parameters
Type:
- Object
- Source:
- format/version/defV4.js
Properties:
Name Type Description title
string subTitle
string logo
string logo url
showTitle
boolean description
string lon
number lat
number rot
number zoom
number -
SymbolItem
-
Type:
- Object
- Source:
- format/version/defV4.js
Properties:
Name Type Description name
string type
string style
Object -
TabOptions
-
TabOptions
Type:
- Object
- Source:
- format/version/defV4.js
Properties:
Name Type Description id
string id of the storymap
title
string showTitle
boolean description
string