You are here

views.view.geolocation_demo_commonmap_boundary_filter_with_ajax.yml in Geolocation Field 8.3

modules/geolocation_google_maps/modules/geolocation_google_maps_demo/config/optional/views.view.geolocation_demo_commonmap_boundary_filter_with_ajax.yml

File

modules/geolocation_google_maps/modules/geolocation_google_maps_demo/config/optional/views.view.geolocation_demo_commonmap_boundary_filter_with_ajax.yml
View source
  1. langcode: en
  2. status: true
  3. dependencies:
  4. config:
  5. - core.entity_view_mode.node.teaser
  6. - field.storage.node.body
  7. - field.storage.node.field_geolocation_demo_single
  8. - field.storage.node.field_geolocation_demo_taxonomy
  9. - node.type.geolocation_default_article
  10. - system.menu.geolocation-demo
  11. enforced:
  12. module:
  13. - geolocation_google_maps_demo
  14. module:
  15. - geolocation
  16. - geolocation_google_maps
  17. - node
  18. - text
  19. - user
  20. id: geolocation_demo_commonmap_boundary_filter_with_ajax
  21. label: 'Geolocation Demo - Interactive CommonMap'
  22. module: views
  23. description: ''
  24. tag: 'Geolocation Demo'
  25. base_table: node_field_data
  26. base_field: nid
  27. core: 8.x
  28. display:
  29. default:
  30. display_plugin: default
  31. id: default
  32. display_title: Master
  33. position: 0
  34. display_options:
  35. access:
  36. type: perm
  37. options:
  38. perm: 'access content'
  39. cache:
  40. type: tag
  41. options: { }
  42. query:
  43. type: views_query
  44. options:
  45. disable_sql_rewrite: false
  46. distinct: false
  47. replica: false
  48. query_comment: ''
  49. query_tags: { }
  50. exposed_form:
  51. type: basic
  52. options:
  53. submit_button: Apply
  54. reset_button: true
  55. reset_button_label: Reset
  56. exposed_sorts_label: 'Sort by'
  57. expose_sort_order: true
  58. sort_asc_label: Asc
  59. sort_desc_label: Desc
  60. pager:
  61. type: full
  62. options:
  63. items_per_page: 10
  64. offset: 0
  65. id: 0
  66. total_pages: null
  67. expose:
  68. items_per_page: false
  69. items_per_page_label: 'Items per page'
  70. items_per_page_options: '5, 10, 25, 50'
  71. items_per_page_options_all: false
  72. items_per_page_options_all_label: '- All -'
  73. offset: false
  74. offset_label: Offset
  75. tags:
  76. previous: '‹ Previous'
  77. next: 'Next ›'
  78. first: '« First'
  79. last: 'Last »'
  80. quantity: 9
  81. style:
  82. type: default
  83. options:
  84. row_class: ''
  85. default_row_class: true
  86. uses_fields: false
  87. row:
  88. type: 'entity:node'
  89. options:
  90. relationship: none
  91. view_mode: teaser
  92. fields:
  93. title:
  94. id: title
  95. table: node_field_data
  96. field: title
  97. entity_type: node
  98. entity_field: title
  99. label: ''
  100. alter:
  101. alter_text: false
  102. make_link: false
  103. absolute: false
  104. trim: false
  105. word_boundary: false
  106. ellipsis: false
  107. strip_tags: false
  108. html: false
  109. hide_empty: false
  110. empty_zero: false
  111. settings:
  112. link_to_entity: true
  113. plugin_id: field
  114. relationship: none
  115. group_type: group
  116. admin_label: ''
  117. exclude: false
  118. element_type: ''
  119. element_class: ''
  120. element_label_type: ''
  121. element_label_class: ''
  122. element_label_colon: true
  123. element_wrapper_type: ''
  124. element_wrapper_class: ''
  125. element_default_classes: true
  126. empty: ''
  127. hide_alter_empty: true
  128. click_sort_column: value
  129. type: string
  130. group_column: value
  131. group_columns: { }
  132. group_rows: true
  133. delta_limit: 0
  134. delta_offset: 0
  135. delta_reversed: false
  136. delta_first_last: false
  137. multi_type: separator
  138. separator: ', '
  139. field_api_classes: false
  140. body:
  141. id: body
  142. table: node__body
  143. field: body
  144. relationship: none
  145. group_type: group
  146. admin_label: ''
  147. label: ''
  148. exclude: false
  149. alter:
  150. alter_text: false
  151. text: ''
  152. make_link: false
  153. path: ''
  154. absolute: false
  155. external: false
  156. replace_spaces: false
  157. path_case: none
  158. trim_whitespace: false
  159. alt: ''
  160. rel: ''
  161. link_class: ''
  162. prefix: ''
  163. suffix: ''
  164. target: ''
  165. nl2br: false
  166. max_length: 0
  167. word_boundary: true
  168. ellipsis: true
  169. more_link: false
  170. more_link_text: ''
  171. more_link_path: ''
  172. strip_tags: false
  173. trim: false
  174. preserve_tags: ''
  175. html: false
  176. element_type: ''
  177. element_class: ''
  178. element_label_type: ''
  179. element_label_class: ''
  180. element_label_colon: false
  181. element_wrapper_type: ''
  182. element_wrapper_class: ''
  183. element_default_classes: true
  184. empty: ''
  185. hide_empty: false
  186. empty_zero: false
  187. hide_alter_empty: true
  188. click_sort_column: value
  189. type: text_default
  190. settings: { }
  191. group_column: value
  192. group_columns: { }
  193. group_rows: true
  194. delta_limit: 0
  195. delta_offset: 0
  196. delta_reversed: false
  197. delta_first_last: false
  198. multi_type: separator
  199. separator: ', '
  200. field_api_classes: false
  201. plugin_id: field
  202. field_geolocation_demo_single:
  203. id: field_geolocation_demo_single
  204. table: node__field_geolocation_demo_single
  205. field: field_geolocation_demo_single
  206. relationship: none
  207. group_type: group
  208. admin_label: ''
  209. label: Location
  210. exclude: false
  211. alter:
  212. alter_text: false
  213. text: ''
  214. make_link: false
  215. path: ''
  216. absolute: false
  217. external: false
  218. replace_spaces: false
  219. path_case: none
  220. trim_whitespace: false
  221. alt: ''
  222. rel: ''
  223. link_class: ''
  224. prefix: ''
  225. suffix: ''
  226. target: ''
  227. nl2br: false
  228. max_length: 0
  229. word_boundary: true
  230. ellipsis: true
  231. more_link: false
  232. more_link_text: ''
  233. more_link_path: ''
  234. strip_tags: false
  235. trim: false
  236. preserve_tags: ''
  237. html: false
  238. element_type: ''
  239. element_class: ''
  240. element_label_type: ''
  241. element_label_class: ''
  242. element_label_colon: false
  243. element_wrapper_type: ''
  244. element_wrapper_class: ''
  245. element_default_classes: true
  246. empty: ''
  247. hide_empty: false
  248. empty_zero: false
  249. hide_alter_empty: true
  250. click_sort_column: ''
  251. type: geolocation_latlng
  252. settings: { }
  253. group_column: ''
  254. group_columns: { }
  255. group_rows: true
  256. delta_limit: 0
  257. delta_offset: 0
  258. delta_reversed: false
  259. delta_first_last: false
  260. multi_type: separator
  261. separator: ', '
  262. field_api_classes: false
  263. plugin_id: geolocation_field
  264. field_geolocation_demo_taxonomy:
  265. id: field_geolocation_demo_taxonomy
  266. table: node__field_geolocation_demo_taxonomy
  267. field: field_geolocation_demo_taxonomy
  268. relationship: none
  269. group_type: group
  270. admin_label: ''
  271. label: 'Taxonomy Terms'
  272. exclude: false
  273. alter:
  274. alter_text: false
  275. text: ''
  276. make_link: false
  277. path: ''
  278. absolute: false
  279. external: false
  280. replace_spaces: false
  281. path_case: none
  282. trim_whitespace: false
  283. alt: ''
  284. rel: ''
  285. link_class: ''
  286. prefix: ''
  287. suffix: ''
  288. target: ''
  289. nl2br: false
  290. max_length: 0
  291. word_boundary: true
  292. ellipsis: true
  293. more_link: false
  294. more_link_text: ''
  295. more_link_path: ''
  296. strip_tags: false
  297. trim: false
  298. preserve_tags: ''
  299. html: false
  300. element_type: ''
  301. element_class: ''
  302. element_label_type: ''
  303. element_label_class: ''
  304. element_label_colon: false
  305. element_wrapper_type: ''
  306. element_wrapper_class: ''
  307. element_default_classes: true
  308. empty: ''
  309. hide_empty: false
  310. empty_zero: false
  311. hide_alter_empty: true
  312. click_sort_column: target_id
  313. type: entity_reference_label
  314. settings:
  315. link: false
  316. group_column: target_id
  317. group_columns: { }
  318. group_rows: true
  319. delta_limit: 0
  320. delta_offset: 0
  321. delta_reversed: false
  322. delta_first_last: false
  323. multi_type: separator
  324. separator: ', '
  325. field_api_classes: false
  326. plugin_id: field
  327. filters:
  328. type_1:
  329. id: type_1
  330. table: node_field_data
  331. field: type
  332. relationship: none
  333. group_type: group
  334. admin_label: ''
  335. operator: in
  336. value:
  337. geolocation_default_article: geolocation_default_article
  338. group: 1
  339. exposed: false
  340. expose:
  341. operator_id: type_1_op
  342. label: 'Content type'
  343. description: ''
  344. use_operator: false
  345. operator: type_1_op
  346. identifier: type_1
  347. required: false
  348. remember: false
  349. multiple: false
  350. remember_roles:
  351. authenticated: authenticated
  352. anonymous: '0'
  353. administrator: '0'
  354. reduce: false
  355. is_grouped: false
  356. group_info:
  357. label: ''
  358. description: ''
  359. identifier: ''
  360. optional: true
  361. widget: select
  362. multiple: false
  363. remember: false
  364. default_group: All
  365. default_group_multiple: { }
  366. group_items: { }
  367. entity_type: node
  368. entity_field: type
  369. plugin_id: bundle
  370. field_geolocation_demo_single_boundary:
  371. id: field_geolocation_demo_single_boundary
  372. table: node__field_geolocation_demo_single
  373. field: field_geolocation_demo_single_boundary
  374. relationship: none
  375. group_type: group
  376. admin_label: ''
  377. operator: '='
  378. value:
  379. lat_north_east: ''
  380. lng_north_east: ''
  381. lat_south_west: ''
  382. lng_south_west: ''
  383. group: 1
  384. exposed: true
  385. expose:
  386. operator_id: ''
  387. label: 'Boundary (field_geolocation_demo_single)'
  388. description: ''
  389. use_operator: false
  390. operator: field_geolocation_demo_single_boundary_op
  391. identifier: field_geolocation_demo_single_boundary
  392. required: false
  393. remember: false
  394. multiple: false
  395. remember_roles:
  396. authenticated: authenticated
  397. anonymous: '0'
  398. administrator: '0'
  399. input_by_geocoding_widget: 0
  400. geocoder_plugin_settings:
  401. plugin_id: google_geocoding_api
  402. settings:
  403. component_restrictions:
  404. route: ''
  405. locality: ''
  406. administrative_area: ''
  407. postal_code: ''
  408. country: ''
  409. is_grouped: false
  410. group_info:
  411. label: ''
  412. description: ''
  413. identifier: ''
  414. optional: true
  415. widget: select
  416. multiple: false
  417. remember: false
  418. default_group: All
  419. default_group_multiple: { }
  420. group_items: { }
  421. plugin_id: geolocation_filter_boundary
  422. sorts:
  423. type:
  424. id: type
  425. table: node_field_data
  426. field: type
  427. relationship: none
  428. group_type: group
  429. admin_label: ''
  430. order: ASC
  431. exposed: false
  432. expose:
  433. label: ''
  434. entity_type: node
  435. entity_field: type
  436. plugin_id: standard
  437. created:
  438. id: created
  439. table: node_field_data
  440. field: created
  441. order: DESC
  442. entity_type: node
  443. entity_field: created
  444. plugin_id: date
  445. relationship: none
  446. group_type: group
  447. admin_label: ''
  448. exposed: false
  449. expose:
  450. label: ''
  451. granularity: second
  452. title: 'Geolocation Demo - Interactive CommonMap'
  453. header:
  454. area:
  455. id: area
  456. table: views
  457. field: area
  458. relationship: none
  459. group_type: group
  460. admin_label: ''
  461. empty: false
  462. tokenize: false
  463. content:
  464. value: 'Interact with the map by dragging or zooming and see the result markers on the map as well the list of results below update accordingly.'
  465. format: basic_html
  466. plugin_id: text
  467. footer: { }
  468. empty: { }
  469. relationships: { }
  470. arguments: { }
  471. display_extenders: { }
  472. use_ajax: true
  473. filter_groups:
  474. operator: AND
  475. groups:
  476. 1: AND
  477. cache_metadata:
  478. max-age: -1
  479. contexts:
  480. - 'languages:language_content'
  481. - 'languages:language_interface'
  482. - url
  483. - url.query_args
  484. - 'user.node_grants:view'
  485. - user.permissions
  486. tags:
  487. - 'config:field.storage.node.body'
  488. - 'config:field.storage.node.field_geolocation_demo_single'
  489. - 'config:field.storage.node.field_geolocation_demo_taxonomy'
  490. attachment_1:
  491. display_plugin: attachment
  492. id: attachment_1
  493. display_title: Map
  494. position: 2
  495. display_options:
  496. display_extenders: { }
  497. display_description: ''
  498. style:
  499. type: maps_common
  500. options:
  501. geolocation_field: field_geolocation_demo_single
  502. title_field: title
  503. dynamic_map:
  504. enabled: 1
  505. update_handler: boundary_filter_field_geolocation_demo_single_boundary
  506. hide_form: 1
  507. views_refresh_delay: '1200'
  508. update_target: common_map_ajax_page
  509. centre:
  510. boundary_filter_field_geolocation_demo_single_boundary:
  511. enable: true
  512. weight: -10
  513. fit_bounds:
  514. map_center_id: fit_bounds
  515. weight: -9
  516. enable: false
  517. first_row:
  518. weight: -8
  519. enable: false
  520. map_center_id: location_plugins
  521. fixed_value:
  522. map_center_id: location_plugins
  523. enable: true
  524. weight: -7
  525. settings:
  526. latitude: 52
  527. longitude: 13
  528. client_location:
  529. map_center_id: client_location
  530. weight: -6
  531. enable: false
  532. even_empty: 1
  533. marker_icon_path: ''
  534. marker_row_number: 0
  535. map_provider_id: google_maps
  536. map_provider_settings:
  537. height: 400px
  538. width: 100%
  539. type: ROADMAP
  540. zoom: 3
  541. maxZoom: 18
  542. minZoom: 0
  543. rotateControl: false
  544. gestureHandling: auto
  545. map_features:
  546. control_locate:
  547. weight: 0
  548. settings:
  549. position: TOP_LEFT
  550. enabled: false
  551. marker_infowindow:
  552. enabled: true
  553. weight: 0
  554. settings:
  555. info_window_solitary: true
  556. disable_auto_pan: true
  557. info_auto_display: false
  558. marker_infobubble:
  559. weight: 0
  560. settings:
  561. close_other: 1
  562. close_button_src: ''
  563. shadow_style: 0
  564. padding: 10
  565. border_radius: 8
  566. border_width: 2
  567. border_color: '#039be5'
  568. background_color: '#fff'
  569. min_width: null
  570. max_width: 550
  571. min_height: null
  572. max_height: null
  573. close_button: 0
  574. enabled: false
  575. marker_icon:
  576. weight: 0
  577. settings:
  578. marker_icon_path: ''
  579. anchor:
  580. x: 0
  581. 'y': 0
  582. origin:
  583. x: 0
  584. 'y': 0
  585. label_origin:
  586. x: 0
  587. 'y': 0
  588. size:
  589. width: null
  590. height: null
  591. scaled_size:
  592. width: null
  593. height: null
  594. enabled: false
  595. marker_clusterer:
  596. weight: 0
  597. settings:
  598. image_path: ''
  599. styles: ''
  600. max_zoom: 15
  601. enabled: false
  602. map_type_style:
  603. weight: 0
  604. settings:
  605. style: '[]'
  606. enabled: false
  607. control_zoom:
  608. enabled: true
  609. weight: 0
  610. settings:
  611. position: RIGHT_CENTER
  612. behavior: default
  613. style: LARGE
  614. control_streetview:
  615. weight: 0
  616. settings:
  617. position: TOP_LEFT
  618. behavior: default
  619. enabled: false
  620. control_recenter:
  621. weight: 0
  622. settings:
  623. position: TOP_LEFT
  624. enabled: false
  625. control_maptype:
  626. enabled: true
  627. weight: 0
  628. settings:
  629. position: RIGHT_BOTTOM
  630. behavior: default
  631. style: DEFAULT
  632. control_geocoder:
  633. weight: 0
  634. settings:
  635. position: TOP_LEFT
  636. geocoder: google_geocoding_api
  637. settings:
  638. label: Address
  639. description: 'Enter an address to be localized.'
  640. component_restrictions:
  641. route: ''
  642. locality: ''
  643. administrative_area: ''
  644. postal_code: ''
  645. country: ''
  646. enabled: false
  647. drawing:
  648. weight: 0
  649. settings:
  650. strokeColor: '#FF0000'
  651. strokeOpacity: '0.8'
  652. strokeWeight: '2'
  653. fillColor: '#FF0000'
  654. fillOpacity: '0.35'
  655. polyline: false
  656. geodesic: false
  657. polygon: false
  658. enabled: false
  659. map_disable_poi:
  660. weight: 0
  661. enabled: false
  662. context_popup:
  663. weight: 0
  664. settings:
  665. content:
  666. value: ''
  667. format: basic_html
  668. enabled: false
  669. client_location_indicator:
  670. weight: 0
  671. enabled: false
  672. spiderfying:
  673. weight: 0
  674. enabled: false
  675. defaults:
  676. style: false
  677. row: false
  678. header: false
  679. row:
  680. type: 'entity:node'
  681. options:
  682. relationship: none
  683. view_mode: teaser
  684. displays:
  685. common_map_ajax_page: common_map_ajax_page
  686. inherit_exposed_filters: true
  687. header: { }
  688. cache_metadata:
  689. max-age: -1
  690. contexts:
  691. - 'languages:language_content'
  692. - 'languages:language_interface'
  693. - url
  694. - 'user.node_grants:view'
  695. - user.permissions
  696. tags:
  697. - 'config:field.storage.node.body'
  698. - 'config:field.storage.node.field_geolocation_demo_single'
  699. - 'config:field.storage.node.field_geolocation_demo_taxonomy'
  700. common_map_ajax_page:
  701. display_plugin: page
  702. id: common_map_ajax_page
  703. display_title: 'Page with article list'
  704. position: 1
  705. display_options:
  706. display_extenders: { }
  707. path: geolocation-demo/common-map-ajax-with-boundary-filter
  708. defaults:
  709. filters: true
  710. filter_groups: true
  711. menu:
  712. type: normal
  713. title: 'Interactive CommonMap'
  714. description: ''
  715. expanded: false
  716. parent: ''
  717. weight: 0
  718. context: '0'
  719. menu_name: geolocation-demo
  720. display_description: ''
  721. cache_metadata:
  722. max-age: -1
  723. contexts:
  724. - 'languages:language_content'
  725. - 'languages:language_interface'
  726. - url
  727. - url.query_args
  728. - 'user.node_grants:view'
  729. - user.permissions
  730. tags:
  731. - 'config:field.storage.node.body'
  732. - 'config:field.storage.node.field_geolocation_demo_single'
  733. - 'config:field.storage.node.field_geolocation_demo_taxonomy'