Pricing Docs About
Get Started
Ready to start creating map animations? Get Started Free →

Region Focus Mode

Zooms into a specific geographic region without route animation. Perfect for highlighting locations, chokepoints, or areas of interest.

Basic Example

{
  "mode": "region_focus",
  "region_focus": {
    "center": { "lat": 30.0444, "lng": 31.2357 },
    "name": "Suez Canal",
    "start_zoom": 2,
    "end_zoom": 8,
    "rotation_degrees": 15
  },
  "style": "satellite",
  "duration": 10
}

Region Focus Settings

PropertyTypeRequiredDescription
centerobjectrequired{ lat, lng } - Focus point coordinates
namestringoptionalRegion name (displayed on map)
start_zoomnumberoptionalStarting zoom level (default: 2)
end_zoomnumberoptionalEnding zoom level (default: 5)
rotation_degreesnumberoptionalCamera rotation angle (default: 0)

Region Labels

Add labels to identify surrounding areas or features:

{
  "mode": "region_focus",
  "region_focus": {
    "center": { "lat": 30.0444, "lng": 31.2357 },
    "name": "Suez Canal"
  },
  "region_labels": [
    { "text": "Mediterranean Sea", "lat": 32.5, "lng": 30.0 },
    { "text": "Red Sea", "lat": 25.0, "lng": 35.0 },
    { "text": "Port Said", "lat": 31.25, "lng": 32.3, "emphasis": "waypoint" }
  ]
}

Label Properties

PropertyTypeDescription
textstringLabel text
latnumberLatitude position
lngnumberLongitude position
emphasisenumstandard, waypoint, chokepoint

Custom Label Styling

{
  "region_labels": [
    {
      "text": "Strait of Hormuz",
      "lat": 26.5,
      "lng": 56.5,
      "emphasis": "chokepoint",
      "style": {
        "text_color": "#FFFFFF",
        "background_color": "rgba(230, 57, 70, 0.8)",
        "font_size": 16,
        "font_weight": "bold"
      }
    }
  ]
}

Use Cases

Recommended Styles

StyleBest For
satelliteReal-world imagery, terrain detail
satellite-streetsImagery with place names
geopoliticsCountry boundaries, political context
outdoorsTopographic features, elevation

Complete Example

{
  "mode": "region_focus",
  "region_focus": {
    "center": { "lat": 26.5667, "lng": 56.25 },
    "name": "Strait of Hormuz",
    "start_zoom": 2,
    "end_zoom": 9,
    "rotation_degrees": 20
  },
  "region_labels": [
    { "text": "Persian Gulf", "lat": 27.5, "lng": 51.5 },
    { "text": "Gulf of Oman", "lat": 24.5, "lng": 58.5 },
    { "text": "Iran", "lat": 28.5, "lng": 54.0 },
    { "text": "UAE", "lat": 24.5, "lng": 54.0 },
    { "text": "Oman", "lat": 23.5, "lng": 57.5 }
  ],
  "style": "satellite",
  "duration": 12,
  "terrain": {
    "enabled": true,
    "exaggeration": 1.5
  },
  "text_overlays": [
    {
      "text": "20% of global oil passes through here",
      "position": "bottom-center",
      "start_time": 6,
      "font_size": 28,
      "animation": "fade"
    }
  ]
}