立即开始
Mapbox Tools

Mapbox Request Style Embed Html

通过 Aident Loadout 使用 Mapbox Tools 的 Mapbox Request Style Embed Html。执行前查看输入、输出、设置、价格和风险。

写入操作风险等级 2/5API 密钥连接

服务提供商说明

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.

价格与限制

价格
免费操作
统一支付
暂不支持

输入

  • titlestring
    Display 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.
  • styleIdstring
    必填
    Style ID for which to return the embeddable HTML. Common Mapbox styles include streets-v12, satellite-streets-v12, outdoors-v12, light-v11, and dark-v11.
  • fallbackboolean
    Serve a fallback raster map (true) or not (false).
  • usernamestring
    必填
    Mapbox account username that owns the style. Use 'mapbox' for Mapbox's standard public styles like streets-v12, satellite-v9, etc.
  • zoomwheelboolean
    Enable mouse-wheel zoom (true) or disable (false).
  • mapboxGLVersionstring
    Specific version of Mapbox GL JS library to use (e.g., '3.0.0'). Leave null to use the default latest stable version.
  • mapboxGLGeocoderVersionstring
    Specific version of the Mapbox GL Geocoder plugin for the search box (e.g., '5.0.0'). Leave null to use the default version.

可观察输出

  • data
    必填
    Data from the action execution
  • errorstring
    Error if any occurred during the execution of the action
  • successfulboolean
    必填
    Whether or not the action execution was successful or not

使用此操作的技能

相关使用场景

尚未关联经过验证的相关使用场景。

官方来源

服务提供商来源