Map height
Both map blocks (interactive and static) take a Height parameter (Text):
Set the height of the map in pixels ("300px"), percentage ("100%") or viewport height ("100vh"). If the value is empty, the map fits to the parent height.
If using percentages, make sure the map has a parent with a fixed height value, otherwise its height will be 0 (zero).
The value is applied to a CSS variable used by the component's container, so it can also be overridden from your CSS theme.
Examples
Theme override — target the map container and set the height (or the variable) in your theme:
.map-container {
height: 500px;
width: 100%;
}
This matches the height behaviour of OutSystems Maps, so screens can be laid out the same way.
Static map block
The static map is now sized from its container instead of fixed pixel inputs, and it takes a coordinates value for the center.
Inputs
Input
Type
Notes
ApiKey
Text
HERE key (a domain-restricted browser key is fine — see Keys)
Center
Coordinates
Map center (latitude + longitude)
Zoom
Integer
Zoom level
Height
CSS height, as described above
Behaviour
The block requests the map image at the container's actual rendered size (accounting for high-DPI screens), so the image is crisp and fills the area. When the container resizes, the image re-fits automatically. No pixel dimensions are specified by hand.
Migrating from the previous static map
Before
Now
Latitude + Longitude
Center (coordinates)
WidthPx + HeightPx
Height (CSS) — resolution is derived from the container
To migrate a screen: build a Center from the old latitude/longitude and bind it; remove WidthPx/HeightPx and set Height (e.g. "300px", "100%", or empty to fit the parent).
A Reactive Web/Mobile component to embed HERE maps in OutSystems 11: an interactive map (pan/zoom), markers, an info bubble, turn-by-turn routing (HERE Routing v8), map events, plus geocoding (address ↔ coordinates) and static map images. It builds on the HERE Maps API for JavaScript, loaded on demand from HERE's CDN.
Requirements
Quick start
The HERE_Map block
Events
Actions
All take the map object captured from the map-ready event.
Action
Purpose
Map_GetCenter
Current center (Lat/Lng)
Map_SetCenter
Recenter the map
Map_SetZoom
Set zoom level
Map_Resize
Re-fit after the container becomes visible (hidden tab/modal)
Map_AddMarker
Add a marker — custom icon (SVG or URL), optional recenter, optional tap bubble
Map_RemoveMarker / Map_ClearMarkers
Remove one / all added markers
Map_ShowInfoBubble / Map_HideInfoBubble
Show (single, repositioning) / hide the info bubble
Map_ShowRoute
Draw a route between two waypoints; returns a structured route
Map_ClearRoute
Remove the current route
Routing
Map_ShowRoute takes an Origin and Destination waypoint (each a label + position) and draws the route on the map. It returns a Route you can bind directly:
Enable maneuver markers to drop a pin per step; tapping one recenters and shows its instruction in the bubble.
Geocoding & static map
Use a separate, server-side HERE key for these (not the domain-restricted map key). A key restricted by Trusted Domains returns 401 "not from an authorized source" on server-side REST calls, because those have no browser origin to match.