立即开始
Geoapify Tools

Geoapify Get Static Map

通过 Aident Loadout 使用 Geoapify Tools 的 Geoapify Get Static Map。执行前查看输入、输出、设置、价格和风险。

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

服务提供商说明

Tool to generate static map images with customizable style, size, center, zoom, markers, and geometries. Use when you need a map image for display or printing.

价格与限制

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

输入

  • areastring
    Bounding box to fit the map view in format 'rect:lon1,lat1,lon2,lat2'. The map automatically adjusts center and zoom to fit this area. Cannot be used with center/zoom.
  • zoom
    Map zoom level (0-20). Higher values show more detail. Required when using center parameter.
  • stylestring
    必填
    Map style to use. Options: osm-carto (OpenStreetMap Carto), osm-bright (OSM Bright), positron (light base map), dark-matter (dark base map), and others.
  • widthinteger
    必填
    Image width in pixels (1-4096). For high-resolution images with scaleFactor > 1, the effective width should not exceed 4096 pixels.
  • centerstring
    Map center coordinates in format 'lonlat:longitude,latitude' (e.g., 'lonlat:2.3522,48.8566' for Paris). Required unless area, marker, geometry, or geojson is specified.
  • formatstring
    Output image format. Options: 'png' (default, supports transparency), 'jpeg' (smaller file size).
  • heightinteger
    必填
    Image height in pixels (1-4096). For high-resolution images with scaleFactor > 1, the effective height should not exceed 4096 pixels.
  • markerstring
    Marker definition(s) in format 'lonlat:lon,lat;color:hex;size:small|medium|large;type:awesome|material'. Multiple markers can be separated by '|'. Example: 'lonlat:2.35,48.85;color:#ff0000;size:medium|lonlat:2.36,48.86;color:#0000ff'.
  • geojsonstring
    GeoJSON Feature or FeatureCollection (URL-encoded, max 1024 chars). Features can have properties: fillColor, fillOpacity, lineColor, lineWidth, lineOpacity. The map view automatically adjusts to fit the GeoJSON bounds.
  • geometrystring
    Geometry to display on the map (lines, polygons, circles, rectangles). Format: 'type:geometry_definition;color:hex;width:number'. Types: polyline, polygon, circle, rect. Example: 'polyline:2.35,48.85,2.36,48.86,2.37,48.87;color:#0000ff;width:3'.
  • scaleFactorinteger
    Resolution multiplier for high-quality/print images (1-8). Default is 1. Use 2 for retina displays. Higher values (up to 8) available for print media.

可观察输出

  • 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

使用此操作的技能

相关使用场景

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

官方来源

服务提供商来源