Skip to content

feat: live Raid & Gym map from Golbat scanner #124

@hokiepokedad2

Description

@hokiepokedad2

Description

Add a live raid/gym map showing active raids, gym control, and available slots, powered by Golbat's combined fort scan API.

API Endpoints (Golbat)

  • POST /api/fort/scan — Combined scan returning gyms + pokestops + stations in one rtree traversal
  • POST /api/gym/scan — Gym-only scan with DNF filters
  • POST /api/gym/search — Search gyms by name, description, location+distance, bounding box

Combined fort scan response:

{
  "gyms": [...],
  "pokestops": [...],
  "stations": [...],
  "examined": N,
  "skipped": N,
  "total": N
}

Gym DNF filter fields: available_slots, team_id, raid_level, raid_pokemon_id (with form)

Gym result includes: Raid details (pokemon, level, moves, CP, start/end times), team control, available slots, EX eligibility, power-up level, defenders list.

User Value

See at a glance what raids are happening, which gyms have open slots, and team control — without waiting for notifications. Complements the live Pokemon map for a full real-time game overview.

Investigation Needed

  • Same Golbat infrastructure prerequisites as feat: live Pokemon map from Golbat scanner #123
  • Requires fort_in_memory=true in Golbat config for scan endpoints
  • Gym icon rendering — team colors, raid eggs, raid boss sprites
  • Station/Max Battle markers alongside gyms
  • Filter options: raid level, raid boss, team, slots available

Implementation Scope

  • Extend IGolbatApiProxy with fort/gym scan methods
  • New Angular module or tab within live-map module
  • Gym markers with team-colored icons and raid overlay
  • Raid countdown timers
  • Filter panel for raid level, specific bosses, team
  • Station markers for Max Battles (ties into feat: Max Battle (Dynamax) tracking alarms #118)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions