Informant

Map icons and Places API

Use the same artwork as the GTA 6 map. Each place category has a pin for its location and a square for search results and lists.

See the icons on the map

Hospital square Hospital pin

Show Vice Beach Hospital on the map to see its selected pin and move between the other hospital results.

Place categories start switched off. To show a whole category, open the map search, expand Local Places and check Hospitals. Searching for a place shows matching pins even when its category is off.

Use the icons in your app

The Places API supports public, cross-origin GET requests without an API key. All icon paths in its JSON responses are relative to https://informant.gg.

  • GET /api/places/icons returns the artwork manifest. Join its items[].id to a place’s categoryId.
  • GET /api/places/categories lists categories and place counts. GET /api/places?q=hospital searches places. Each includes both icon URLs.
  • Use pinIconUrl for map markers. The SVG is 24 × 24 with its tip at (12, 24). Keep the anchor at bottom center when you scale it.
  • Use squareIconUrl for menus and cards. The existing iconUrl field also serves the square.
JavaScript
const base = "https://informant.gg";
const response = await fetch(new URL("/api/places/hospital-001", base));
if (!response.ok) throw new Error("Place lookup failed");

const place = await response.json();
const markerImage = new URL(place.pinIconUrl, base).href;
const listImage = new URL(place.squareIconUrl, base).href;

Update the artwork

To replace a category’s art in the site repository, use its manifest ID as the filename. For hospitals, replace square/hospital.svg and pin/hospital.svg under apps/web/public/api/places/icons/. Keeping those paths lets apps pick up the replacement on their next fetch after their cached copies expire.

For a new category, add both SVGs and an entry in apps/web/src/modules/places/catalog/artwork.json using the category ID from the Places API. Deploy the web app and check both files in the gallery below. Published icons can be cached for one hour.