This application uses the Google Maps Javascript API, and GeoServer to form a search and retrieval interface for historical maps. Searching is possible using the Google Places API Web Service, or by zooming in on the map, with an option to change the map base layer between Google Maps or Satellite layers.
The location of the marker is translated into British National Grid using Ed Fielden's Coordinate Convertor. A Web Feature Service request to GeoServer returns GEOJSON records for maps whose bounding boxes cover the marker location. A jQuery slider provides a way of narrowing the date range of the maps.
This application was originally developed by the National Library of Scotland in 2017. We hope that other libraries, archives and institutions may benefit from the code in making available their geographical collections ON CONDITION THAT IT IS DEVELOPED WITH A DIFFERENT IMPLEMENTATION OF GEOSERVER, AND NOT AS A REPLACEMENT OR ALTERNATIVE TO VIEWING THE NATIONAL LIBRARY OF SCOTLAND'S MAPS.
View a more complete working version of the application on the National Library of Scotland Map Images website.