Jump to content

OS Maps on Cache Pages (with Greasemonkey)


Recommended Posts

Posted (edited)

This is a recurring problem with a very small number of users, and it always baffles me, I cannot recall ever finding a solution to the issue, since the majority of people cannot reproduce it.

 

The one thing I can suggest checking is that there may be a setting flipped somewhere in the advanced Firefox settings. If possible, try this:

  • Enter 'about:config' into your address bar and hit enter.
  • In the filter box enter 'network.http.sendRefererHeader'.
  • Double-click the one result, and change the value in the dialogue to 2.

Edited by Edgemaster
Posted (edited)
I have noticed if I open several cache pages at the same time, in new tabs or new windows, that I get no maps after the first page or two load.

Yes, this is a known bug.

Edited by Edgemaster
Posted

Is there a way to get OpenStreetMap maps on this page as well?

 

http://www.geocaching.com/map/default.aspx...p;lng=-93.63134

 

Hehe :(

I was developing an OpenStreetMap plugin a few years ago, but I percieved that there was never enough demand for it (plus I've got lazy with my development recently).

 

There is a script called OSMify that will add OSM to most Google Maps. From the page below, drag the link titled OSMify (just below the image), onto your bookmarks toolbar and then click it when on the Geocaching Map page.

http://blog.johnmckerrell.com/2007/12/31/n...fy-bookmarklet/

Posted

I'm a Chrome user, and have been pleasantly surprised by how many GM scripts work as extensions under Chrome.

 

However, the Ord Surv script doesn't seem to be working. CAn I ask two things:-

a) Should it? (i.e. are there any greasemonkey specifics in the code which would mean that in all likelihood it won't work) and

:( Can someone explain what I should see visually if it did work on a cache page?

 

Cheers!

 

Matt

Posted

I'm a Chrome user, and have been pleasantly surprised by how many GM scripts work as extensions under Chrome.

 

However, the Ord Surv script doesn't seem to be working. CAn I ask two things:-

a) Should it? (i.e. are there any greasemonkey specifics in the code which would mean that in all likelihood it won't work) and

:( Can someone explain what I should see visually if it did work on a cache page?

 

Cheers!

 

Matt

 

a) Probably not, I've never explicitly tested it, I think I do things to get around some firefox limitations.

I could (and probably should) make an effort to fix it.

:) The various places I've hosted screenshots in the past seem to have disappeared into the ether of the internet. I've just taken one of a cache I'm hoping to get this weekend.

 

4406442882_45a251b2ae_m.jpg

Posted

JF20938, what cache listing are you trying to view? The ordinance survey maps only work in the UK.

 

I'm only looking at UK caches - but thanks for the idea.

 

However, I've had a breakthrough! I'm ashamed to admit that it seems to be a Firewall issue. If I disable Norton Internet Security, I do see the maps. Actually, it's not completely flawless but I strongly suspect the remaining problems result from my PC locally caching pages - i.e. caching the "error" condition.

 

I'll play around with my Firewall settings when I get a chance (I'm off on business tomorrow) and report back here. I hope my findings would be useful to someone else.

 

Thanks to everyone for all their ideas to this point. Any thoughts on why my Firewall might be objecting to specific sites etc would be most welcome.

Posted

This is easily my most useful Greasemonkey script. The use of OS maps makes planning a route over footpaths to a cache so much easier.

So I wondered if there was any chance that you might consider extending it <grovel grovel> :anitongue:

It would be really useful if we could have OS maps on the "Map it" page or some equivalent way of seeing all the caches in an area on OS maps. This would be really useful in planning a series or just a day out caching.

At present I do this manually but it would be great to see them on the screen and print it out.

Posted

I've had to reinstall my PC today and I can't get a new copy of the greasemonkey script for OS maps. Looks like the link to edgemaster.geocache.org.uk no longer works.

 

Is there another copy somewhere?

 

Thanks

Posted

I've sent a message to Edgemaster, in case he wasn't aware...

 

:rolleyes:

 

Just so you know - Edge has gone off into the wilds of the Lake District for the week armed with no more than penknife and a length of fishing line... something like that anyway... he's incommunicado for a while. :)

 

MrsB

Posted

I've sent a message to Edgemaster, in case he wasn't aware...

 

:(

 

Just so you know - Edge has gone off into the wilds of the Lake District for the week armed with no more than penknife and a length of fishing line... something like that anyway... he's incommunicado for a while. :rolleyes:

 

MrsB

He's "The Edge!!!"

He has a penknife and a bit of fishing line... Of course he can fix it! :)

Posted

Just so you know - Edge has gone off into the wilds of the Lake District for the week ... he's incommunicado for a while. :rolleyes:

 

MrsB

 

"Communicado"? Is that near Keswick? :)

Posted

I was indeed new Keswick, with little more than a tent, chemical toilet (yuck!), only 2 caches loaded into my GPS :unsure:

 

The server is now back, and everything should be working again.

Posted

Excellent! Thank you. B)

 

As an aside... Didn't the map used to show the Additional Waypoints? They seem to be missing after one of Groundspeaks updates... :unsure:

 

Chemical toilet? Double Yuck!

 

Hope you managed to find the two caches ! ;)

Posted

I was indeed new Keswick, with little more than a tent, chemical toilet (yuck!)

According to their MP, round those parts that's positive LUXURY! :ph34r:

 

Anyway, Thanks for getting it back & running!

As other have noted, it lost the additional waypoints feature a while ago. But that's not so important. :wub:

Posted
I was indeed new Keswick, with little more than a tent, chemical toilet (yuck!), only 2 caches loaded into my GPS :rolleyes:

 

The server is now back, and everything should be working again.

 

Sounds grim - thanks again.

Posted

As an aside... Didn't the map used to show the Additional Waypoints? They seem to be missing after one of Groundspeaks updates... B)

 

If you want the waypoints back, it's a quick edit to line 87 of the script:

OLD:

				coord = parsecoords(awptblr[j].cells[5].innerHTML);

 

NEW:

				coord = parsecoords(awptblr[j].cells[6].innerHTML);

 

David

Posted

As an aside... Didn't the map used to show the Additional Waypoints? They seem to be missing after one of Groundspeaks updates... B)

 

If you want the waypoints back, it's a quick edit to line 87 of the script:

OLD:

				coord = parsecoords(awptblr[j].cells[5].innerHTML);

 

NEW:

				coord = parsecoords(awptblr[j].cells[6].innerHTML);

 

David

 

Thanks for that - very quick and easy. I do like to have children shown.

 

Now all we need is to persuade more people to use them when setting caches (separate thread a week or so ago)

Posted

As an aside... Didn't the map used to show the Additional Waypoints? They seem to be missing after one of Groundspeaks updates... :D

 

If you want the waypoints back, it's a quick edit to line 87 of the script:

OLD:

				coord = parsecoords(awptblr[j].cells[5].innerHTML);

 

NEW:

				coord = parsecoords(awptblr[j].cells[6].innerHTML);

 

David

Thanks for that - very quick and easy. I do like to have children shown.

 

Now all we need is to persuade more people to use them when setting caches (separate thread a week or so ago)

 

Woo-Hoo!!!!

Until Groundspeak muck it up update again! B)

Posted

In very simple terms :D can someone explain how to edit the script as I'd like to get the additional waypoints shown and I've no idea how to do this. Apologies for being thick! :D

Firefox. On the menu - Tools - Greasemonkey - Manage User Scripts. In the box that opens find the script 'Geocacaching Map Substituter'. Select it and then click Edit (at the bottom of the dialogue box). It opens in Notepad. Do a 'Find' for coord = parsecoords(awptblr[j].cells[5].innerHTML); and then edit the 5 to a 6 and save it.

 

Chris

Graculus

Volunteer UK Reviewer for geocaching.com

UK Geocaching Information & Resources website www.follow-the-arrow.co.uk

Geocaching.com Knowledge Books

Posted

In very simple terms :D can someone explain how to edit the script as I'd like to get the additional waypoints shown and I've no idea how to do this. Apologies for being thick! :D

Firefox. On the menu - Tools - Greasemonkey - Manage User Scripts. In the box that opens find the script 'Geocacaching Map Substituter'. Select it and then click Edit (at the bottom of the dialogue box). It opens in Notepad. Do a 'Find' for coord = parsecoords(awptblr[j].cells[5].innerHTML); and then edit the 5 to a 6 and save it.

 

Chris

Graculus

Volunteer UK Reviewer for geocaching.com

UK Geocaching Information & Resources website www.follow-the-arrow.co.uk

Geocaching.com Knowledge Books

 

I then had to close and restart Firefox before it started to work

Posted

Thanks for that Chris - managed to sort it!

(Using a Mac so had to specify TextEdit to open the script)

Now all working and nice to be able see parking spots at a glance and relate them to the cache.

 

Truly a very useful script - thanks Edge!

Posted

Truly a very useful script - thanks Edge!

Very true. Except when it breaks.

Which it appears to have done again! :) I'm getting "The connection has timed out".

 

Are we all gobbling up your allowed bandwidth?

Posted

Truly a very useful script - thanks Edge!

Very true. Except when it breaks.

Which it appears to have done again! :P I'm getting "The connection has timed out".

 

Are we all gobbling up your allowed bandwidth?

Working for me.

 

Try moving the script higher up the list of scripts.

Posted
May I suggest http://userscripts.org/scripts/show/109145

This is a brilliant script and is still working fine. It uses the OS facility of Bing so it's not affected by any changes on GC as long as they stay with Bing maps.

It's a pity Bing stopped serving the OS 25K maps. (That, or I maxed-out my usage allocation.)

 

Streetmap.co.uk still offers 25K, thankfully.

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...