Using OS styles on vector tiles you have created
It is possible to use OS styles on vector tiles you have created. The following step-by-step instructions outline how to do this:
Download and unzip the appropriate OS product folder of stylesheets from GitHub, for example, OS's OS-Open-Zoomstack-Stylesheets repository on GitHub.
Once you have downloaded and unzipped the folder of stylesheets, navigate to Vector Tiles > Mapbox GL Styles.
If appropriate, choose the style you want to use and open the .json file (for example, OS Outdoor.json) in a text editor.
Find the following piece of code near the top of the file and enter your data source URL where it says ADD–SOURCE–URL–HERE:

Save the .json file.
The style is now ready to use. You can customise the style if you want to (for example, you could adapt the style of a map to match your own brand colours). Maputnik is a good open-source map editor tool for creating and customising vector tile styles.
Last updated
Was this helpful?