created the map for projetcs

This commit is contained in:
2022-02-28 12:27:11 +01:00
parent 08a971f2b8
commit bb6572ef2f
6 changed files with 491 additions and 7 deletions
+280 -3
View File
@@ -4,9 +4,12 @@ status: true
dependencies:
config:
- core.entity_view_mode.node.teaser
- field.storage.node.field_geofield
- node.type.projet
module:
- better_exposed_filters
- geofield
- leaflet_views
- node
- options
- user
@@ -73,6 +76,70 @@ display:
multi_type: separator
separator: ', '
field_api_classes: false
field_geofield:
id: field_geofield
table: node__field_geofield
field: field_geofield
relationship: none
group_type: group
admin_label: ''
plugin_id: field
label: ''
exclude: true
alter:
alter_text: false
text: ''
make_link: false
path: ''
absolute: false
external: false
replace_spaces: false
path_case: none
trim_whitespace: false
alt: ''
rel: ''
link_class: ''
prefix: ''
suffix: ''
target: ''
nl2br: false
max_length: 0
word_boundary: true
ellipsis: true
more_link: false
more_link_text: ''
more_link_path: ''
strip_tags: false
trim: false
preserve_tags: ''
html: false
element_type: ''
element_class: ''
element_label_type: ''
element_label_class: ''
element_label_colon: false
element_wrapper_type: ''
element_wrapper_class: ''
element_default_classes: true
empty: ''
hide_empty: false
empty_zero: false
hide_alter_empty: true
click_sort_column: value
type: geofield_default
settings:
output_format: wkt
output_escape: true
group_column: value
group_columns: { }
group_rows: true
delta_limit: 0
delta_offset: 0
delta_reversed: false
delta_first_last: false
multi_type: separator
separator: ', '
field_api_classes: false
pager:
type: none
options:
@@ -358,7 +425,74 @@ display:
groups:
1: AND
style:
type: default
type: leaflet_map
options:
grouping: { }
data_source: field_geofield
entity_source: __base_table
name_field: title
description_field: ''
view_mode: full
leaflet_map: 'OSM Mapnik'
height: '400'
height_unit: px
hide_empty_map: false
disable_wheel: false
gesture_handling: false
reset_map:
control: false
position: topright
map_position:
force: false
center:
lat: !!float 0
lon: !!float 0
zoom: 12
minZoom: 1
maxZoom: 18
zoomFiner: 0
weight: ''
icon:
iconType: marker
iconUrl: ''
shadowUrl: ''
className: ''
iconSize:
x: ''
'y': ''
iconAnchor:
x: ''
'y': ''
shadowSize:
x: ''
'y': ''
shadowAnchor:
x: ''
'y': ''
popupAnchor:
x: ''
'y': ''
html: '<div></div>'
html_class: leaflet-map-divicon
circle_marker_options: '{"radius":100,"color":"red","fillColor":"#f03","fillOpacity":0.5}'
fullscreen:
control: false
options: '{"position":"topleft","pseudoFullscreen":false}'
path: '{"color":"#3388ff","opacity":"1.0","stroke":true,"weight":3,"fill":"depends","fillColor":"*","fillOpacity":"0.2","radius":"6"}'
geocoder:
control: false
settings:
position: topright
input_size: 25
providers:
mapquest:
weight: '0'
checked: 0
min_terms: 4
delay: 800
zoom: 16
popup: false
options: ''
row:
type: 'entity:node'
options:
@@ -383,13 +517,27 @@ display:
- url
- 'user.node_grants:view'
- user.permissions
tags: { }
tags:
- 'config:field.storage.node.field_geofield'
block_1:
id: block_1
display_title: 'Projets Block'
display_plugin: block
position: 1
display_options:
style:
type: default
options:
row_class: ''
default_row_class: true
uses_fields: false
row:
type: 'entity:node'
options:
view_mode: teaser
defaults:
style: false
row: false
display_description: ''
display_extenders:
views_ef_fieldset:
@@ -496,4 +644,133 @@ display:
- url
- 'user.node_grants:view'
- user.permissions
tags: { }
tags:
- 'config:field.storage.node.field_geofield'
block_2:
id: block_2
display_title: 'Projets map'
display_plugin: block
position: 2
display_options:
filters:
status:
id: status
table: node_field_data
field: status
entity_type: node
entity_field: status
plugin_id: boolean
value: '1'
group: 1
expose:
operator: ''
operator_limit_selection: false
operator_list: { }
type:
id: type
table: node_field_data
field: type
entity_type: node
entity_field: type
plugin_id: bundle
value:
projet: projet
group: 1
expose:
operator_limit_selection: false
operator_list: { }
filter_groups:
operator: AND
groups:
1: AND
style:
type: leaflet_map
options:
grouping: { }
data_source: field_geofield
entity_source: __base_table
name_field: title
description_field: ''
view_mode: full
leaflet_map: stamen-toner-lite
height: '400'
height_unit: px
hide_empty_map: false
disable_wheel: false
gesture_handling: false
reset_map:
control: false
position: topright
map_position:
force: false
center:
lat: !!float 0
lon: !!float 0
zoom: 12
minZoom: 1
maxZoom: 18
zoomFiner: 0
weight: ''
icon:
iconType: marker
iconUrl: ''
shadowUrl: ''
className: ''
iconSize:
x: ''
'y': ''
iconAnchor:
x: ''
'y': ''
shadowSize:
x: ''
'y': ''
shadowAnchor:
x: ''
'y': ''
popupAnchor:
x: ''
'y': ''
html: '<div></div>'
html_class: leaflet-map-divicon
circle_marker_options: '{"radius":100,"color":"red","fillColor":"#f03","fillOpacity":0.5}'
fullscreen:
control: false
options: '{"position":"topleft","pseudoFullscreen":false}'
path: '{"color":"#3388ff","opacity":"1.0","stroke":true,"weight":3,"fill":"depends","fillColor":"*","fillOpacity":"0.2","radius":"6"}'
geocoder:
control: false
settings:
position: topright
input_size: 25
providers:
mapquest:
weight: '0'
checked: 0
min_terms: 4
delay: 800
zoom: 16
popup: false
options: ''
row:
type: 'entity:node'
options:
view_mode: teaser
defaults:
style: false
row: false
filters: false
filter_groups: false
display_description: ''
display_extenders:
views_ef_fieldset: { }
block_description: 'Projet Map'
cache_metadata:
max-age: -1
contexts:
- 'languages:language_content'
- 'languages:language_interface'
- 'user.node_grants:view'
- user.permissions
tags:
- 'config:field.storage.node.field_geofield'