Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This is a share object applied on catchment_area_view view of the Retail Solution Demo. The diff array contains these changes:

  1. it adds default values of (histogram) filter at index 1 to 100 and 500

  2. it sets the map window center to 52.42325659892287,-1.9569396972656254 and zoom to level 12

  3. it adds the default visualization setting - areas

  4. it adds the default compare type setting - dominance

  5. it sets default spatial query settings

  6. it adds default measure type - isoline

  7. it sets the defaultSelected property to the feature with id "6" from dataset shops

All these properties and paths are described in detail in the Views article.

...

Code Block
{
    "id": "exb9g8wi9606ziyk",
    "name": "turnover_indicator_drill_on_exb9g8wi9606ziyk",
    "type": "share",
    "content": {
        "shareId": "exb9g8wi9606ziyk",
        "objectId": "iir539klh29s9mvo",
        "objectName": "turnover_indicator_drill_on",
        "diff": [
            {
                "op": "add",
                "path": "/content/blocks/3/visualized",
                "value": false
            },
            {
                "op": "add",
                "path": "/content/blocks/3/displayValues",
                "value": [
                    "Offline"
                ]
            },
            {
                "op": "add",
                "path": "/content/blocks/4/visualized",
                "value": false
            },
            {
                "op": "add",
                "path": "/content/blocks/5/visualized",
                "value": false
            },
            {
                "op": "add",
                "path": "/content/blocks/6/visualized",
                "value": false
            }
        ]
    }
}

This share object is applied on indicator drill. You can see it contains explicit disabled visalization of drill blocks. But mainly, for block 3 (categories) there is an displayValues setting which means we selected "Offline" category from the block.

Example of a share object on marker selector

...