Commencer maintenant
Mapbox Tools

Mapbox Get Static Image

Utilisez Mapbox Get Static Image avec Mapbox Tools via Aident Loadout. Vérifiez les entrées, sorties, la configuration, le tarif et le risque avant exécution.

Action d'écritureNiveau de risque 2 sur 5Connexion par clé API

Description du fournisseur

Request a static map image from a Mapbox Studio style. Returns a PNG or JPEG image of the specified map area with customizable parameters including location, zoom level, camera angle, and optional overlays like markers or GeoJSON features. Use when you need to generate static ma…

Tarifs et limites

Tarif
Action gratuite
Paiement unifié
Non pris en charge actuellement

Entrées

  • latnumber
    Obligatoire
    Latitude coordinate for the center of the map image, must be between -85.0511 and 85.0511 (Web Mercator limits).
  • lonnumber
    Obligatoire
    Longitude coordinate for the center of the map image, must be between -180 and 180.
  • zoomnumber
    Obligatoire
    Zoom level for the map, must be between 0 (world view) and 22 (maximum detail).
  • pitchnumber
    Camera pitch (tilt) in degrees, must be between 0 (looking straight down) and 60 (maximum tilt). Default is 0.
  • widthinteger
    Obligatoire
    Image width in pixels, must be between 1 and 1280.
  • heightinteger
    Obligatoire
    Image height in pixels, must be between 1 and 1280.
  • retinaboolean
    Request a retina (@2x) resolution image. When true, returns an image with double the specified width and height for high-DPI displays. Default is false.
  • bearingnumber
    Camera bearing (rotation) in degrees, must be between 0 and 359. Default is 0 (north-up).
  • overlaystring
    Optional overlay to add to the map, such as GeoJSON features, markers, paths, or polygons. Must be properly URL-encoded. Examples: markers (pin-s-l+f00(lon,lat)), GeoJSON (geojson({...})), paths (path-5+f00-0.5(...)).
  • style_idstring
    Obligatoire
    Unique identifier of the style to use for the map. Common Mapbox styles include: 'streets-v12' (detailed street map), 'dark-v11' (dark theme), 'light-v11' (light theme), 'satellite-v9' (satellite imagery), 'outdoors-v12' (topographic), 'navigation-day-v1', 'navigation-night-v1'.
  • usernamestring
    Obligatoire
    Mapbox account username that owns the style. Use 'mapbox' for official Mapbox styles like 'streets-v12', 'dark-v11', 'light-v11', 'satellite-v9'.

Sortie observable

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

Skills qui utilisent cette Action

Cas d’usage associés

Aucun cas d’usage associé et vérifié pour le moment.

Source officielle

Source du fournisseur