• An interactive map drawn from a map document of the project. The server refuses a document that does not exist, is not a map, or is not readable by the caller. Leave out viewport to center the map at zoom 4 on a pin linked to the resource holding it; displayHeight is 150 to 800 pixels.

    Parameters

    Returns MapBlock

    const where = map({ resourceId: ooo.id, documentId: atlas.id }, { displayHeight: 300 })
    const pinned = map({ resourceId: ooo.id, documentId: atlas.id }, { viewport: { center: [-60, 90], zoom: 2 }, layout: 'wrapRight', width: 40 })