Retrieve embeddable HTML for a Mapbox style that can be embedded in an iframe. Returns a complete HTML document with Mapbox GL JS code that renders an interactive map with the specified style. Useful for quickly embedding Mapbox maps into web pages without custom JavaScript code.
titlestringDisplay a title box at the bottom of the map: 'copy' shows a button to copy the style to your account, 'view' shows a sign-up button. Leave null to hide the title box.
styleIdRequiredstringStyle ID for which to return the embeddable HTML. Common Mapbox styles include streets-v12, satellite-streets-v12, outdoors-v12, light-v11, and dark-v11.
fallbackbooleanServe a fallback raster map (true) or not (false).
usernameRequiredstringMapbox account username that owns the style. Use 'mapbox' for Mapbox's standard public styles like streets-v12, satellite-v9, etc.
zoomwheelbooleanEnable mouse-wheel zoom (true) or disable (false).
mapboxGLVersionstringSpecific version of Mapbox GL JS library to use (e.g., '3.0.0'). Leave null to use the default latest stable version.
mapboxGLGeocoderVersionstringSpecific version of the Mapbox GL Geocoder plugin for the search box (e.g., '5.0.0'). Leave null to use the default version.
dataRequiredData from the action execution
errorstringError if any occurred during the execution of the action
successfulRequiredbooleanWhether or not the action execution was successful or not
API key connection. Risk level 2 of 5.
Free Action
No published Skills explicitly reference this Action yet.