Skip to main content

drawnMarks

[
  [
    "12",
    -94.714,
    39.297,
    32,
    "https://sdv.nyc3.cdn.digitaloceanspaces.com/assets/public/sha256/3d/3d77958dc6373768919bb2681cbe1b143f56c07a1f013460def665a5026a7f3d.png"
  ]
]
import { loadLeague } from "@sportsdataverse/sdvplot";
import { drawnMarks, logoSymbols } from "@sportsdataverse/sdvplot/maplibre";

await loadLeague("nfl");
// 12 is Kansas City's ESPN team id
drawnMarks(logoSymbols([{ team: 12, lon: -94.714, lat: 39.297 }], { x: "lon", y: "lat", team: "team", league: "nfl" }));

Tags: docstring · drawnMarks. All sdvplot examples.