Title: OS DataHub Maps
Author: skirridsystems
Published: <strong>7 september 2020</strong>
Last modified: 2 februari 2026

---

Plugins zoeken

![](https://ps.w.org/os-datahub-maps/assets/banner-772x250.jpg?rev=2376803)

![](https://ps.w.org/os-datahub-maps/assets/icon-256x256.jpg?rev=2376803)

# OS DataHub Maps

 Door [skirridsystems](https://profiles.wordpress.org/skirridsystems/)

[Download](https://downloads.wordpress.org/plugin/os-datahub-maps.1.8.4.zip)

 * [Details](https://nl.wordpress.org/plugins/os-datahub-maps/#description)
 * [Beoordelingen](https://nl.wordpress.org/plugins/os-datahub-maps/#reviews)
 *  [Installatie](https://nl.wordpress.org/plugins/os-datahub-maps/#installation)
 * [Ontwikkeling](https://nl.wordpress.org/plugins/os-datahub-maps/#developers)

 [Ondersteuning](https://wordpress.org/support/plugin/os-datahub-maps/)

## Beschrijving

This plugin allows maps to be inserted into a page or post using the new Ordnance
Survey Data Hub platform which launched in 2020. It displays UK [Ordnance Survey maps](https://osdatahub.os.uk/)
with their legendary level of topographical detail, making them ideal for walking,
cycling, riding, and just about anything outdoors-related. You can add routes from
GPX files, elevation profiles, and markers for points of interest.

The plugin takes over where the previous plugin, OS OpenSpace Maps, left off. Using
the new OS Data Hub and its suite of APIs, you now have access to the full 1:25,000
Explorer mapping as well as the 1:50,000 Landranger series. And the free allowances
are a lot more generous, offering typically 2,000,000 map views per month.

This plugin uses Leaflet.js to display the maps, giving a clean interface and a 
responsive feel with easy zoom control, full screen view and even printing. Insert
the `[osmap]` shortcode anywhere in your post, page or custom post type content 
to display a map.

The map is set up using shortcode attributes, and there are now more of these than
can be described in this Readme file. For full details, please check the [plugin homepage](https://skirridsystems.co.uk/os-datahub-maps/).

#### Additional Shortcodes

Display one of the marker icons inline with your text using `[osmap_marker color
=red]`. This may be used to add annotation to your maps.

Use `[osmap_link marker=1 zoom=8]` in conjunction with `marker_link=link` attribute
to embedded a link within text on the page. When clicked, the map will be scrolled
into view, zoomed onto the marker position and the marker opened.

#### Examples

 * `[osmap]` displays a map at the default height and zoom level, centred on OS 
   headquarters in Southampton. This is the simplest way to test that the plugin
   is working.
 * `[osmap height="300" width="300" color="blue" gpx="http://www.example.co.uk/myfile.
   gpx"]` displays a 300px by 300px window containing a blue track from the file
   specified.
 * `[osmap markers="NY2000008000;Wasdale"]`shows a default size and zoom window 
   with a marker placed and the popup text “Wasdale”

#### Migration from OS OpenSpace Maps

Ordnance Survey has now shut down the OpenSpace Maps service. This plugin aims to
give a seamless upgrade to use the new Data Hub Maps service instead. It uses the
same shortcode and all the same attributes are supported.

The Data Hub service is a significant upgrade from OpenSpace, allowing use of the
excellent 1:25,000 Explorer mapping. It also has a much more generous free data 
allowance, typically 2 million map views per month.

The plugin itself is also a major upgrade, with many more features than the original
OpenSpace plugin.

## Schermafbeeldingen

 * [[
 * A 1:50,000 Landranger map embedded in a WordPress post
 * [[
 * A map showing a GPX track and elevation profile
 * [[
 * A 1:25,000 Explorer map
 * [[
 * Highly detailed street-level views are also available
 * [[
 * Zoomed out to 1:1M scale
 * [[
 * The defaults settings page
 * [[
 * The global settings page

## Installatie

 1. Go to the Plugins page in the admin area, search for `datahub` navigate to the 
    plugin page and click `install`.
 2. Or download and extract `os-datahub-maps.zip` into the `/wp-content/plugins/` directory.
    This will create a subfolder called `os-datahub-maps` containing the plugin files.
 3. Activate `OS Maps` through the ‘Plugins’ menu in WordPress
 4. Before the plugin will work you need to add your API key to the settings page on
    the dashboard.
 5. If you are running WordPress Multisite you (or your network administrator) will
    have to add KML and GPX files to the allowed file types under ‘Network Settings’
    if you wish to upload these files.

## FAQ

### Is this compatible with OS OpenSpace Maps?

As far as possible, yes. The new Data Hub mapping service is very different from
the OpenSpace service, but we have tried to maintain compatibility as far as possible.
All being well you should be able to install the new plugin, set the API key and
a few defaults. When you disable the OpenSpace plugin, this one should just populate
the existing shortcodes in the same way.

### Where can I get support?

You can find examples and much more information on the [plugin homepage](https://skirridsystems.co.uk/os-datahub-maps/)

Ask questions in the support forum on the [WordPress plugin page](https://wordpress.org/plugins/os-datahub-maps/)

## Beoordelingen

![](https://secure.gravatar.com/avatar/d15ca2b8c5cfd70a6e060d53cd2c20e832412c49f072fd4bdd46397b93809bd2?
s=60&d=retro&r=g)

### 󠀁[A superb plugin for WordPress](https://wordpress.org/support/topic/a-superb-plugin-for-wordpress/)󠁿

 [swldwa](https://profiles.wordpress.org/swldwa/) 4 februari 2026

Having used OS OpenSpace using the OS API for some years I found this pugin so much
easier to use. We use it to display the routes of walks in our walking club’s database
and it works really well. When needed support has been good.

![](https://secure.gravatar.com/avatar/7141ffe3406cfcb13bd32a36c7133d7bd21d3c26258fbc17446621ccbb9107eb?
s=60&d=retro&r=g)

### 󠀁[Really good](https://wordpress.org/support/topic/really-good-566/)󠁿

 [simongarrett](https://profiles.wordpress.org/simongarrett/) 7 november 2025

Comprehensive set of features, easy to use (much, much easier than using the OS 
APIs). Simple to embed OS topographic maps, routes created with OS maps (or anything
that creates GPX or KML), markers etc.

![](https://secure.gravatar.com/avatar/591474e4b3b6940593e35f0ca5d11d09fdcfbb9325069728e117d4bb42354934?
s=60&d=retro&r=g)

### 󠀁[Excellent – working nicely on WordPress.com](https://wordpress.org/support/topic/excellent-working-nicely-on-wordpress-com/)󠁿

 [davidartfulscot](https://profiles.wordpress.org/davidartfulscot/) 28 oktober 2023

Very happy with this and have it working well on wordpress.com. It’s well thought
through, excellent documentation and actively maintained. In case anyone is doing
similar, wordpress.com doesn’t allow you to upload gpx files and there appears to
be no way around this. I created a simple free hosting account on Cloudflare and
upload the gpx and marker files there – and this works fine.

![](https://secure.gravatar.com/avatar/e0dc9128661674ae7dfc2a0376b6f0bbc88b4cb34944e883bda3a72ea3c50009?
s=60&d=retro&r=g)

### 󠀁[Really useful plugin](https://wordpress.org/support/topic/really-useful-plugin-142/)󠁿

 [davechallenged](https://profiles.wordpress.org/davechallenged/) 1 februari 2023
1 reactie

Really useful to setup maps for the locations of trips on our walking site – rhsoc.
uk thank you! Only missing feature for me is to link the map pop-ups to a page for
our trips, but realise the API may restrict that.

![](https://secure.gravatar.com/avatar/df0a66bb249601546510176a9b46504d0d037e19e049b2d0dd18123a19e75323?
s=60&d=retro&r=g)

### 󠀁[Great plugin to enhance your site](https://wordpress.org/support/topic/great-plugin-to-enhance-your-site/)󠁿

 [Al S](https://profiles.wordpress.org/scoc/) 26 juni 2022

I like this plugin and I have used it in a custom field (activity_map) where I can
insert the shortcode to display the map… Which means this can then be displayed 
in a custom post type template along with all other CPT info. The “print map” option
is a great addition as it allows colour printing for those who might not have a 
GPS. Using it as part of CPT’s also allows searches of varies activity types where
the map is display on each post. I contacted the dev regarding a question and also
had a quick response. 5 stars all the way. I’d like to see a donate option…

![](https://secure.gravatar.com/avatar/25e1ee63332d7993e3066084fbbd415b8124ae06e88f8f94ea41f264f8e6213a?
s=60&d=retro&r=g)

### 󠀁[Nice Ordnance Survey map plugin](https://wordpress.org/support/topic/nice-ordnance-survey-map-plugin/)󠁿

 [Bufoot](https://profiles.wordpress.org/bufoot/) 11 april 2022

For UK applications this nice plugin works well with the free Ordnance Survey service
and its configuration options give good flexibility. I have used it to migrate from
the legacy Ordnance Survey maps to the new OS Data Hub service.

 [ Lees alle 16 beoordelingen ](https://wordpress.org/support/plugin/os-datahub-maps/reviews/)

## Bijdragers & ontwikkelaars

“OS DataHub Maps” is open source software. De volgende personen hebben bijgedragen
aan deze plugin.

Bijdragers

 *   [ skirridsystems ](https://profiles.wordpress.org/skirridsystems/)

[Vertaal “OS DataHub Maps” in je eigen taal.](https://translate.wordpress.org/projects/wp-plugins/os-datahub-maps)

### Interesse in ontwikkeling?

[Bekijk de code](https://plugins.trac.wordpress.org/browser/os-datahub-maps/), haal
de [SVN repository](https://plugins.svn.wordpress.org/os-datahub-maps/) op, of abonneer
je op het [ontwikkellog](https://plugins.trac.wordpress.org/log/os-datahub-maps/)
via [RSS](https://plugins.trac.wordpress.org/log/os-datahub-maps/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.8.4

Bug: CVE-2026-1730 requires fix to validating extension of uploaded files.
 Bug:
JSON validation improved to avoid PHP exception with specific incorrect JSON content.

For previous versions please refer to Changelog.txt

## Meta

 *  Versie **1.8.4**
 *  Laatst geüpdatet **2 maanden geleden**
 *  Actieve installaties **200+**
 *  WordPress versie ** 4.5 of nieuwer **
 *  Getest t/m **6.9.4**
 *  PHP versie ** 5.6.0 of nieuwer **
 *  Taal
 * [English (US)](https://wordpress.org/plugins/os-datahub-maps/)
 * Tags
 * [cycling](https://nl.wordpress.org/plugins/tags/cycling/)[map](https://nl.wordpress.org/plugins/tags/map/)
   [ordnance survey](https://nl.wordpress.org/plugins/tags/ordnance-survey/)[walking](https://nl.wordpress.org/plugins/tags/walking/)
 *  [Geavanceerde weergave](https://nl.wordpress.org/plugins/os-datahub-maps/advanced/)

## Waarderingen

 5 van 5 sterren.

 *  [  16 5 sterren beoordelingen     ](https://wordpress.org/support/plugin/os-datahub-maps/reviews/?filter=5)
 *  [  0 4 sterren beoordelingen     ](https://wordpress.org/support/plugin/os-datahub-maps/reviews/?filter=4)
 *  [  0 3 sterren beoordelingen     ](https://wordpress.org/support/plugin/os-datahub-maps/reviews/?filter=3)
 *  [  0 2 sterren beoordelingen     ](https://wordpress.org/support/plugin/os-datahub-maps/reviews/?filter=2)
 *  [  0 1 sterren beoordelingen     ](https://wordpress.org/support/plugin/os-datahub-maps/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/os-datahub-maps/reviews/#new-post)

[Bekijk alle beoordelingen](https://wordpress.org/support/plugin/os-datahub-maps/reviews/)

## Bijdragers

 *   [ skirridsystems ](https://profiles.wordpress.org/skirridsystems/)

## Ondersteuning

Opgeloste problemen in de laatste twee maanden:

     0 van de 1

 [Het supportforum bekijken](https://wordpress.org/support/plugin/os-datahub-maps/)