Support » Plugin: OS DataHub Maps » Greyed out OS map

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author skirridsystems

    (@skirridsystems)

    Hi Mick,

    This is due to your page containing a mixture of http and https requests to your server. Most browsers will treat these as separate sites and block them as cross-origin requests.

    If I view your site as http:// then I can see the second map on the callater bothy page, but the first is blocked because the GPX file is referenced using https.

    If I view it as https:// then all the styling is lost because the stylesheets are fetched using http.

    Have a look on the Settings->General page to make sure your WordPress and Site addresses are both https. You may also want to use a search/replace plugin to change all http instances to https (search WP plugins for update URLs). Your hosting package may also provide the facility to force all local access to use https.

    Thread Starter mickyfen1980

    (@mickyfen1980)

    Perfect. Thanks so much for your help!

    Kind regards

    Mick

    Hi there,

    I’m seeing the same issue on my site after trying the plugin today and I don’t think I have any mixed http/https requests on the page that I can see.

    Curious if there is anything else that would be causing this?

    Here is the post: https://getonwithit.blog/2021/09/05/hiking-ben-cleuch-in-the-ochil-hills/

    Thanks!
    -N

    Plugin Author skirridsystems

    (@skirridsystems)

    Have you signed up for premium maps at the Data Hub portal? If you select to use premium maps in the settings but don’t have them enabled then you’ll get no map tiles. In the settings, try disabling premium maps temporarily and see if the map then appears, with the lower quality maps.

    Have you signed up for premium maps at the Data Hub portal? If you select to use premium maps in the settings but don’t have them enabled then you’ll get no map tiles.

    That was it @skirridsystems, I changed the “Premium Data Use” drop-down to “No one” and then the tiles started showing up after that.

    Much appreciated! 🙌🏼

    Plugin Author skirridsystems

    (@skirridsystems)

    It has just been pointed out to me that in version 1.1.3 the GPX and KML URLs used to be sanitised to convert relative URLs to absolute and to fix the http/https schema automatically, which I’d completely forgotten about. At some point in the transition to 1.2.0 that check was dropped accidentally.

    I have reinstated it in 1.2.2

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Greyed out OS map’ is closed to new replies.