Create a web application using the OS Vector Tile API
Last updated
Was this helpful?
Last updated
Was this helpful?
This guide explains how to create a web application using the OS Vector Tile API and the Ordnance Survey GitHub Demo repository.
Basic web development skills.
Access to an IDE.
Access to the GitHub repository.
OS Vector Tiles API Project key. See Getting started with an API project for more information.
Navigate to your downloads page, unzip the OSVectorTileAPI
folder from the newly downloaded file and place it in your IDE project repository. When you open your IDE, the new files should appear automatically in your project window.
The folders you have installed contain all the code required to call and interact with the code libraries.
To launch the web application, navigate to and open the index.html
file found in the OpenLayers
folder, and then run the application.
Methods on how to do this differ between IDEs.
Running the project launches a window in your browser that looks like this: