Vridlo/types/Location: Difference between revisions

From ALT Linux Wiki
(Created page with "'''Location''' is a structure that represents Location model. It is described as: * '''recital_id''' is ''string '''mandatory read-only internal''''' Natural identifier of...")
 
No edit summary
 
Line 1: Line 1:
'''Location''' is a structure that represents Location model. It is described as:
'''Location''' is a '''''stuff''''' structure that represents Location model. It implies the geo-position of the specified [[Vridlo/types/Recital|recital]] object. It is described as:


* '''recital_id''' is ''string '''mandatory read-only internal'''''
  Natural identifier of the [[Vridlo/types/Recital|Recital]]. Internally used as link to it.
* '''x''' is ''float '''mandatory'''''
* '''x''' is ''float '''mandatory'''''
  X coordinate of the location for the specific grid.
  X coordinate of the location for the specific grid.

Latest revision as of 14:50, 12 December 2019

Location is a stuff structure that represents Location model. It implies the geo-position of the specified recital object. It is described as:

  • x is float mandatory
X coordinate of the location for the specific grid.
  • y is float mandatory
Y coordinate of the location for the specific grid.
  • grid is string optional
Map grid, which the coordinates belong to. Can be one of yandex, google.
  • titles is Lorem array optional
Array of Lorems, which are used as location titles.