You are here

leaflet.schema.yml in Leaflet 2.1.x

config/schema/leaflet.schema.yml

File

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