Skip to content
Johann Levesque edited this page Nov 26, 2018 · 6 revisions

Map

Core map properties (extent sets, levels of detail).

Map JSON tree

"map": {
   "extentSets": [
    {
      extentSetNode
    },
    {...},
    {...},
     ...
   ],
   "lodSets": [
    {
      lodSetNode
    },
    {...},
    {...}
     ...
   ],
   "tileSchemas": [
   {
     tileSchemaNode
   },
   {...},
   {...}
    ...
   ],
   "components": {
    "mouseInfo": {
     "enabled": ...,
     "spatialReference": {...}
    },
    "northArrow": {
     "enabled": ...,
     "arrowIcon": ...,
     "poleIcon": ...
    },
    "overviewMap": {
     "enabled": ...,
     "expandFactor": ...
    },
    "scaleBar": {
     "enabled": ...
    },
    "basemap": {
     "enabled": ...
    }
   },
   "initialBasemapId": ...,
   "baseMaps": [
   {
     baseMapNode
   },
   {...},
   {...}
    ...
   ],
   "layers": [
   {
     layerNode
   },
   {...},
   {...}
    ...
   ],
   "legend": { 🚧 }
 }


 {
   "text": {
    "enabled": ...
    "value": ...
   },
   "logo": {
    "enabled": ...
    "altText": ...
    "value": ...
    "link": ...
   }
  }

⬆️ back to Map

 {
   "id": ...,
   "spatialReference": {
    "wkid": ...
   },
   "default": {...},
   "full": {...},
   "maximum": {...}
  }

⬆️ back to Map

 {
   "xmin": {
   "ymin": {
   "xmax": {
   "ymax": {
   "spatialReference": {
    "wkid": ...
   },
  }

⬆️ back to Map

  {
   "opacity": ...,
   "visibility": ...,
   "boundingBox": ...,
   "query": ...,
   "snapshot": ...,
   "hovertips": ...,
  }

⬆️ back to Map

 {
  "id": ...,
  "lods": [
   {
    "level": ...,
    "resolution": ...,
    "scale": ...
   },
   {...},
   {...},
   ...
  ]
 }

⬆️ back to Map

  {
   "id": ...,
   "name": ...,
   "extentSetId": ...,
   "lodSetId": ...,
   "overviewUrl": {
    "layerType": ...,
    "url": ...
    }
   "hasNorthPole": ...,
  }

⬆️ back to Map

  {
   "id": ...,
   "name": ...,
   "description": ...,
   "typeSummary": ...,
   "altText": ...,
    "thumbnailUrl": ...,
    "tileSchemaId": ...,
    "layers": [
    {
     "id": ...,
     "layerType": ...,
     "url": ...
    },
    {...},
    {...}
    ],
    "attribution": ...,
    }
  }

⬆️ back to Map

  [
   {
     basicLayerNode
    OR
     featureLayerNode
    OR
     wmsLayerNode
    OR
     dynamicLayerNode
   },
   {...},
   {...}
  ]

⬆️ back to Map

  {
   "id": ...,
   "name": ...,
   "url": ...,
   "refreshInterval": ...,
   "metadataUrl": ...,
   "catalogueUrl": ...,
   "layerType": ...,
   "extent": {...},
   "controls": {...},
   "disabledControls": {...},
   "state": {...}
  }

⬆️ back to Map

  {
   "id": ...,
   "name": ...,
   "url": ...,
   "refreshInterval": ...,
   "metadataUrl": ...,
   "catalogueUrl": ...,
   "layerType": ...,
   "toggleSymbology": {...},
   "tolerance": {...},
   "extent": {...},
   "controls": {...},
   "disabledControls": {...},
   "state": {...},
   "table":
    {
     tableNode
    }
  }

⬆️ back to Map

  {
   "id": ...,
   "name": ...,
   "url": ...,
   "refreshInterval": ...,
   "metadataUrl": ...,
   "catalogueUrl": ...,
   "layerType": ...,
   "featureInfoMimeType": ...,
   "legendMimeType": ...,
   "layerEntries": [
    {
     wmsLayerEntryNode
    },
    {...},
    {...}
   ],
   "extent": {...},
   "controls": {...},
   "disabledControls": {...},
   "state": {...}
  }

⬆️ back to Map

  {
   "id": ...,
   "name": ...,
   "allStyles": [...],
   "currentStyle": ...,
   "controls": {...},
   "state": {...}
  }

⬆️ back to Map

  {
   "id": ...,
   "name": ...,
   "url": ...,
   "refreshInterval": ...,
   "metadataUrl": ...,
   "catalogueUrl": ...,
   "layerType": ...,
   "toggleSymbology": ...,
   "tolerance": ...,
   "singleEntryCollapse": ...,
   "imageFormat": ...,
   "layerEntries": [
    {
     dynamicLayerEntryNode
    },
    {...},
    {...}
   ],
   "extent": {...},
   "controls": {...},
   "disabledControls": {...},
   "state": {...}
  }

⬆️ back to Map

  {
   "index": ...,
   "name": ...,
   "outfields": ...,
   "stateOnly": ...,
   "extent": {...},
   "controls": {...},
   "state": {...},
   "table":
    {
     tableNode
    }
  }

⬆️ back to Map

  {
   "title": ...,
   "description": ...,
   "maximize": ...,
   "search": ...,
   "applyMap": ...,
   "columns": [
     {
      columnNode
     }
     {...},
     {...}
    ]
  }

⬆️ back to Map

  {
   "data": ...,
   "title": ...,
   "description": ...,
   "visible": ...,
   "width": ...,
   "sort": ...,
   "searchable": ...,
   "filter": [
     {
      filterNode
     }
     {...},
     {...}
    ]
  }

⬆️ back to Map

  {
   "type": ...,
   "value": ...,
   "static": ...
  }

⬆️ back to Map

map

Core map properties (extent sets, levels of detail).

Type Author section Advance Required
object Map/Extents and Levels of Details - -

⬆️ back to Map


The default, full and maximum extents of the map. |

Type Author section Advance Required
array Map/Extents and Levels of Details - -

⬆️ back to Map


The levels of detail (zoom scales) available for the map.

Type Author section Advance Required
array Map/Extents and Levels of Details - Yes

⬆️ back to Map


A unique combination of an LoD and an extent set (each basemap must fit into a tile schema).

Type Author section Advance Required
array Map/Extents and Levels of Details Yes Yes

⬆️ back to Map


Map components.

Type Author section Advance Required
object Map/Components - -

Display cursor coordinates at the bottom of the screen.

Type Author section Advance Required
object Map/Components - -

Enabling mouse information at the bottom of the screen.

Type Default value Example Author section Advance Required
boolean - true Map/Components - -

Coordinates system and projection used to retrieve localization info from the mouse cursor. For more info see node:spatialReference_

Everything about the North arrow

Type Author section Advance Required
object Map/Components - -

The graphical icon url/data url of the north arrow.

Type Default value Example Author section Advance Required
string - "data:image/png;base64,image encoded" Map/Components - -

The graphical icon url/data url of the north pole that replaces north arrow when it's on north pole.

Type Default value Example Author section Advance Required
string - "data:image/png;base64,image encoded" Map/Components - -

Enabling North arrow.

Type Default value Example Author section Advance Required
boolean true true Map/Components - -

Collapsable overview map.

Type Author section Advance Required
object Map/Components - -
Name Type Description Default value Example Author section Advance Required
overviewMap : enabled boolean - true Map/Components - -
overviewMap : expandFactor number 2 5 true Map/Components -

Scale bar.

Type Author section Advance Required
object Map/Components - -
Name Type Default value Example Author section Advance Required
scaleBar : enabled boolean - true Map/Components - -

Collapsable overview map.

Type Author section Advance Required
object Map/Components - -
Name Type Default value Example Author section Advance Required
basemap : enabled boolean - true Map/Components - -

⬆️ back to Map


Initial basemap to load. If not supplied viewer will select any basemap.

Type Default value Example Author section Advance Required
string Viewer choice "myBaseMapID" Map/Basemaps - -

⬆️ back to Map

Nodes

Nodes are objects that are part of other object definition

Attribution text information.

Name Type Description Default value Example Author section Advance Required
enabled boolean - true "true" Map/Basemaps Yes Yes
value string Optional. Contains the attribution value. If empty, it will use copyright text from the server. - - Map/Basemaps Yes Yes

Attribution logo.

Name Type Description Default value Example Author section Advance Required
enabled boolean - true true Map/Basemaps Yes Yes
value string URL for the image. - "https://path2Image/myAttributionLogo.png" Map/Basemaps Yes Yes
altText string Alternate text for the image. - "Attribution is here !" Map/Basemaps Yes Yes
link string URL to go to when clicked. - http://www.canada.ca" Map/Basemaps Yes Yes

⬆️ back to attributionNode


Extents set id.

Type Default value Example Author section Advance Required
string - "EXT_Lambert_3978" Map/Extents and Levels of Details - Yes

The default (starting) extent. For more info see node:extentNode.

Type Author section Advance Required
object Map/Extents and Levels of Details - -

The full extent (should give good view of the whole map, not necessarily the maximum extent); default will be used if not supplied. For more info see node:extentNode.

Type Author section Advance Required
object Map/Extents and Levels of Details - -

The maximum extent; full or default extents will be used if not supplied. For more info see node:extentNode.

Type Author section Advance Required
object Map/Extents and Levels of Details - -

⬆️ back to extentSetNode


Projection

Type Author section Advance Required
object Map - -

Well-known identifier.

Type Default value Example Author section Advance Required
string - 3978 Map - -

⬆️ back to Map


Level of details Set id.

Type Default value Example Author section Advance Required
string - "LOD_Lambert_3978" Map/Extents and Levels of Details Yes Yes

Level of details for a specific tile schema.

Type Author section Advance Required
array Map/Extents and Levels of Details Yes Yes

A sequential integer that identify a level.

Type Default value Example Author section Advance Required
number - 3 Map/Extents and Levels of Details Yes Yes

The smallest spaces between two display elements expressed in map unit of the corresponding projection.

Type Default value Example Author section Advance Required
number - 38364.660062653464 Map/Extents and Levels of Details Yes Yes

Ratio between distance measure on a map and the corresponding distance on the ground.

Type Default value Example Author section Advance Required
number - 145000000 Map/Extents and Levels of Details Yes Yes

⬆️ back to lodSetNode


A unique id identifying a tile schema (combination of an extent set and a zoom scale).

Type Default value Example Author section Advance Required
string - "EXT_Lambert_3978#LOD_Lambert_3978" Map/Extents and Levels of Details Yes Yes

The name to display in the basemap selector for the set of basemaps referencing this schema.

Type Default value Example Author section Advance Required
string - "Lambert Maps" Map/Extents and Levels of Details Yes Yes

The extent set to be used for this basemap (should reference map.extentSets.id).

Type Default value Example Author section Advance Required
string - "EXT_Lambert_3978" Map/Extents and Levels of Details Yes Yes

Optional. The level of details set to be used for this basemap.

Type Default value Example Author section Advance Required
string - "LOD_Lambert_3978" Map/Extents and Levels of Details Yes Yes

Optional. If set, the overview map will use this layer instead of the active basemap.

Type Author section Advance Required
object Map/Extents and Levels of Details Yes -

Layer type that can be of one of those values ["esriImage", "esriTile"]

Type Default value Example Author section Advance Required
string - "esriTile" Map/Extents and Levels of Details Yes Yes

The service endpoint of the layer. It should match the type provided in [layerType]((#nodetileschemanodeoverviewurllayertype).

Type Default value Example Author section Advance Required
string - "https://services.arcgisonline.com/.../World_Street_Map/MapServer" Map/Extents and Levels of Details Yes Yes

Indicates if the map projection includes a north pole. Defaults to false to avoid errors.

Type Default value Example Author section Advance Required
boolean - true Map/Extents and Levels of Details Yes Yes

⬆️ back to tileSchemaNode


Extents coordinates in projection system used by the layer.

Name Type Default value Example Author section Advance Required
xmin number - -2681457 Map - -
ymin number - -883440 Map - -
xmax number - 3549492 Map - -
ymax number - 3482193 Map - -

⬆️ back to extentNode


Extents coordinates in projection system used by the layer.

Name Type Default value Example Author section Advance Required
xmin number - -2681457 Map/Layers - Yes
ymin number - -883440 Map/Layers - Yes
xmax number - 3549492 Map/Layers - Yes
ymax number - 3482193 Map/Layers - Yes

⬆️ back to extentWithReferenceNode


Initial layer settings.

Name Type Description Default value Example Author section Advance Required
opacity number Initial opacity. 1 true Map/Layers Yes -
visibility boolean Initial visibility setting. true true Map/Layers Yes -
boundingBox boolean Display bounding box. false true Map/Layers Yes -
query boolean Allow querying. true true Map/Layers Yes -
snapshot boolean Retrieve all feature data immediately on load. false true Map/Layers Yes -
hovertips boolean Disable hover tips. true true Map/Layers Yes -

⬆️ back to initialLayerSettings


A list of all controls to be enabled on the specified layer. Possible values are: "opacity", "visibility", "boundingBox", "query", "snapshot", "metadata", "boundaryZoom", "refresh", "reload", "remove", "settings", "data", "styles"

Type Default value Example Author section Advance Required
array - ["opacity", "visibility", "boundingBox", "refresh", "reload", "remove", "settings"] Map/Layers Yes -

⬆️ back to layerNode


BaseMaps node properties.

Type Author section Advance Required
object Map/Basemaps - -

A unique identifier for the basemap.

Type Default value Example Author section Advance Required
string - "baseRNCan_transport" Map/Basemaps - Yes

Name of the basemap used for labeling.

Type Default value Example Author section Advance Required
string - "Transport with labels." Map/Basemaps - Yes

Description of the basemap. Will be visible when basemap selector is expanded.Description of the basemap. Will be visible when basemap selector is expanded.

Type Default value Example Author section Advance Required
string - "This Canadian basemap provides geographic context with bilingual labels and an emphasis on transportation networks. From Natural Resources Canada." Map/Basemaps - Yes

Alt text for the basemap thumbnail image.Alt text for the basemap thumbnail image.

Type Default value Example Author section Advance Required
string - "Transport with labels." Map/Basemaps - Yes

Path to image file to display in the basemap selector.

Type Default value Example Author section Advance Required
string - "https://path2Image/myThumbnailImage.png" Map/Basemaps Yes Yes

The tile schema for this basemap (should reference map.tileSchemas.id).

Type Default value Example Author section Advance Required
string - "canadaLambert-01" Map/Basemaps - Yes

A set of URLs which should be composited to form a basemap entry.

Type Author section Advance Required
array Map/Basemaps - -

Each item contains these three properties

Name Type Default value Example Author section Advance Required
id string - "CBMT" Map/Basemaps Yes Yes
layerType string - "esriFeature" Map/Basemaps Yes Yes
url string - "https://.../services/BaseMaps/CBMT3978/MapServer" Map/Basemaps - Yes

⬆️ back to baseMapNode


Layers coming from either esri image or tile services.

Type Author section Advance Required
object Map/Layers or Map/Extents and Levels of Details - -

The id of the layer for referencing within the viewer (does not relate directly to any external service).

Type Default value Example Author section Advance Required
string - "basicLayer_1" Map/Layers or Map/Extents and Levels of Details - Yes

The display name of the layer. If it is not present the viewer will make an attempt to scrape this information.

Type Default value Example Author section Advance Required
string - "Elevation" Map/Layers or Map/Extents and Levels of Details - Yes

The service endpoint of the layer. It should match the type provided in layerType.

Type Default value Example Author section Advance Required
string - "https://.../arcgis/rest/services/tileService" Map/Layers or Map/Extents and Levels of Details - Yes

The automatic refresh interval of the layer in minutes. Maximum interval is 100 minutes.

Type Default value Example Author section Advance Required
number 0 5 Map/Layers or Map/Extents and Levels of Details Yes -

The metadata url of the layer service.

Type Default value Example Author section Advance Required
string null "https://.../metaDat" Map/Layers or Map/Extents and Levels of Details Yes -

The metadata url of the layer service.

Type Default value Example Author section Advance Required
string null "https://.../catalogue" Map/Layers or Map/Extents and Levels of Details Yes -

Type of layer. Can be either esriImage or esriTile.

Type Default value Example Author section Advance Required
string - "esriFeature" Map/Layers or Map/Extents and Levels of Details - Yes

⬆️ back to basicLayerNode


Layers coming from an esri feature service.

Type Author section Advance Required
object Map/Layers - -

The id of the layer for referencing within the viewer (does not relate directly to any external service).

Type Default value Example Author section Advance Required
string - "featureLayer_1" Map/Layers - Yes

The display name of the layer. If it is not present the viewer will make an attempt to scrape this information.

Type Default value Example Author section Advance Required
string - "Power plants" Map/Layers - Yes

The service endpoint of the layer. It should match the type provided in layerType.

Type Default value Example Author section Advance Required
string - "https://.../MapServer/20" Map/Layers - Yes

The automatic refresh interval of the layer in minutes. Maximum interval is 100 minutes.

Type Default value Example Author section Advance Required
number 0 5 Map/Layers Yes -

The metadata url of the layer service.

Type Default value Example Author section Advance Required
string null "https://.../metaDat" Map/Layers Yes -

The metadata url of the layer service.

Type Default value Example Author section Advance Required
string null "https://.../catalogue" Map/Layers Yes -

Type of layer which can only be esriFeature.

Type Default value Example Author section Advance Required
string - "esriFeature" Map/Layers - Yes

Allows individual symbols to have visibility toggled on/off.

Type Default value Example Author section Advance Required
boolean true true Map/Layers Yes -

Specifies the tolerance in pixels when determining if a feature was clicked. Should be non-negative integer.

Type Default value Example Author section Advance Required
boolean 5 8 Map/Layers Yes -

⬆️ back to featureLayerNode


Layers coming from an esri feature service.

Type Author section Advance Required
object Map/Layers - -

The id of the layer for referencing within the viewer (does not relate directly to any external service).

Type Default value Example Author section Advance Required
string - "wmsLayer_1" Map/Layers - Yes

The display name of the layer. If it is not present the viewer will make an attempt to scrape this information.

Type Default value Example Author section Advance Required
string - "Power plants" Map/Layers - Yes

The service endpoint of the layer. It should match the type provided in layerType.

Type Default value Example Author section Advance Required
string - "https://.../WMSServer" Map/Layers - Yes

The automatic refresh interval of the layer in minutes. Maximum interval is 100 minutes.

Type Default value Example Author section Advance Required
number 0 5 Map/Layers Yes -

The metadata url of the layer service.

Type Default value Example Author section Advance Required
string null "https://.../metaDat" Map/Layers Yes -

The metadata url of the layer service.

Type Default value Example Author section Advance Required
string null "https://.../catalogue" Map/Layers Yes -

Type of layer which can only be ogcWms.

Type Default value Example Author section Advance Required
string - "ogcWms" Map/Layers - Yes

If specified indicates that GetFeatureInfo should be enabled for this WMS and indicates the format that should be requested. Possible values are [ "text/html;fgpv=summary", "text/html", "text/plain", "application/json" ].

Type Default value Example Author section Advance Required
string - "text/plain" Map/Layers - -

If specified indicates that GetLegendGraphic should be enabled for this WMS and indicates the format that should be requested. Possible values are [ "image/png", "image/gif", "image/jpeg", "image/svg", "image/svg+xml" ].

Type Default value Example Author section Advance Required
string - "image/png" Map/Layers - -

⬆️ back to wmsLayerNode


One layer entry in a WMS service.

Type Author section Advance Required
object Map/Layers - -

The id of the layer entry in the WMS.

Type Default value Example Author section Advance Required
string - "wind_en" Map/Layers - Yes

A descriptive name for the layer. To be used in the legend.

Type Default value Example Author section Advance Required
string - "Wind layer" Map/Layers - Yes

All the styles for the layer entry in the WMS.

Type Default value Example Author section Advance Required
array - [ "WINDARROW", "WINDARROWKMH", "WINDSPEED", "WINDSPEEDKMH" ] Map/Layers - Yes

The current style for the layer entry in the WMS.

Type Default value Example Author section Advance Required
string - "WINDSPEEDKMH" Map/Layers Yes -

⬆️ back to wmsLayerEntryNode


Layers coming from an esri feature service.

Type Author section Advance Required
object Map/Layers - -

The id of the layer for referencing within the viewer (does not relate directly to any external service).

Type Default value Example Author section Advance Required
string - "dynamicLayer_1" Map/Layers - Yes

The display name of the layer. If it is not present the viewer will make an attempt to scrape this information.

Type Default value Example Author section Advance Required
string - "Power plants" Map/Layers - Yes

The service endpoint of the layer. It should match the type provided in layerType.

Type Default value Example Author section Advance Required
string - "https://.../MapServer/" Map/Layers - Yes

The automatic refresh interval of the layer in minutes. Maximum interval is 100 minutes.

Type Default value Example Author section Advance Required
number 0 5 Map/Layers Yes -

The metadata url of the layer service.

Type Default value Example Author section Advance Required
string null "https://.../metaDat" Map/Layers Yes -

The metadata url of the layer service.

Type Default value Example Author section Advance Required
string null "https://.../catalogue" Map/Layers Yes -

Type of layer which can only be esriDynamic.

Type Default value Example Author section Advance Required
string - "esriDynamic" Map/Layers - Yes

Allows individual symbols to have visibility toggled on/off.

Type Default value Example Author section Advance Required
boolean true true Map/Layers Yes -

Indicates that the dynamic layer with a single layer entry should be rendered without the root group.

Type Default value Example Author section Advance Required
boolean true true Map/Layers - -

Specifies the tolerance in pixels when determining if a feature was clicked. Should be non-negative integer.

Type Default value Example Author section Advance Required
boolean 5 8 Map/Layers Yes -

⬆️ back to dynamicLayerNode


Layer entry coming from an esri dynamic service.

Type Author section Advance Required
object Map/Layers - -

The index of the layer in the map service.

Type Default value Example Author section Advance Required
number - 0 Map/Layers - Yes

A descriptive name for the layer, can override the name coming from the service.

Type Default value Example Author section Advance Required
string - "Solar stations" Map/Layers - -

A descriptive name for the layer, can override the name coming from the service.

Type Default value Example Author section Advance Required
string - "Solar stations" Map/Layers Yes -

A flag indicating this entry is only for state tracking (i.e. it should not be displayed on the UI and all of the controls will be ignored, but the layer itself will be displayed on the map with the given state settings).

Type Default value Example Author section Advance Required
boolean false true Map/Layers Yes -

⬆️ back to dynamicLayerNode


Specifies how layers columns and global search are set.

Type Author section Advance Required
object Map/Layers Yes -

Specifies the table title to apply.

Type Default value Example Author section Advance Required
string - "GeoChronology" Map/Layers Yes -

Specifies the additional information to display in the setting panel to give more information about a table.

Type Default value Example Author section Advance Required
string - "Here is my description." Map/Layers Yes -

Specifies the default table size when first open. True: maximize view; False: split view.

Type Default value Example Author section Advance Required
boolean false true Map/Layers Yes -

Specifies the default filter to apply to a table (for global search).

Name Type Default value Example Author section Advance Required
enabled boolean true true Map/Layers Yes -------
value string null "LAST_UPDATED:2005-02-22" Map/Layers Yes -------

Specifies if the default filters (from columns filter) are apply to the map (definition query). True: it is applied; False: it is not applied.

Type Default value Example Author section Advance Required
boolean false true Map/Layers Yes -

⬆️ back to tableNode


Specifies option for each column. OID field must be present, if not data will not appear. The order they appears inside the table is the same as the order of this array.

Type Author section Advance Required
object Map/Layers Yes -

Specifies the field name (data) to use to link to the layer column. Must exist in the layer.

Type Default value Example Author section Advance Required
string - "LAST_UPDATED" Map/Layers Yes -

Specifies the column title, uses the layer column name or alias if missing.

Type Default value Example Author section Advance Required
string - "Last updated" Map/Layers Yes -

Specifies the additional information to display in the setting panel to give more information about a column. Do not add description if missing.

Type Default value Example Author section Advance Required
string - "Here is my description." Map/Layers Yes -

Specifies if column is visible by default. True: column is visible; False: column is hidden.

Type Default value Example Author section Advance Required
boolean true true Map/Layers Yes -

Specifies the column width. If missing, calculated column width will be used.

Type Default value Example Author section Advance Required
number - 12 Map/Layers Yes -

Specifies if column is sort. If missing, no sort is applied. Possible values are ["asc", "desc"].

Type Default value Example Author section Advance Required
string - "asc" Map/Layers Yes -

Specifies if column can be filtered. True: column can be filtered; False: no filter can be applied from global search or filter. If this is false, do not set a filter because it will not be use.

Type Default value Example Author section Advance Required
boolean true true Map/Layers Yes -

⬆️ back to columnNode


Specifies the filter information for a column.

Type Author section Advance Required
object Map/Layers Yes -

Specifies the filter type to use. If type is not specified, data field type will be use. String filter can be string or selector. Other filter must be the same type. If not, apply on map will fails. Possible values are [ "string", "number", "date", "selector" ].

Type Default value Example Author section Advance Required
string - "date" Map/Layers Yes Yes

Specifies the filter value. For date and number values are split by ',' (e.g. 0,100 or for date 2005-02-22,2005-04-30). Dates need to be in the format YYYY-MM-DD. For selector it needs an array like ["Fire", "Fatality"].

Type Default value Example Author section Advance Required
string - "2005-02-22,2005-04-30" Map/Layers Yes -

Specifies if filter is modifiable. True: filter value can't be modified; False: filter value can be modified.

Type Default value Example Author section Advance Required
boolean false true Map/Layers Yes -

⬆️ back to filterNode

⬆️ back to Map top

Annex

Clone this wiki locally