You are here

leaflet_views.style.schema.yml in Leaflet 2.1.x

modules/leaflet_views/config/schema/leaflet_views.style.schema.yml

File

modules/leaflet_views/config/schema/leaflet_views.style.schema.yml
View source
  1. # Schema for the views style plugins.
  2. views.style.leaflet_map:
  3. type: views_style
  4. label: 'Leaflet map'
  5. mapping:
  6. data_source:
  7. type: string
  8. label: 'Data source'
  9. entity_source:
  10. type: string
  11. label: 'Entity source'
  12. entity_source_submit:
  13. type: string
  14. label: 'Submit label for entity source'
  15. name_field:
  16. type: string
  17. label: 'Name field'
  18. description_field:
  19. type: string
  20. label: 'Description field'
  21. view_mode:
  22. type: string
  23. label: 'View mode'
  24. leaflet_map:
  25. type: string
  26. label: 'Leaflet map'
  27. height:
  28. type: string
  29. label: 'Map height'
  30. height_unit:
  31. type: string
  32. label: 'Height unit'
  33. hide_empty_map:
  34. type: boolean
  35. label: 'Hide empty map'
  36. disable_wheel:
  37. type: boolean
  38. label: 'Disable wheel'
  39. fullscreen_control:
  40. type: boolean
  41. label: 'Fulllscreen control'
  42. gesture_handling:
  43. type: boolean
  44. label: 'Gesture handling'
  45. reset_map:
  46. type: mapping
  47. label: 'Reset map'
  48. mapping:
  49. control:
  50. type: boolean
  51. label: 'Control'
  52. position:
  53. type: string
  54. label: 'Position'
  55. map_position:
  56. type: mapping
  57. label: 'Map position'
  58. mapping:
  59. force:
  60. type: boolean
  61. label: 'Force map center & zoom'
  62. center:
  63. type: mapping
  64. label: 'Centre'
  65. mapping:
  66. lat:
  67. type: float
  68. label: 'Latitude'
  69. lon:
  70. type: float
  71. label: 'Longitude'
  72. zoom:
  73. type: integer
  74. label: 'Zoom'
  75. minZoom:
  76. type: integer
  77. label: 'Minimum zoom'
  78. maxZoom:
  79. type: integer
  80. label: 'Maximum zoom'
  81. zoomFiner:
  82. type: integer
  83. label: 'Zoom finer'
  84. weight:
  85. type: string
  86. label: 'Weight'
  87. icon:
  88. type: mapping
  89. label: 'Map icon'
  90. mapping:
  91. iconType:
  92. type: string
  93. label: 'Icon type'
  94. iconUrl:
  95. type: string
  96. label: 'Icon URL'
  97. shadowUrl:
  98. type: string
  99. label: 'Shadow URL'
  100. className:
  101. type: string
  102. label: 'Icon class'
  103. iconSize:
  104. type: mapping
  105. label: 'Icon size'
  106. mapping:
  107. x:
  108. type: string
  109. label: 'Width'
  110. y:
  111. type: string
  112. label: 'Height'
  113. iconAnchor:
  114. type: mapping
  115. label: 'Icon anchor'
  116. mapping:
  117. x:
  118. type: string
  119. label: 'Width'
  120. y:
  121. type: string
  122. label: 'Height'
  123. shadowSize:
  124. type: mapping
  125. label: 'Shadow anchor'
  126. mapping:
  127. x:
  128. type: string
  129. label: 'Width'
  130. y:
  131. type: string
  132. label: 'Height'
  133. shadowAnchor:
  134. type: mapping
  135. label: 'Shadow anchor'
  136. mapping:
  137. x:
  138. type: string
  139. label: 'Width'
  140. y:
  141. type: string
  142. label: 'Height'
  143. popupAnchor:
  144. type: mapping
  145. label: 'Popup anchor'
  146. mapping:
  147. x:
  148. type: string
  149. label: 'Width'
  150. y:
  151. type: string
  152. label: 'Height'
  153. html:
  154. type: string
  155. label: 'HTML'
  156. html_class:
  157. type: string
  158. label: 'HTML class'
  159. circle_marker_options:
  160. type: string
  161. label: 'Circle marker options'
  162. leaflet_markercluster:
  163. type: mapping
  164. label: 'Leaflet Markercluster'
  165. mapping:
  166. control:
  167. type: boolean
  168. label: 'Control'
  169. options:
  170. type: text
  171. label: 'Options'
  172. path:
  173. type: string
  174. label: 'Path'
  175. geocoder:
  176. type: mapping
  177. label: 'Geocoder'
  178. mapping:
  179. control:
  180. type: boolean
  181. label: 'Control'
  182. settings:
  183. type: mapping
  184. label: 'Geocoder'
  185. mapping:
  186. position:
  187. type: string
  188. label: 'Path'
  189. input_size:
  190. type: integer
  191. label: 'Input size'
  192. providers:
  193. type: sequence
  194. label: 'Providers'
  195. sequence:
  196. type: mapping
  197. mapping:
  198. weight:
  199. type: string
  200. label: 'Weight'
  201. checked:
  202. type: integer
  203. label: 'Checked'
  204. min_terms:
  205. type: integer
  206. label: 'Minimum terms'
  207. delay:
  208. type: integer
  209. label: 'Delay'
  210. zoom:
  211. type: integer
  212. label: 'Zoom'
  213. popup:
  214. type: boolean
  215. label: 'Popup'
  216. options:
  217. type: string
  218. label: 'Options'