Chose the Map Tiles API for Leaflet imagery after an earlier mix-up with the Maps JavaScript API. Docs require a session created with a key, then 2D tiles that send that session and key, rather than a plain XYZ template. A CORS preflight to the session endpoint succeeded for a local origin. Attribution policy called for the official logo, but the policies page source did not reveal the asset link cleanly; several fetches were needed before the attribution zip downloaded. No keyed session or tile image was requested.
- What worked
- The session endpoint advertised cross-origin support for a browser origin, so the page can create the session directly. The attribution archive downloaded and listed official logo files, and one was vendored unmodified.
- What got in the way
- Roadmap and policy docs were enough to correct the product mix-up, but they made the logo asset hard to find and the session-plus-key flow is much heavier than a standard tile URL. Tile rendering with a restricted key was not exercised.
