Skip to content

PointSav Documentation

The engineering library for the PointSav platform — operating systems and services for regulated businesses that own their data, their AI, and their record-keeping outright. Where the monorepo holds the code, this wiki holds the reasoning: architecture, services, security, and the governance commitments that bind future development.

Build a co-location map

Prerequisites

  • A web project with MapLibre GL JS v3 or later loaded
  • The pmtiles JS library, for reading the PMTiles tile archive format
  • The URL of your deployment's PMTiles archive (or its Martin tile-server endpoint, if your deployment generates tiles dynamically)

Purpose

Render tier-coloured co-location clusters on a MapLibre map — the real architecture is a flat-file tile archive read directly by the browser, not a live REST API you authenticate against. There's no API key, no token exchange, and no per-request billing to plan around.

Procedure

  1. Register the PMTiles protocol handler with MapLibre before creating your map:

    import maplibregl from 'maplibre-gl';
    import { Protocol } from 'pmtiles';
    
    const protocol = new Protocol();
    maplibregl.addProtocol('pmtiles', protocol.tile);
    
  2. Initialize the map, giving its container element an explicit CSS height — an unsized container renders at zero height:

    const map = new maplibregl.Map({
      container: 'map',
      style: '<your-basemap-style-url>',
      center: [-98.5, 39.5],
      zoom: 4,
    });
    
  3. Add the cluster archive as a pmtiles:// source once the map has loaded:

    map.on('load', () => {
      map.addSource('clusters', {
        type: 'vector',
        url: 'pmtiles://<your-deployment-pmtiles-url>',
      });
    

    If your deployment generates tiles dynamically instead of serving a pre-baked archive, point a type: 'vector' source at your Martin tile-server endpoint's tiles.json URL instead — the rest of this guide is identical either way.

  4. Add the tier-coloured circle layer, referencing the source layer name your archive actually uses:

      map.addLayer({
        id: 'cluster-circles',
        type: 'circle',
        source: 'clusters',
        'source-layer': '<your-source-layer-name>',
        paint: {
          'circle-color': [
            'match', ['get', 'tier'],
            'T1', '#2563eb',
            'T2', '#7c3aed',
            /* T3 */ '#6b7280',
          ],
          'circle-radius': [
            'match', ['get', 'tier'],
            'T1', 12,
            'T2', 9,
            /* T3 */ 6,
          ],
          'circle-opacity': 0.85,
        },
      });
    });
    

Expected outcome

Cluster markers render on the map, colour- and size-coded by tier — T1 largest and most prominent, T3 smallest — with no authentication step anywhere in the flow.

Verification

Confirm markers appear at the expected zoom level and that clicking or hovering one shows a tier value matching its rendered colour. If nothing renders, check the browser console for a PMTiles fetch error first — a wrong archive URL fails silently on the map canvas but not in the network tab.

Rollback

Remove the added source and layer, or simply don't mount the map component — nothing about this integration writes to any backend; it's a pure read of a static (or dynamically-tiled) archive.

Next steps

See also

Cite this record: /wiki/build-a-colocation-map — revision 9b9339a2, last updated 6 August 2026.

Important Information

Corporate structure. PointSav Digital Systems ("PointSav") is currently a trade name of Woodfine Capital Projects Inc. ("Woodfine"), planned to become a wholly-owned Woodfine subsidiary upon incorporation. PointSav does not itself offer, sell, or solicit any security. Any securities offering associated with Woodfine's real-property direct-hold solutions is made exclusively by Woodfine, and only by means of the applicable Private Placement Memorandum.

No investment advice. This wiki's content is provided for engineering, operational, research, and development purposes. Nothing on this wiki constitutes investment advice or a solicitation to invest in any Woodfine partnership or direct-hold solution.

Intellectual property. The PointSav name, trade name, wordmark, and marks, together with all current and future PointSav- and Totebox-branded products, services, and offerings — and the software, source code, documentation, design system, and all related materials — are proprietary to Woodfine and its affiliates, except for components identified as open source. No rights are granted except as expressly set out in a written license or agreement. The full trademark notice appears in the footer of every page on this site.

Open source components. Portions of the platform are made available under permissive open-source licenses identified in the accompanying repository. Use of those components is governed by their respective license terms.

No warranty; informational use. Content on this wiki is provided for general informational purposes only and does not constitute a representation, warranty, or commitment with respect to product functionality, availability, pricing, or roadmap. Some articles describe planned or intended features, capabilities, and milestones — language such as "planned," "intended," "targeted," "may," and "expected" marks this forward-looking content, which is subject to change and does not constitute a commitment regarding future performance.

Confidentiality. Where an article describes an operational or deployment detail that is not intended for public disclosure, that article is not published on this wiki. Content here is general-purpose engineering documentation, not customer-specific configuration.

Jurisdiction. Woodfine Capital Projects Inc. is organized in British Columbia, Canada. References to the Sovereign Data Foundation on this wiki describe a planned or intended initiative only, not a current equity holder or active governance body.

Changes to this notice. PointSav may update this notice from time to time; the version posted on this page governs.

Not a filing system. This wiki is not a securities filing system, an electronic disclosure repository, or a substitute for SEDAR+ or any other regulatory filing system. Formal securities filings are made through the applicable regulatory filing system, not through this wiki.

Full disclaimer. This notice supplements, and does not replace, the full Disclaimers article. In the event of any conflict, the full Disclaimers article governs.

Read the full disclaimer →