diff --git a/application/config/applications/mapbender_mobile.yaml b/application/config/applications/mapbender_mobile.yaml deleted file mode 100644 index fe725b429..000000000 --- a/application/config/applications/mapbender_mobile.yaml +++ /dev/null @@ -1,320 +0,0 @@ -parameters: - applications: - mapbender_mobile: - title: Mapbender Mobile Demo - screenshot: screenshot.png - description: Mapbender application using mobile template - published: true - template: 'Mapbender\MobileBundle\Template\Mobile' - custom_css: null - layersets: - themes: - selected: true - mapbender_users: - type: wms - title: Mapbender Users - url: https://wms.wheregroup.com/cgi-bin/mapbender_user.xml - version: 1.3.0 - layers: - 4: { name: Mapbender_User, title : User, visible: true, legendurl: https://wms.wheregroup.com/cgi-bin/mapbender_user.xml?version=1.3.0&service=WMS&request=GetLegendGraphic&sld_version=1.1.0&layer=Mapbender_User&format=image/png&STYLE=default } - 5: { name: Mapbender_Names, title : Name, visible: true, queryable: true} - info_format: text/html - visible: true - format: image/png - transparent: true - tiled: false - opacity: 100 - isBaseSource: false - toggle: true - fossgis: - type: wms - title: FOSSGIS Konferenzen - url: https://wms.wheregroup.com/cgi-bin/fossgis.xml - version: 1.3.0 - layers: - 6: { name: FOSSGIS, title : FOSSGIS Konferenz-Standorte, visible: true, queryable: true, legendurl: https://wms.wheregroup.com/cgi-bin/fossgis.xml?version=1.3.0&service=WMS&request=GetLegendGraphic&sld_version=1.1.0&layer=fossgis&format=image/png&STYLE=default } - info_format: text/html - visible: true - format: image/png - transparent: true - tiled: false - opacity: 100 - isBaseSource: false - toggle: false - foss4g: - type: wms - title: FOSS4G Conferences - url: https://wms.wheregroup.com/cgi-bin/foss4g.xml - version: 1.3.0 - layers: - 6: { name: FOSS4G, title : FOSS4G Conference Locations, visible: true, queryable: true, legendurl: https://wms.wheregroup.com/cgi-bin/foss4g.xml?version=1.3.0&service=WMS&request=GetLegendGraphic&sld_version=1.1.0&layer=foss4g&format=image/png&STYLE=default } - info_format: text/html - visible: false - format: image/png - transparent: true - tiled: false - opacity: 100 - isBaseSource: false - toggle: false - background themes: - selected: true - osm: - type: wms - title: OSM Demo - url: https://osm-demo.wheregroup.com/service - version: 1.3.0 - layers: - 12: { name: osm, title : OSM Demo WhereGroup, visible: true } - info_format: text/html - visible: true - format: image/png - transparent: true - tiled: true - opacity: 100 - isBaseSource: true - osm-transparent: - type: wms - title: OSM Demo - url: https://osm-demo.wheregroup.com/service - version: 1.3.0 - layers: - 12: { name: osm, title : OSM Demo WhereGroup, visible: true } - info_format: text/html - visible: false - format: image/png - transparent: true - tiled: true - opacity: 60 - isBaseSource: true - osm-greyscale: - type: wms - title: OSM Demo - url: https://osm-demo.wheregroup.com/service - version: 1.3.0 - layers: - 13: { name: osm-grey, title : OSM Demo WhereGroup (greyscale), visible: true } - info_format: text/html - visible: false - format: image/png - transparent: true - tiled: true - opacity: 100 - isBaseSource: true - elements: - footer: - # button parameters: action,activate,deactivate are ignored for elements at mobilePane - layertree-button: - title: mb.demoapps.themes - tooltip: Themes - class: Mapbender\CoreBundle\Element\ControlButton - label: false - icon: icon-layer-tree - target: layertree - - bss-button: - class: Mapbender\CoreBundle\Element\ControlButton - icon: iconMap - label: false - target: basesourceswitcher - - gps-button: - class: Mapbender\CoreBundle\Element\GpsPosition - label: false - target: map - icon: iconGps - average: '1' - follow: false - centerOnFirstPosition: true - zoomToAccuracyOnFirstPosition: true - - legend-button: - class: Mapbender\CoreBundle\Element\ControlButton - label: false - icon: iconLegend - target: legend - - routing-button: - class: Mapbender\CoreBundle\Element\ControlButton - label: false - icon: iconRouting - target: routing - - imprint-button: - title: Imprint - tooltip: Imprint - class: Mapbender\CoreBundle\Element\ControlButton - label: false - icon: iconInfoActive - target: imprint - screenType: desktop - - help-button: - title: mb.core.aboutdialog.tag.help - tooltip: mb.core.aboutdialog.tag.help - class: Mapbender\CoreBundle\Element\ControlButton - label: false - icon: iconHelp - target: help - screenType: desktop - - about-mapbender-button: - title: mb.core.aboutdialog.tag.about - tooltip: mb.core.aboutdialog.tag.about - class: Mapbender\CoreBundle\Element\ControlButton - label: false - icon: iconAbout - target: html-about-mapbender - - shareUrl: - class: Mapbender\CoreBundle\Element\ShareUrl - label: false - content: - map: - class: Mapbender\CoreBundle\Element\Map - layersets: [themes,background themes] - srs: EPSG:3857 - extents: - start: [772933.16,6566826.23,806786.66,6582317.62] - max: [-20037508.34278924,-20037508.34278924,20037508.34278924,20037508.34278924] - scales: [50000000,25000000,10000000,5000000,1000000,500000,100000,50000,25000,10000,7500,5000,2500,1000,500] - otherSrs: ["EPSG:25832","EPSG:25833","EPSG:31466","EPSG:31467","EPSG:4326"] - - simplesearch: - title: mb.core.simplesearch.class.title - placeholder: mb.demoapps.search - class: Mapbender\CoreBundle\Element\SimpleSearch - target: map - anchor: right-top - query_url: https://osm-photon-search.wheregroup.com/search/api?limit=20&lat=50.7163&lon=7.1366&osm_tag=!railway&osm_tag=!highway:elevator&osm_tag=!tourism&osm_tag=!amenity - query_key: q - query_format: '%s' - token_regex: '[^a-zA-Z0-9äöüÄÖÜß]' - token_regex_in: '([a-zA-ZäöüÄÖÜß]{3,})' - token_regex_out: '$1*' - collection_path: features - label_attribute: '${properties.name} ${properties.street} ${properties.housenumber} ${properties.city} ${properties.country}' - geom_attribute: geometry - sourceSrs: 'EPSG:4326' - geom_format: GeoJSON - delay: 300 - query_ws_replace: null - result: - buffer: ~ - minscale: 500 - maxscale: 5000 - icon_url: '/bundles/mapbendercore/image/pin_red.png' - icon_offset: '-6,-32' - - zoombar: - class: Mapbender\CoreBundle\Element\ZoomBar - target: map - components: ["zoom_in_out", "zoom_max","zoom_home"] - anchor: right-bottom - draggable: false - - mobilePane: - layertree: - title: mb.demoapps.themes - class: Mapbender\CoreBundle\Element\Layertree - target: map - type: element - autoOpen: false - showBaseSource: false - menu: [] - - featureinfo: - class: Mapbender\CoreBundle\Element\FeatureInfo - target: map - deactivateOnClose: false - autoActivate: true - printResult: false - displayType: tabs - onlyValid: true - - legend: - class: Mapbender\CoreBundle\Element\Legend - target: map - elementType: dialog - autoOpen: false - showLayerTitle: true - showGroupedLayerTitle: true - - imprint: - title: Imprint - class: Mapbender\CoreBundle\Element\HTMLElement - content: "
powered by Mapbender. - Read more about Mapbender at the Mapbender Project Page. -
- -

- \"Mapbender\" -

-

https://mapbender.org

-
" - classes: html-element-inline - screenType: desktop - - help: - title: mb.core.aboutdialog.tag.help - class: Mapbender\CoreBundle\Element\HTMLElement - content: "

Enjoy the Mapbender mobile Template. - Please note that not all elements can be used in the mobile application.

-

Please check the documentation

- -

- \"Mapbender\" -

-

https://doc.mapbender.org

-
" - classes: html-element-inline - screenType: desktop - - basesourceswitcher: - title: mb.core.basesourceswitcher.class.title - tooltip: mb.core.basesourceswitcher.class.title - class: Mapbender\CoreBundle\Element\BaseSourceSwitcher - target: map - instancesets: - 1-basesourceswitcher: - title: OSM (color) - group: null - instances: - - osm - 2-basesourceswitcher: - title: OSM (greyscale) - group: null - instances: - - osm-greyscale - 3-basesourceswitcher: - title: OSM (transparent) - group: null - instances: - - osm-transparent - 4-basesourceswitcher: - title: mb.demoapps.noBackground - group: null - instances: [] - - html-about-mapbender: - title: mb.core.aboutdialog.tag.about - class: Mapbender\CoreBundle\Element\HTMLElement - classes: html-element-inline - content: "

Learn more about Mapbender

- -

- \"Mapbender\"
https://mapbender.org -

-
- -

-

Mapbender is an

- -

- \"OSGeo -

-
-

- https://www.osgeo.org -

" diff --git a/application/config/applications/mapbender_user.yaml b/application/config/applications/mapbender_user.yaml index 0a5f07dfa..429678c94 100644 --- a/application/config/applications/mapbender_user.yaml +++ b/application/config/applications/mapbender_user.yaml @@ -13,13 +13,13 @@ parameters: properties: item_alignment": right # left/right/center screenType: all # desktop/mobile/all - generate_button_menu: false # true/false + generate_button_menu: only_mobile # true/false no yes only_desktop only_mobile menu_label: NULL # NULL or text - name: sidepane properties: name: list # tabs (for button) / accordion / list / NULL align: left # right/left - closed: false # true/false + closed: false # true/false no yes only_desktop only_mobile screenType: all # all/desktop/mobile width: "300px" resizable: true @@ -27,7 +27,7 @@ parameters: properties: item_alignment": right # right/left/center screenType: all # all/desktop/mobile - generate_button_menu: false # true/false + generate_button_menu: false # true/false no yes only_desktop only_mobile menu_label: NULL # NULL or text layersets: main: @@ -51,6 +51,30 @@ parameters: isBaseSource: false toggle: true #refreshInterval: 5 + conferences: + selected: true + fossgis_ogc_api_features: + type: ogc_api_features + title: FOSSGIS Konferenzen (via OGC API - Features) + jsonUrl: https://wms.wheregroup.com/cgi-bin/mapserv/ogcapidemo/ogcapi + layers: + 111: + collectionId: fossgis + title: FOSSGIS Konferenz-Standorte + tooltipPropertyMap: + - location: Standort + - year: Jahr + - country: Land + tooltipTemplate: ${name}
${location} + hoverStyle: + strokeColor: rgba(255,0,255,1) + strokeWidth: 20 + fillColor: rgba(255,0,255,0.2) + visible: true + selected: true + allowSelected: true + toggle: true + allowToggle: true fossgis: type: wms title: FOSSGIS Konferenzen @@ -286,12 +310,15 @@ parameters: class: Mapbender\CoreBundle\Element\ControlButton label: true target: copyright + icon: iconCopyright interactivehelp-button: class: Mapbender\CoreBundle\Element\ControlButton label: true target: interactivehelp + icon: iconBookOpen simplesearch-toolbar: title: mb.core.simplesearch.class.title + screenType: desktop placeholder: mb.demoapps.search class: Mapbender\CoreBundle\Element\SimpleSearch query_url: https://osm-photon-search.wheregroup.com/search/api?limit=20&lat=50.7163&lon=7.1366&osm_tag=!railway&osm_tag=!highway:elevator&osm_tag=!tourism&osm_tag=!amenity @@ -316,7 +343,7 @@ parameters: content: map: class: Mapbender\CoreBundle\Element\Map - layersets: [themes,main,background themes] + layersets: [themes,conferences,main,background themes] srs: EPSG:3857 extents: start: [772933.16,6566826.23,806786.66,6582317.62] @@ -403,7 +430,7 @@ parameters: useMailto: false interactivehelp: class: Mapbender\CoreBundle\Element\InteractiveHelp - screenType: desktop + screenType: all autoOpen: true configuration: intro: @@ -467,11 +494,19 @@ parameters: copyright: class: Mapbender\CoreBundle\Element\Copyright autoOpen: true - screenType: desktop + screenType: all content: 'We hope you like the Mapbender User Application. Use and modify it as you like.' popupWidth: 300 dontShowAgain: true dontShowAgainLabel: mb.core.copyright.admin.dontShowAgainDefaultLabel + html-powered-by: + title: HTML-powered by Mapbender + class: Mapbender\CoreBundle\Element\HTMLElement + content: 'powered by Mapbender' + label: true + screenType: all + openInline: true + position: lower-right sidepane: simplesearch: title: mb.core.simplesearch.class.title @@ -498,6 +533,7 @@ parameters: maxscale: 5000 icon_url: '/bundles/mapbendercore/image/pin_red.png' icon_offset: '-6,-32' + screenType: all layertree: class: Mapbender\CoreBundle\Element\Layertree type: element @@ -510,6 +546,7 @@ parameters: hideInfo: false useTheme: true showFilter: true + screenType: all themes: - id: themes @@ -534,7 +571,7 @@ parameters: fontSize: 14 strokeWidth: 2 strokeWidthWhileDrawing: 3 - screenType: desktop + screenType: all sketch: class: Mapbender\CoreBundle\Element\Sketch geometrytypes: @@ -548,22 +585,22 @@ parameters: deactivate_on_close: false colors: ["#009ee0","#cf003d","#ffff33","#00837e","#ff7f00"] allow_custom_color: true - screenType: desktop + screenType: all coordinatesutility: class: Mapbender\CoreBundle\Element\CoordinatesUtility srsList: [] addMapSrsList: true zoomlevel: 6 - screenType: desktop + screenType: all dataupload: class: Mapbender\CoreBundle\Element\DataUpload maxFileSize: 10 helpText: mb.core.dataupload.admin.helpText - screenType: desktop + screenType: all applicationswitcher-sidepane: class: Mapbender\CoreBundle\Element\ApplicationSwitcher - screenType: desktop - open_in_new_tab: true # false/true + screenType: all + open_in_new_tab: false # false/true applications: mapbender_user: # switch to another application mapbender_user_basic: @@ -599,17 +636,31 @@ parameters: img_url: 'https://www.fossgis.de/mediawiki/images/d/d3/FOSSGIS_Logo_RGB_100x45mm_600dpi.png' description: Link to FOSSGIS e.V. group: 'Link external Website' + mapbender_user_wms: + title: 'WMS Mapbender User' + description: 'Click to load the WMS' + url: null + img_url: 'https://placehold.co/100' + group: mb.interactivehelp.wmsloader.title + add_wms: + mb_wms_layers: 'Mapbender_User,Mapbender_Names' + mb_layer_merge: 0 + mb_wms_merge: 1 + mb_url: 'https://wms.wheregroup.com/cgi-bin/mapbender_user.xml' + mb_infoformat: text/html + mb_add_vendor_specific: bplan=123 viewmanager: class: Mapbender\CoreBundle\Element\ViewManager publicEntries: rw privateEntries: true allowAnonymousSave: true showDate: true - screenType: desktop + screenType: all routing: class: Mapbender\RoutingBundle\Element\Routing type: element title: Routing + screenType: all advancedSettings: true autoSubmit: true allowIntermediatePoints: true @@ -680,11 +731,15 @@ parameters: label: Title # label of the optional field options: # required: true # true or false + screenType: desktop html-about-mapbender: class: Mapbender\CoreBundle\Element\HTMLElement classes: html-element-inline title: mb.demoapps.about + screenType: all openInline: false + anchor: right-bottom + icon: iconHelp content: "

Learn more about Mapbender

@@ -704,10 +759,11 @@ parameters:

https://www.osgeo.org

" + footer: activityindicator: class: Mapbender\CoreBundle\Element\ActivityIndicator - screenType: desktop + screenType: all coordinates: class: Mapbender\CoreBundle\Element\CoordinatesDisplay label: false @@ -732,16 +788,24 @@ parameters: class: Mapbender\CoreBundle\Element\LinkButton label: true click: https://openmaptiles.org/ + screenType: all OSM-badge: title: © OpenStreetMap contributors tooltip: © OpenStreetMap contributors class: Mapbender\CoreBundle\Element\LinkButton label: true click: https://www.openstreetmap.org/copyright + screenType: all + copyright-button: + class: Mapbender\CoreBundle\Element\ControlButton + icon: iconCopyright + label: false + target: copyright + screenType: all html-powered-by: title: HTML-powered by Mapbender class: Mapbender\CoreBundle\Element\HTMLElement - content: 'powered by Mapbender' + content: 'powered by Mapbender' classes: html-element-inline screenType: desktop about: diff --git a/application/config/applications/mapbender_user_basic.yaml b/application/config/applications/mapbender_user_basic.yaml index b6dfb1d8f..d4272b8a1 100644 --- a/application/config/applications/mapbender_user_basic.yaml +++ b/application/config/applications/mapbender_user_basic.yaml @@ -8,29 +8,68 @@ parameters: persistentView: false template: Mapbender\CoreBundle\Template\Fullscreen custom_css: | + :root { + --font-family: Ubuntu, Open Sans, Calluna Sans, Gill Sans MT, Calibri, Trebuchet MS, sans-serif; + --primary: #0087b9; + --button-background: #cad400; + --toolbar-background: #fff; + --toolbar-border-color: #cad400; + --text-color: #0087b9; + --font-size: 14px; + --bs-border-radius-sm: 1rem; + --toolbar-top-background: linear-gradient(0deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.9)); + --toolbar-bottom-background: linear-gradient(0deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.9)); + --panel-border-color: #cad400; + --bs-secondary-color: #0087b9; + --bs-body-color: #0087b9; + } + .-fn-toggle-selected i, .-fn-toggle-dimension i { + font-size: 0.8em; + } .toolBar.top { - border-bottom: 3px solid #279ddc; + border-bottom: 2 solid; + box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.2); + } + .toolBar .mb-button.toolBarItemActive { + background-color: var(--button-background); } .popup { border-radius: 10px; + border-color: var(--button-background); } .popupHead { - border-bottom: solid 1px #b9BABC; + border-bottom: solid 2px var(--button-background); margin: 0 20px 20px 20px; padding: 20px 0 10px 0; } + .btn-primary { + --bs-btn-bg: var(--button-background); + --bs-btn-border-color: var(--button-background); + } + .mb-3 { + margin-bottom: 0.2rem !important; + } + .me-1 { + margin-right: .2rem !important; + } + .mb-element-basesourceswitcher.toolBarItem .basesourcegroup, .mb-element-basesourceswitcher.toolBarItem .basesourcesetswitch { + background-color: color-mix(in srgb, var(--button-background), var(--button-background) 60%); + transition: all 0.2s ease-in-out; + border: solid 1px var(--panel-border-color); + } + regionProperties: - name: toolbar properties: item_alignment": right # left/right/center screenType: all # desktop/mobile/all - generate_button_menu: false # true/false + generate_button_menu: only_mobile # true/false no yes only_desktop only_mobile menu_label: NULL # NULL or text - name: sidepane properties: - name: accordion # tabs (for button) / accordion / NULL + name: accordion # tabs (for button) / accordion / list / NULL align: left # right/left - closed: false # true/false + closed: true # true/false no yes only_desktop only_mobile screenType: all # all/desktop/mobile width: "300px" resizable: true @@ -38,7 +77,7 @@ parameters: properties: item_alignment": right # right/left/center screenType: all # all/desktop/mobile - generate_button_menu: false # true/false + generate_button_menu: false # true/false no yes only_desktop only_mobile menu_label: NULL # NULL or text layersets: main: @@ -61,8 +100,31 @@ parameters: opacity: 100 isBaseSource: false toggle: true + #refreshInterval: 5 conferences: - selected: false + selected: true + fossgis_ogc_api_features: + type: ogc_api_features + title: FOSSGIS Konferenzen (via OGC API - Features) + jsonUrl: https://wms.wheregroup.com/cgi-bin/mapserv/ogcapidemo/ogcapi + layers: + 111: + collectionId: fossgis + title: FOSSGIS Konferenz-Standorte + tooltipPropertyMap: + - location: Standort + - year: Jahr + - country: Land + tooltipTemplate: ${name}
${location} + hoverStyle: + strokeColor: rgba(255,0,255,1) + strokeWidth: 20 + fillColor: rgba(255,0,255,0.2) + visible: true + selected: true + allowSelected: true + toggle: true + allowToggle: true fossgis: type: wms title: FOSSGIS Konferenzen @@ -158,7 +220,6 @@ parameters: active: false # if false, the layer is ignored (default: true) selected: true # initial state of the layer. (default: true) allowSelected: true # can the user change state in the layertree? If selected and allowSelected are both false, the layer is ignored. (default: true) - osm_fiord_color_vector_tiles: type: vector_tiles title: OSM Fiord Color Vector Tiles WhereGroup Demo @@ -222,7 +283,6 @@ parameters: tooltip: mb.core.basesourceswitcher.class.title class: Mapbender\CoreBundle\Element\BaseSourceSwitcher display: group - target: map instancesets: 1-basesourceswitcher: title: OSM (color) @@ -256,7 +316,7 @@ parameters: - osm_fiord_color_vector_tiles 7-basesourceswitcher: title: mb.demoapps.noBackground - group: mb.demoapps.baseMaps + group: null instances: [] layertree-button: class: Mapbender\CoreBundle\Element\ControlButton @@ -303,7 +363,6 @@ parameters: gps-button: class: Mapbender\CoreBundle\Element\GpsPosition label: false - target: map screenType: mobile poi-button: class: Mapbender\CoreBundle\Element\ControlButton @@ -326,17 +385,19 @@ parameters: label: false icon: iconPrint target: printclient - imageexport-button: class: Mapbender\CoreBundle\Element\ControlButton label: false icon: icon-image-export target: imageexport - shareUrl: class: Mapbender\CoreBundle\Element\ShareUrl label: false - + html-about-mapbender-button: + class: Mapbender\CoreBundle\Element\ControlButton + label: false + icon: iconHelp + target: html-about-mapbender content: map: class: Mapbender\CoreBundle\Element\Map @@ -350,9 +411,9 @@ parameters: otherSrs: ["EPSG:25832","EPSG:25833","EPSG:31466","EPSG:31467","EPSG:4326"] simplesearch: title: mb.core.simplesearch.class.title + screenType: all placeholder: mb.demoapps.search class: Mapbender\CoreBundle\Element\SimpleSearch - target: map anchor: right-top query_url: https://osm-photon-search.wheregroup.com/search/api?limit=20&lat=50.7163&lon=7.1366&osm_tag=!railway&osm_tag=!highway:elevator&osm_tag=!tourism&osm_tag=!amenity query_key: q @@ -375,13 +436,11 @@ parameters: icon_offset: '-6,-32' zoombar: class: Mapbender\CoreBundle\Element\ZoomBar - target: map components: ["rotation", "zoom_in_out", "zoom_max","zoom_home"] anchor: right-top draggable: false layertreedialog: class: Mapbender\CoreBundle\Element\Layertree - target: map type: dialog autoOpen: false showBaseSource: true @@ -415,14 +474,12 @@ parameters: allSelected: false legend: class: Mapbender\CoreBundle\Element\Legend - target: map elementType: dialog autoOpen: false showLayerTitle: true showGroupedLayerTitle: true featureinfo: class: Mapbender\CoreBundle\Element\FeatureInfo - target: map deactivateOnClose: false onlyValid: true displayType: accordeon @@ -443,14 +500,12 @@ parameters: strokeWidthHover: 5 wmsloader: class: Mapbender\WmsBundle\Element\WmsLoader - target: map autoOpen: false defaultFormat: 'image/png' defaultInfoFormat: 'text/html' splitLayers: false sketch: class: Mapbender\CoreBundle\Element\Sketch - target: map geometrytypes: - point - line @@ -464,10 +519,8 @@ parameters: allow_custom_color: false imageexport: class: Mapbender\PrintBundle\Element\ImageExport - target: map printclient: class: Mapbender\PrintBundle\Element\PrintClient - target: map templates: - { template: a4landscape, label: A4 Landscape} - { template: a4_landscape_offical, label: A4 Landscape Official} @@ -482,13 +535,11 @@ parameters: lineruler: title: mb.core.ruler.tag.line class: Mapbender\CoreBundle\Element\Ruler - target: map type: line strokeColor: 'rgba(51,153,204, 1)' arearuler: title: mb.core.ruler.tag.area class: Mapbender\CoreBundle\Element\Ruler - target: map type: area fillColor: 'rgba(254, 254, 254, 0.2)' strokeColor: 'rgba(51,153,204, 1)' @@ -498,7 +549,6 @@ parameters: strokeWidthWhileDrawing: 3 overview: class: Mapbender\CoreBundle\Element\Overview - target: map layerset: overview anchor: 'right-bottom' width: 300 @@ -506,21 +556,18 @@ parameters: screenType: desktop scalebar: class: Mapbender\CoreBundle\Element\ScaleBar - target: map anchor: 'right-bottom' maxWidth: 200 units: km screenType: desktop scaledisplay: class: Mapbender\CoreBundle\Element\ScaleDisplay - target: map anchor: right-top scalePrefix: Scale unitPrefix: true screenType: desktop coordinatesutility: class: Mapbender\CoreBundle\Element\CoordinatesUtility - target: map srsList: - name: 'EPSG:31466' @@ -541,14 +588,82 @@ parameters: zoomlevel: 6 poi: class: Mapbender\CoreBundle\Element\POI - target: map body: mb.demoapps.poi useMailto: false - copyright: - class: Mapbender\CoreBundle\Element\Copyright - title: Copyright - popupWidth: 700 - popupHeight: auto + interactivehelp: + class: Mapbender\CoreBundle\Element\InteractiveHelp + screenType: all + autoOpen: false + configuration: + intro: + title: mb.interactivehelp.intro.title + description: mb.interactivehelp.intro.description + chapters: + - title: mb.interactivehelp.applicationswitcher.title + description: mb.interactivehelp.applicationswitcher.description + type: Mapbender\CoreBundle\Element\ApplicationSwitcher + - title: mb.interactivehelp.basesourceswitcher.title + description: mb.interactivehelp.basesourceswitcher.description + type: Mapbender\CoreBundle\Element\BaseSourceSwitcher + - title: mb.interactivehelp.coordinatesdisplay.title + description: mb.interactivehelp.coordinatesdisplay.description + type: Mapbender\CoreBundle\Element\CoordinatesDisplay + - title: mb.interactivehelp.coordinatesutility.title + description: mb.interactivehelp.coordinatesutility.description + type: Mapbender\CoreBundle\Element\CoordinatesUtility + - title: mb.interactivehelp.dataupload.title + description: mb.interactivehelp.dataupload.description + type: Mapbender\CoreBundle\Element\DataUpload + - title: mb.interactivehelp.featureinfo.title + description: mb.interactivehelp.featureinfo.description + type: Mapbender\CoreBundle\Element\FeatureInfo + - title: mb.interactivehelp.gpsposition.title + description: mb.interactivehelp.gpsposition.description + type: Mapbender\CoreBundle\Element\GpsPosition + - title: mb.interactivehelp.layertree.title + description: mb.interactivehelp.layertree.description + type: Mapbender\CoreBundle\Element\LayerTree + - title: mb.interactivehelp.legend.title + description: mb.interactivehelp.legend.description + type: Mapbender\CoreBundle\Element\Legend + - title: mb.interactivehelp.overview.title + description: mb.interactivehelp.overview.description + type: Mapbender\CoreBundle\Element\Overview + - title: mb.interactivehelp.poi.title + description: mb.interactivehelp.poi.description + type: Mapbender\CoreBundle\Element\Poi + - title: mb.interactivehelp.printclient.title + description: mb.interactivehelp.printclient.description + type: Mapbender\PrintBundle\Element\PrintClient + - title: mb.interactivehelp.ruler.title + description: mb.interactivehelp.ruler.description + type: Mapbender\CoreBundle\Element\Ruler + - title: mb.interactivehelp.scaledisplay.title + description: mb.interactivehelp.scaledisplay.description + type: Mapbender\CoreBundle\Element\ScaleDisplay + - title: mb.interactivehelp.scaleselector.title + description: mb.interactivehelp.scaleselector.description + type: Mapbender\CoreBundle\Element\ScaleSelector + - title: mb.interactivehelp.sketch.title + description: mb.interactivehelp.sketch.description + type: Mapbender\CoreBundle\Element\Sketch + - title: mb.interactivehelp.srsselector.title + description: mb.interactivehelp.srsselector.description + type: Mapbender\CoreBundle\Element\SrsSelector + - title: mb.interactivehelp.wmsloader.title + description: mb.interactivehelp.wmsloader.description + type: Mapbender\WmsBundle\Element\WmsLoader + dataupload: + class: Mapbender\CoreBundle\Element\DataUpload + maxFileSize: 10 + helpText: mb.core.dataupload.admin.helpText + screenType: all + html-about-mapbender: + class: Mapbender\CoreBundle\Element\HTMLElement + classes: html-element-inline + title: mb.demoapps.about + screenType: all + openInline: false content: "

Learn more about Mapbender

@@ -568,18 +683,33 @@ parameters:

https://www.osgeo.org

" - autoOpen: false - dataupload: - class: Mapbender\CoreBundle\Element\DataUpload - target: map - maxFileSize: 10 - helpText: mb.core.dataupload.admin.helpText + html-OpenMapTiles-badge: + class: Mapbender\CoreBundle\Element\HTMLElement + classes: html-element-inline + screenType: mobile + openInline: true + anchor: right-bottom + content: " + © OpenMapTiles + " + title: © OpenMapTiles + tooltip: © OpenMapTiles + html-OSM-badge: + class: Mapbender\CoreBundle\Element\HTMLElement + classes: html-element-inline + screenType: mobile + openInline: true + anchor: right-bottom + content: " + © OpenStreetMap contributors + " + title: © OpenStreetMap contributors + tooltip: © OpenStreetMap contributors footer: activityindicator: class: Mapbender\CoreBundle\Element\ActivityIndicator coordinates: class: Mapbender\CoreBundle\Element\CoordinatesDisplay - target: map label: false empty: "x: - y: -" prefix: "x: " @@ -588,15 +718,9 @@ parameters: screenType: desktop scaleselector: class: Mapbender\CoreBundle\Element\ScaleSelector - target: map screenType: desktop srs: class: Mapbender\CoreBundle\Element\SrsSelector - target: map - screenType: desktop - applicationswitcher: - class: Mapbender\CoreBundle\Element\ApplicationSwitcher - applications: [mapbender_user, mapbender_user_basic] screenType: desktop OpenMapTiles-badge: title: © OpenMapTiles @@ -604,25 +728,30 @@ parameters: class: Mapbender\CoreBundle\Element\LinkButton label: true click: https://openmaptiles.org/ + screenType: desktop OSM-badge: title: © OpenStreetMap contributors tooltip: © OpenStreetMap contributors class: Mapbender\CoreBundle\Element\LinkButton label: true click: https://www.openstreetmap.org/copyright + screenType: desktop copyright-button: class: Mapbender\CoreBundle\Element\ControlButton icon: iconCopyright label: false target: copyright + screenType: all html-powered-by: title: HTML-powered by Mapbender class: Mapbender\CoreBundle\Element\HTMLElement - content: 'powered by Mapbender' + content: 'powered by Mapbender' classes: html-element-inline - screenType: desktop + screenType: all about: title: mb.core.aboutdialog.tag.about tooltip: mb.core.aboutdialog.tag.about label: false class: Mapbender\CoreBundle\Element\AboutDialog + screenType: desktop +