OmniMap

High-speed spatial pin grid & clustering, zero-idle recycled map pins & CrazyArrow waypoints, Dijkstra portal/flight/boat routing, 2-opt TSP route optimizer, and drop-in HereBeDragons, LibTourist & TomTom compatibility bridges.

OmniMap (LibOmniMap-1.0) — Spatial Pin Grid, Zero-Idle Waypoints, Dijkstra Router & Legacy Map Bridges

#7 in the Omni* Library Suite (OmniSync, OmniBase, OmniFlow, OmniHUD, OmniUI, OmniSearch, OmniMap): OmniMap (LibOmniMap-1.0) is a high-speed Spatial Hash Pin Grid & Clustering, Zero-Idle Recycled Pin & CrazyArrow Waypoint, Multi-Flavor Coordinate & Zone Math, Dijkstra Inter-Zone Travel Graph, and Nearest-Neighbor + 2-Opt TSP Route Optimizer library. Built in strict Lua 5.1 with zero global leaks, standalone OmniMap stays 100% invisible and silent on login (0 chat lines, 0 minimap buttons, 0 auto-LDB/Compartment/Settings clutter, and 0 idle OnUpdate scripts) and shields all Midnight 12.0+ Secret Values via SecretGuard.

Addon Authors: Upgrade Your Existing Addon in 1 Click (Zero Handler Rewrites)

1-Click Browser Converter Studio: https://fishingbuddyforever.com/Omnimap

  • Drop-In Compatibility Facades: Replace HereBeDragons-2.0, HereBeDragons-Pins-2.0, LibTourist-3.0, and TomTom with one zero-idle LibStub("LibOmniMap-1.0") dependency via built-in facades (CreateLegacyBridge, GetHereBeDragons, GetHereBeDragonsPins, GetLibTourist, GetTomTomFacade, EmbedLegacyMap) plus OmniMapBridge-1.0.
  • Offline CLI & In-Game Converter: Run migrate_to_omnimap.py --mode hybrid locally or run /omap convert inside World of Warcraft to open the 1-click browser converter studio.
  • Required Dependency Policy (All Rights Reserved): OmniMap is proprietary and non-embeddable — third-party addon makers may not bundle LibOmniMap-1.0 files and must list standalone OmniMap as a Required Dependency on CurseForge (under Project/File Relations) in addition to ## Dependencies: OmniMap in their .toc.

Supported World of Warcraft Clients

Client Flavor TOC Interface(s) Engine Highlights
Retail / Midnight 12.x 120107, 120105, 120100, 120005, 120001, 120000 Live C_Map projection + Midnight SecretGuard (issecretvalue / canaccessvalue) protection
WoW Forever 1.60.1 16001 Multi-flavor zone & world coordinate math, ruleset-safe state & zero idle OnUpdate
TBC Anniversary 20506, 20505 Cross-client coordinate projection, spatial pin grid & portal/flight/boat routing
Classic Era 11509, 11508 Classic no-C_Map coordinate fallback, recycled pins & event-driven CrazyArrow
Mists / Cata / Wrath Classic 50504, 50503, 40402, 38002, 30405 Multi-TOC flavor detection & unified legacy map bridge support

Complete Feature List

  1. Secret-Safe Multi-Flavor Coordinate & Zone Math: GetZoneInfo, GetZoneSize, GetPlayerZone, GetPlayerZonePosition, GetPlayerWorldPosition, GetWorldCoordinatesFromZone, GetZoneCoordinatesFromWorld, GetZoneDistance, GetWorldVector, GetAllMapIDs, GetContinentID, and IsInstanceMap.
  2. O(1) Spatial Hash Grid & Clustering: CreateSpatialIndex(cellSize) supporting :Insert, :Remove, :Update, :QueryRadius, :QueryViewport, and :Cluster with O(1) cell-bucket lookups.
  3. Zero-Idle Recycled Pin Pool & Event-Driven CrazyArrow Waypoints: Frame-pooled AcquirePin / ReleasePin / ReleaseAllPins, AddWaypoint / RemoveWaypoint / ClearWaypoints, and GetCrazyArrowState driven purely by WoW map & zone events (PLAYER_ENTERING_WORLD, ZONE_CHANGED_NEW_AREA, NEW_WMO_CHUNK, MINIMAP_UPDATE_ZOOM) with 0 idle OnUpdate scripts.
  4. Inter-Zone Dijkstra Travel Graph & 2-Opt TSP Route Optimizer: Built-in Azeroth, Outland, Northrend, Dragon Isles, and Khaz Algar portal/flight/boat/tram graph (RegisterPortalEdge, FindTravelPath) plus OptimizeRoute(waypoints, startPoint) using Nearest-Neighbor + 2-opt refinement.
  5. 4-Tab In-Game Studio & Live Benchmark Suite (/omap): Interactive tabs for Map Explorer, Pins & Spatial, Route Optimizer, and Bridges, staying completely silent & invisible until opened.

Quickstart (Required Dependency Policy)

-- 1. Add "## Dependencies: OmniMap" to your addon's .toc (never bundle LibOmniMap-1.0)
local Map = LibStub("LibOmniMap-1.0")

-- Spatial Hash Pin Index & Clustering
local grid = Map:CreateSpatialIndex("MyPins", { cellSize = 0.05 })
grid:Insert({ id = "node1", mapID = 37, x = 0.42, y = 0.65 })
local nearby = grid:QueryRadius(37, 0.45, 0.65, 0.10)

-- Event-Driven Waypoint & 2-Opt Route Optimization
Map:AddWaypoint(37, 0.55, 0.65, { title = "Goldshire", crazy = true })
local path = Map:FindTravelPath(52, 2112)
local best = Map:OptimizeRoute(waypoints, { mapID = 37, x = 0.42, y = 0.65 })

-- 1-Line Legacy Drop-In Bridges (HereBeDragons / LibTourist / TomTom)
local HBD = Map:GetHereBeDragons()
local Tourist = Map:GetLibTourist()
local TomTom = Map:GetTomTomFacade()

Slash Commands

  • /omap or /omnimap — Toggle the 4-tab OmniMap Studio UI
  • /omap explorer, /omap spatial, /omap router, /omap bridges — Open a specific Studio tab directly
  • /omap way <x> <y> [title] & /omap clear — Add or clear CrazyArrow waypoints in your current zone
  • /omap route <fromMapID> <toMapID> — Compute multi-hop portal/flight/boat travel paths
  • /omap bench & /omap stats — Run spatial/TSP/Dijkstra benchmarks or print active library & SecretGuard stats
  • /omap convert — Open the 1-Click Addon Converter Studio URL popup (https://fishingbuddyforever.com/Omnimap)

License: All Rights Reserved (c) 2026 XyGoT — Standalone Distribution Only.

OmniMap Team

profile avatar
Owner
Forgeborn tier icon
  • 1
    Followers
  • 14
    Projects
  • 117.1K
    Downloads

More from XyGoTView all

  • OmniFlow project image

    OmniFlow

    Drop-in replacement for AceTimer-3.0, AceEvent-3.0, AceBucket-3.0 & LibAsync: O(1) pooled timing wheel (-99.6% GC churn), 40x fewer raid Lua wakeups via C++ RegisterUnitEvent, adaptive ZeroSpike coroutines, Midnight SecretGuard & 0 idle CPU.

    • 4.8K
    • December 6, 2026
  • OmniSync project image

    OmniSync

    Zero-dependency player-to-player state syncing library & studio: CRDTs, 1-packet IBLT reconciliation, rateless Fountain multicast, Trickle suppression, Dead-Drops & BNet mesh.

    • 9.3K
    • December 6, 2026
  • Fishing Buddy Forever project image

    Fishing Buddy Forever

    Fishing Buddy Forever - The actively maintained, modernized Fishing Buddy overhaul featuring double-click Easy Cast, smart auto-luring, one-click outfit swapping, and live catch tracking—updated fast for every patch.

    • 64.6K
    • December 6, 2026
  • Smartbite project image

    Smartbite

    Smart food buff selector for WoW Forever - auto-picks the best bag food for your Class, Spec, Role & Activity while saving Raid BiS.

    • 141
    • December 6, 2026
  • OmniFlow project image

    OmniFlow

    Drop-in replacement for AceTimer-3.0, AceEvent-3.0, AceBucket-3.0 & LibAsync: O(1) pooled timing wheel (-99.6% GC churn), 40x fewer raid Lua wakeups via C++ RegisterUnitEvent, adaptive ZeroSpike coroutines, Midnight SecretGuard & 0 idle CPU.

    • 4.8K
    • December 6, 2026
  • OmniSync project image

    OmniSync

    Zero-dependency player-to-player state syncing library & studio: CRDTs, 1-packet IBLT reconciliation, rateless Fountain multicast, Trickle suppression, Dead-Drops & BNet mesh.

    • 9.3K
    • December 6, 2026
  • Fishing Buddy Forever project image

    Fishing Buddy Forever

    Fishing Buddy Forever - The actively maintained, modernized Fishing Buddy overhaul featuring double-click Easy Cast, smart auto-luring, one-click outfit swapping, and live catch tracking—updated fast for every patch.

    • 64.6K
    • December 6, 2026
  • Smartbite project image

    Smartbite

    Smart food buff selector for WoW Forever - auto-picks the best bag food for your Class, Spec, Role & Activity while saving Raid BiS.

    • 141
    • December 6, 2026