web_gmap_route Shortcode

The web_gmap_route shortcode renders the route component.

The attributes below match the current Page Builder controls and public output. Use raw syntax only for reviewed content that cannot be maintained through the visual controls.

Allowed parent shortcodes: web_gmap.

Usage

[web_gmap_route]

Attributes

Attribute Default Accepted values Purpose
travel_mode DRIVING DRIVING, WALKING, BICYCLING, TRANSIT Controls the travel mode.
route_color 1 String unless stated otherwise Controls the route color.
markers String unless stated otherwise Controls the markers.
marker String unless stated otherwise Controls the markers.

Google Maps requirement

Configure Google Maps under Settings → POM Theme → Integrations → Google Maps before using this component.

Output and safety

This element supplies route data to its parent map and does not render an independently visible frontend component, so device visibility does not apply.

Keep the route inside web_gmap, verify the marker order and travel mode, and make essential directions available as text.