Skip to content

enhancements in mapbender_user application for version 5#170

Open
astroidex wants to merge 1 commit into
developfrom
feature/demo-applications-for-version-5
Open

enhancements in mapbender_user application for version 5#170
astroidex wants to merge 1 commit into
developfrom
feature/demo-applications-for-version-5

Conversation

@astroidex
Copy link
Copy Markdown
Member

  • first changes to support all new elements in mapbender_user application
  • can be used for further testing

@astroidex astroidex added this to the 5.0.0 milestone May 8, 2026
wmsloader:
class: Mapbender\WmsBundle\Element\WmsLoader
target: map

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please remove the empty lines (for all spacing within element definitions, not just here)

interactivehelp:
class: Mapbender\CoreBundle\Element\InteractiveHelp
screenType: desktop
autopen: true
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
autopen: true
autoOpen: true

typo: an o is missing. Up for discussion: Maybe set autoOpen to false (and make it triggerable via button in the toolbar)? It might be a bit annoying when it opens everytime in the demo app.

element_icon: iconPrint
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
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the hardcoded lat/lon feels wrong to me. This might be a feature request, but is there already a possibility to add the current viewport as simple search parameters?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants