Jump to content

Default map settings


Huck1974

Recommended Posts

Hi there,

 

I like to see the map on geocaching.com as following:

 

- Browse geocaches

- OpenStreetMap Defalult

 

Where can I set it as it starts like this as default ?

And if i can't set it, why it is impossible to set this defaults ?

 

 

Huck1974

  • Funny 2
Link to comment
6 minutes ago, ardila.nl said:

Isn't that what you are looking for?

 

I think @Huck1974's issue is that the default map tiles are "Geocaching", rather than "OpenStreetMap Default." See the selector on the right side of the map.

 

tmp_cap.PNG.ab49953b7ba7a32c352b1e9c055f27c0.PNG

Link to comment

Assuming that you are using the Leaflet-based map, here is a bodged-together UserScript that automatically switches to "OpenStreetMap Default" on page load.

 

// ==UserScript==
// @name         Geocaching Map Redirect
// @namespace    http://tampermonkey.net/
// @version      0.1
// @match        https://www.geocaching.com/map/*
// @grant        none
// @run-at       document-start
// ==/UserScript==

(function() {
    var x;

    const SET_OSM = function() {
        console.log("Attempting to set OSM...");

        const OSM_RADIO_BTN = document.querySelectorAll("form.leaflet-control-layers-list div label input")[1];
        if (OSM_RADIO_BTN) {
            OSM_RADIO_BTN.click();

            clearInterval(x);
        }
    }

    x = setInterval(SET_OSM, 500);
})();

 

 

Link to comment
42 minutes ago, Hügh said:

 

I think @Huck1974's issue is that the default map tiles are "Geocaching", rather than "OpenStreetMap Default." See the selector on the right side of the map.

 

Right, that's what I would like !

I am using the Leaflet-based map, so I will try you script !

And once again, Thank you Hügh ! :) 

Link to comment

Curious... 

 

Has anybody managed to script-hack the great new CyclOSM map into that list?

 

If I was still bothering to suggest improvements, that would be my number-one.  (To see that map albeit without caches, click the never-used OpenStreetMap link on a cache page, tap the layers icon near the top-right corner, and select CyclOSM.) 

Link to comment
14 hours ago, Viajero Perdido said:

Has anybody managed to script-hack the great new CyclOSM map into that list?

 

Something like that ... 🤭

 

grafik.thumb.png.1e83d83d3a39dff82c7f548a00d6f25a.png

 

 

On 6/11/2021 at 6:33 AM, Huck1974 said:

- Browse geocaches

- OpenStreetMap Defalult

 

You can do it also with script GClh. See my signature.

  • Upvote 2
  • Love 1
Link to comment

 This is really annoying. I used to be able to set a default. After the last Maps change or layout change if you will I can no longer set a default. I want mine set to Satellite view from google. I am legally blind and the harsh white really HURTS my eyes. I wish Groundspeak would at least TRY to follow ADA guidelines because I have a true struggle trying to use the website. This is one of the main reasons I only use Cachly and not the Groundspeak App because Cachly has a Dark mode on their App. 😠

  • Funny 1
Link to comment
On 6/12/2021 at 6:49 AM, Hügh said:

Assuming that you are using the Leaflet-based map, here is a bodged-together UserScript that automatically switches to "OpenStreetMap Default" on page load.

That is exactly what I was looking for. Thank you so much!

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...