Versions Compared

Key

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

...

Here is an example of a customised Stylesheet.

...

For Space Type Labels

Label direction by Space Type

This option will set all the labels for resources of a space type to display in the direction.

...

Empty arrays do not need to be listed in the "label_direction_byType" object.
They are shown above for demostrative demonstrative purposes.

Label direction by Space Type ID

This option will set all the label directions based on the resource ID number.

...

Code Block
languagejson
  "label_direction_byID": {
    "top": [],
    "bottom": [],
    "left": [],
    "right": [42, 44, 45, 48, 50, 51, 54, 56]
  },

...

For Other Marker Type Labels

Label direction by Marker Type

This option will set all the labels for specific marker type to display in a chosen direction.
The marker type options available are:

  • Maplink

  • URL

  • Non-Interactive

In the JSON section of the stylesheet, you will need to add an object with the key "label_direction_byHotspotType".

This object will accept 4 values which in turn expect an array of marker types.

Code Block
languagejson
  "label_direction_byHotspotType": {
    "top:": [],
    "bottom": [],
    "left": ["Maplink"],
    "bottom": ["URL","Non-Interactive"]
  },

Empty arrays do not need to be listed in the "label_direction_byHotspotType" object.
They are shown above for demonstrative purposes.

Label direction by Resource Object ID

This option will set all the label directions based on the Resource Object ID number.

In the JSON section of the stylesheet, you will need to add an object with the key "label_direction_byHotspotID".

This object will accept 4 values which in turn expect an array of IDs.

Code Block
languagejson
  "label_direction_byHotspotID": {
    "top": [],
    "bottom": [],
    "left": [457,458,459,778,859,689,7785],
    "right": [145, 157, 258, 498, 499, 578, 658, 668]
  },

...

Note

For assistance with this configuration please contact our support team at helpdesk@qedas.com