Skip to content

Agriculture map

profile: "agriculture" is a composition preset, not a style. Prefer muted so customer markers stay the loudest thing on the page. Buildings are hidden via the existing layer groups.

live result
the code that produced it
import { Unmap } from "@unmap/sdk";

const unmap = new Unmap({
  key: "um_live_...",
  container: "map",
  style: "muted",
  profile: "agriculture",
  center: [-113.5, 52.1],
  zoom: 8,
});

Overlay archives are copied locally and wait on R2 upload, so those tile requests 404 and the basemap still renders. A key without the agriculture add-on still gets the basemap; asking for an agriculture overlay explicitly is 403 addon_required. Legal-land search and ParcelMap BC PID search / identify (survey.parcels) are shipped; they stay empty until the Land bake includes parcels.copy.

import { Unmap } from "@unmap/sdk";
 
const unmap = new Unmap({
  key: "um_live_...",
  container: "map",
  style: "muted",
  profile: "agriculture",
  center: [-113.5, 52.1],
  zoom: 8,
});

When you also pass overlays=, that list replaces the profile set. Agriculture profile and Layers have the catalog and the entitlement contract.