• Resolved howardalexander

    (@howardalexander)


    I installed and activated the plug-in, and it can’t see how to start it. When I first installed it, it asked me for my OS API. I gave it the wrong one (my mistake); a message popped up to tell me it was an invalid API, and it has not talked to me since. I got a new API this evening. How do I wake the OS DataHub Maps plug-in to tell it the API? That step done, I have to work out actually how to use it on a page.

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter howardalexander

    (@howardalexander)

    Naturally, two minutes after posting that, I found out: the dashboard was listed under the general “Settings” menu.

    Now my challenge is what to do to start.

    Plugin Author skirridsystems

    (@skirridsystems)

    You can enter the new API key in the plugin settings which you should find labelled as OS Maps under the normal WordPress settings menu, somewhere below General/Reading/Writing.

    In order to show a map on the page you have to use a WordPress shortcode. If you’ve not used shortcodes before they appear in the WordPress blocks under Widgets, or just search the blocks menu for ‘shortcode’. A minimal shortcode might look like this.
    [osmap centre=”53.068567,-4.076072″]
    You won’t see it in the backend editor, but you’ll see it on the page preview.

    There’s a whole lot more information on the shortcode attributes and some examples on the documentation page:
    https://skirridsystems.co.uk/wordpress-plugins/os-datahub-maps/

    Thread Starter howardalexander

    (@howardalexander)

    That’s helpful – thanks. I will try it out. I have been using the old OS system, and have added multiple routes in different styles – but that may be beyond a free version plug-in.

    I registered back in August and was given a Project API Key then.

    I’ve just downloaded the widget, activated it, entered my Project API Key and created a test post with just [osmap centre=”SD8128299116″] but all I get is a grey square.

    One thing, I haven’t yet been able to ‘upgrade’ to the Premium Plan yet. It failed and I’ve emailed the OS. Is this the problem?

    Any help appreciated. Thanks.

    Mick Garratt

    Plugin Author skirridsystems

    (@skirridsystems)

    Hi Mick,

    It’s better to create a new support topic than add on to the end of a thread that’s already closed.

    To answer your question, yes it’s very likely that the lack of Premium plan is the problem. Do you see the map zoom controls in the grey box? Also check on the plugin settings page that there is no warning about an invalid API key.

    Assuming the API key is OK, one thing you could try, until you get the upgrade, is to go to the plugin global settings and change the ‘Premium Data Use’ setting to ‘No one’. That way it will only try to access the free data. You won’t see the classic OS maps, but you should see their open data maps.

    Simon

    Thanks, I’ll raise a separate query next time.

    “Do you see the map zoom controls in the grey box?” – yes

    “Also check on the plugin settings page that there is no warning about an invalid API key.” – I can’t see any warning

    “… change the ‘Premium Data Use’ setting to ‘No one’” – Yes, that did the trick.

    Guess I’ll have to be patient until the OS get back to me.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Getting it started’ is closed to new replies.