Public
Like
allmaps
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.
main.tsx
https://sammeltassen--738804d4276711f086ff569c3dd06744.web.val.run
This val returns one or more random rows from a SQLite database as a JSON array. Each item represents a digitised map from a collection and contains the following properties:
{
// SQLite identifier
"id": 70607,
// Slug for the organisation
"organizationId": "lmec",
// Title of the map
"title": "A topographical map of the northn. part of New York Island, exhibiting the plan of Fort Washington, now Fort Knyphausen, with the rebels lines to the southward, which were forced by the troops under the command of the Rt. Honble. Earl Percy, on the 16th Novr. 1776, and survey'd immediately after by order of his Lordship",
// IIIF Presentation Manifest URL
"manifestId": "https://collections.leventhalmap.org/search/commonwealth:9s161881v/manifest",
// IIIF Image URL (first image in the manifest)
"imageId": "https://iiif.digitalcommonwealth.org/iiif/2/commonwealth:9s1618824"
}
The val returns a single map by default. You can change this with the following parameters:
count=100
Request a specific number of maps (max 1000)org=lmec
Request maps from a specific institution
For example:
https://sammeltassen-allmaps.web.val.run/?count=100&org=lmec
The val is used to offer maps to new users of Allmaps Editor. The scrapers used to gather the source data can be found here.