You are here

leaflet_views.style.schema.yml in Leaflet 2.0.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.leafet_map:
  3. type: views_style
  4. label: 'Leaflet map'
  5. mapping:
  6. data_source:
  7. type: string
  8. label: 'Data source'
  9. name_field:
  10. type: string
  11. label: 'Title field'
  12. description_field:
  13. type: string
  14. label: 'Description field'
  15. map:
  16. type: string
  17. label: 'Map'
  18. height:
  19. type: string
  20. label: 'Map height'
  21. icon:
  22. type: mapping
  23. label: 'Map icon'
  24. mapping:
  25. iconUrl:
  26. type: string
  27. label: 'Icon URL'
  28. shadowUrl:
  29. type: string
  30. label: 'Icon shadow URL'
  31. iconSize:
  32. type: mapping
  33. label: 'Icon size'
  34. mapping:
  35. x:
  36. type: string
  37. label: 'Width'
  38. y:
  39. type: string
  40. label: 'Height'
  41. iconAnchor:
  42. type: mapping
  43. label: 'Icon anchor'
  44. mapping:
  45. x:
  46. type: string
  47. label: 'X'
  48. y:
  49. type: string
  50. label: 'Y'
  51. shadowAnchor:
  52. type: mapping
  53. label: 'Shadow anchor'
  54. mapping:
  55. x:
  56. type: string
  57. label: 'X'
  58. y:
  59. type: string
  60. label: 'Y'
  61. popupAnchor:
  62. type: mapping
  63. label: 'Popup anchor'
  64. mapping:
  65. x:
  66. type: string
  67. label: 'X'
  68. y:
  69. type: string
  70. label: 'Y'