You are here

views.view.geolocation_demo_interactive_commonmap_with_address_input.yml in Geolocation Field 8.3

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

File

modules/geolocation_google_maps/modules/geolocation_google_maps_demo/config/optional/views.view.geolocation_demo_interactive_commonmap_with_address_input.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_interactive_commonmap_with_address_input
  21. label: 'Geolocation Demo - Interactive CommonMap with address input'
  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. label: Address
  404. description: 'Enter an address to be localized.'
  405. component_restrictions:
  406. route: ''
  407. locality: ''
  408. administrative_area: ''
  409. postal_code: ''
  410. country: ''
  411. is_grouped: false
  412. group_info:
  413. label: ''
  414. description: ''
  415. identifier: ''
  416. optional: true
  417. widget: select
  418. multiple: false
  419. remember: false
  420. default_group: All
  421. default_group_multiple: { }
  422. group_items: { }
  423. plugin_id: geolocation_filter_boundary
  424. sorts:
  425. type:
  426. id: type
  427. table: node_field_data
  428. field: type
  429. relationship: none
  430. group_type: group
  431. admin_label: ''
  432. order: ASC
  433. exposed: false
  434. expose:
  435. label: ''
  436. entity_type: node
  437. entity_field: type
  438. plugin_id: standard
  439. created:
  440. id: created
  441. table: node_field_data
  442. field: created
  443. order: DESC
  444. entity_type: node
  445. entity_field: created
  446. plugin_id: date
  447. relationship: none
  448. group_type: group
  449. admin_label: ''
  450. exposed: false
  451. expose:
  452. label: ''
  453. granularity: second
  454. title: 'Geolocation Demo - Dynamic CommonMap with Boundary filter'
  455. header:
  456. area:
  457. id: area
  458. table: views
  459. field: area
  460. relationship: none
  461. group_type: group
  462. admin_label: ''
  463. empty: false
  464. tokenize: false
  465. content:
  466. 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.\nAlternatively, you can type in an address and see the map move to the location and update itself."
  467. format: basic_html
  468. plugin_id: text
  469. footer: { }
  470. empty: { }
  471. relationships: { }
  472. arguments: { }
  473. display_extenders: { }
  474. use_ajax: true
  475. filter_groups:
  476. operator: AND
  477. groups:
  478. 1: AND
  479. cache_metadata:
  480. max-age: -1
  481. contexts:
  482. - 'languages:language_content'
  483. - 'languages:language_interface'
  484. - url
  485. - url.query_args
  486. - 'user.node_grants:view'
  487. - user.permissions
  488. tags:
  489. - 'config:field.storage.node.body'
  490. - 'config:field.storage.node.field_geolocation_demo_single'
  491. - 'config:field.storage.node.field_geolocation_demo_taxonomy'
  492. attachment_1:
  493. display_plugin: attachment
  494. id: attachment_1
  495. display_title: Map
  496. position: 2
  497. display_options:
  498. display_extenders: { }
  499. display_description: ''
  500. style:
  501. type: maps_common
  502. options:
  503. geolocation_field: field_geolocation_demo_single
  504. title_field: title
  505. dynamic_map:
  506. enabled: 1
  507. update_handler: boundary_filter_field_geolocation_demo_single_boundary
  508. hide_form: 1
  509. views_refresh_delay: '1200'
  510. update_target: common_map_ajax_page
  511. centre:
  512. boundary_filter_field_geolocation_demo_single_boundary:
  513. enable: true
  514. weight: -10
  515. fit_bounds:
  516. map_center_id: fit_bounds
  517. weight: -9
  518. enable: false
  519. first_row:
  520. weight: -8
  521. enable: false
  522. map_center_id: location_plugins
  523. fixed_value:
  524. map_center_id: location_plugins
  525. enable: true
  526. weight: -7
  527. settings:
  528. latitude: 52
  529. longitude: 13
  530. client_location:
  531. map_center_id: client_location
  532. weight: -6
  533. enable: false
  534. even_empty: 1
  535. marker_icon_path: ''
  536. marker_row_number: 0
  537. map_provider_id: google_maps
  538. map_provider_settings:
  539. height: 400px
  540. width: 100%
  541. type: ROADMAP
  542. zoom: 3
  543. maxZoom: 18
  544. minZoom: 0
  545. rotateControl: false
  546. gestureHandling: auto
  547. map_features:
  548. control_locate:
  549. enabled: true
  550. weight: 0
  551. settings:
  552. position: TOP_LEFT
  553. marker_infowindow:
  554. enabled: true
  555. weight: 0
  556. settings:
  557. info_window_solitary: true
  558. disable_auto_pan: true
  559. info_auto_display: false
  560. marker_infobubble:
  561. weight: 0
  562. settings:
  563. close_other: 1
  564. close_button_src: ''
  565. shadow_style: 0
  566. padding: 10
  567. border_radius: 8
  568. border_width: 2
  569. border_color: '#039be5'
  570. background_color: '#fff'
  571. min_width: null
  572. max_width: 550
  573. min_height: null
  574. max_height: null
  575. close_button: 0
  576. enabled: false
  577. marker_icon:
  578. weight: 0
  579. settings:
  580. marker_icon_path: ''
  581. anchor:
  582. x: 0
  583. 'y': 0
  584. origin:
  585. x: 0
  586. 'y': 0
  587. label_origin:
  588. x: 0
  589. 'y': 0
  590. size:
  591. width: null
  592. height: null
  593. scaled_size:
  594. width: null
  595. height: null
  596. enabled: false
  597. marker_clusterer:
  598. weight: 0
  599. settings:
  600. image_path: ''
  601. styles: ''
  602. max_zoom: 15
  603. enabled: false
  604. map_type_style:
  605. weight: 0
  606. settings:
  607. style: '{}'
  608. enabled: false
  609. control_zoom:
  610. enabled: true
  611. weight: 0
  612. settings:
  613. position: RIGHT_CENTER
  614. behavior: default
  615. style: LARGE
  616. control_streetview:
  617. weight: 0
  618. settings:
  619. position: TOP_LEFT
  620. behavior: default
  621. enabled: false
  622. control_recenter:
  623. weight: 0
  624. settings:
  625. position: TOP_LEFT
  626. enabled: false
  627. control_maptype:
  628. enabled: true
  629. weight: 0
  630. settings:
  631. position: RIGHT_BOTTOM
  632. behavior: default
  633. style: DEFAULT
  634. control_geocoder:
  635. enabled: true
  636. weight: 0
  637. settings:
  638. position: LEFT_BOTTOM
  639. geocoder: google_geocoding_api
  640. settings:
  641. label: Address
  642. description: 'Enter an address to be localized.'
  643. component_restrictions:
  644. route: ''
  645. locality: ''
  646. administrative_area: ''
  647. postal_code: ''
  648. country: ''
  649. drawing:
  650. weight: 0
  651. settings:
  652. strokeColor: '#FF0000'
  653. strokeOpacity: '0.8'
  654. strokeWeight: '2'
  655. fillColor: '#FF0000'
  656. fillOpacity: '0.35'
  657. polyline: false
  658. geodesic: false
  659. polygon: false
  660. enabled: false
  661. map_disable_poi:
  662. weight: 0
  663. enabled: false
  664. context_popup:
  665. weight: 0
  666. settings:
  667. content:
  668. value: ''
  669. format: basic_html
  670. enabled: false
  671. client_location_indicator:
  672. weight: 0
  673. enabled: false
  674. spiderfying:
  675. weight: 0
  676. enabled: false
  677. defaults:
  678. style: false
  679. row: false
  680. header: false
  681. row:
  682. type: 'entity:node'
  683. options:
  684. relationship: none
  685. view_mode: teaser
  686. displays:
  687. common_map_ajax_page: common_map_ajax_page
  688. inherit_exposed_filters: true
  689. header: { }
  690. cache_metadata:
  691. max-age: -1
  692. contexts:
  693. - 'languages:language_content'
  694. - 'languages:language_interface'
  695. - url
  696. - 'user.node_grants:view'
  697. - user.permissions
  698. tags:
  699. - 'config:field.storage.node.body'
  700. - 'config:field.storage.node.field_geolocation_demo_single'
  701. - 'config:field.storage.node.field_geolocation_demo_taxonomy'
  702. common_map_ajax_page:
  703. display_plugin: page
  704. id: common_map_ajax_page
  705. display_title: 'Page with article list'
  706. position: 1
  707. display_options:
  708. display_extenders: { }
  709. path: geolocation-demo/common-map-ajax-with-address-input
  710. defaults:
  711. filters: true
  712. filter_groups: true
  713. menu:
  714. type: normal
  715. title: 'Interactive CommonMap with address input'
  716. description: ''
  717. expanded: false
  718. parent: ''
  719. weight: 0
  720. context: '0'
  721. menu_name: geolocation-demo
  722. display_description: ''
  723. cache_metadata:
  724. max-age: -1
  725. contexts:
  726. - 'languages:language_content'
  727. - 'languages:language_interface'
  728. - url
  729. - url.query_args
  730. - 'user.node_grants:view'
  731. - user.permissions
  732. tags:
  733. - 'config:field.storage.node.body'
  734. - 'config:field.storage.node.field_geolocation_demo_single'
  735. - 'config:field.storage.node.field_geolocation_demo_taxonomy'