Release 3.4
Embedded Project Map
Ported ordering portal map embed behavior to the new code location in 3.4.0
Overview
v3.4.0 ported the embedded project map behavior from the old customer portal into the Ordering Portal codebase (ordering/), creating a cleaner read-only map embed with a location banner.
What Changed
New Mobile Interaction Control
A new mobileInteractionPrompt Stimulus value (boolean, default true) was added to the Leaflet map controller. The touch-to-interact overlay is now conditional on this flag rather than firing on every mobile device. The embedded map sets it to false to remove the overlay entirely.
Embedded Map Template Overhaul
The map_embed.html.twig template received the main changes:
- Location banner - a styled floating banner displays the project address, parcel SPI, or "Project" as a fallback label ("Showing location for: {address}")
- Simplified mode -
showPopup,mapshareEnabled, andshowParcelsare all set tofalse, making the embed a simple location viewer rather than an interactive parcel explorer - No mobile prompt -
mobileInteractionPrompt: falseprevents the touch overlay
Files Touched
| File | Change |
|---|---|
ordering/assets/controllers/leaflet_map_controller.js | Modified - added mobileInteractionPrompt value |
ordering/templates/components/_leaflet_map.html.twig | Modified - wired new parameter |
ordering/templates/customer/projects/map_embed.html.twig | Modified - banner, simplified flags |
Changelog Reference
fix(ordering): port embedded project map behavior(6ddcfca)