Forums Geocaching in Wisconsin General Uggghhh… where did Google maps go?

Viewing 15 posts - 16 through 30 (of 33 total)
  • Author
    Posts
  • #1956802

    Something to work on.

    I think you meant to add at the end “Void where prohibited, consumer assumes all resposibilities, blah blah blah”

    Following the signals from space.

    #1956803

    Thanks so much Team Deejay! Much better!

    Not all who wander are lost. -J.R.R. Tolkien

    #1956804

    @Walkingadventure wrote:

    Something to work on.

    I think you meant to add at the end “Void where prohibited, consumer assumes all resposibilities, blah blah blah”

    Actually no. I try to be helpful where I can.

    I use Greasemonkey scripts a lot for my reviewing, but that is only because we have a few very talented guys in the reviewer corps that build these scripts for us to use. Most of the added functionality involves checking things in the background while we are doing other things in the foreground. Simple things to speed up the review process.

    My real opinion is that anyone who is an advanced geocacher should be using GSAK as their everyday interface, which has all the tools anyone could conceive of. And if you somehow could think of something not currently available, you can easily program your own with an intuitive programming language. Much simpler than trying to gather or write scripts and addons to try to make someone else’s website do what you want.

    #1956805

    Dave, can you elaborate on your suggestion to use GSAK? I certainly don’t have a problem with that, it’s just that I’m not sure how GSAK replaces the mapping functionality. The only thing I can think of is exporting a GPX file from GSAK to Google Earth – but that only gives you a satellite view with alot of labels clouding the view. I rely heavily on the map browsing capability and not sure how to leverage GSAK to do that.

    I LOVE the ease of integration now available in GSAK thanks to the new API and obviously filtering is more that thorough, and you’ve helped me use GSAK as a better tool in the past through your posts here.

    Can you elaborate on your suggestion?

    #1956806

    @huffinpuffin2 wrote:

    @GetMeOutdoors wrote:

    but still no distance legend.

    Try this => http://userscripts.org/scripts/show/126456

    Found that it works on Firefox, SeaMonkey, and Chrome.

    Yes, that is great. Thank you for that reference! I feel satisfied now – at least until Groundspeak makes the next change. I think it’s dumb that we have to install BASIC features separately on every computer we use when we pay for membership to this thing. What a nuisance.

    #1956807

    Actually, I modified it to use feet and miles… NOW I’m satisfied! 🙂

    #1956808

    I suppose I should say something nice….

    I do like the “Pocket Queries” tab on the map now and that it limits the results to the items in the query – unlike before where it showed ALL caches and flagged the qualifying ones with the little google bubble.

    So, thanks Groundspeak for that one.

    There. I said something nice 🙂

    #1956809

    @GetMeOutdoors wrote:

    Actually, I modified it to use feet and miles… NOW I’m satisfied! 🙂

    How did you manage to do this?

    #1956810

    Replace the ScaleChange function with this code. (In Firefox, after you have the regular script installed, click the greasemonkey down arrow and select “Manage User Scripts”. Right click “Geocaching.com – Image map scale” entry and select Edit.)


    function ScaleChange() {
    var feetperpixel = 513592.6516 * Math.cos(MapSettings.Map.getCenter().lat*(Math.PI/180)) / Math.pow(2,MapSettings.Map._zoom);
    var milesperpixel = 97.27133 * Math.cos(MapSettings.Map.getCenter().lat*(Math.PI/180)) / Math.pow(2,MapSettings.Map._zoom);
    if (Aprox(feetperpixel) >= 5280) {
    document.getElementById('scaletext').innerHTML = Aprox(milesperpixel) + " mi" ;
    $("#scale").width(Math.round(Aprox(milesperpixel)/milesperpixel)+4);
    }
    else {
    document.getElementById('scaletext').innerHTML = Aprox(feetperpixel) + " ft";
    $("#scale").width(Math.round(Aprox(feetperpixel)/feetperpixel)+4);
    }
    }

    Optional: I wanted the scale to be wider. It seemed way to small to get a real idea of how far away something was. If you want a wider scale as well, change the line in the Approx() funciton that says :

    number = number*90;

    to

    number = number*200;

    or whatever multiplier you want.

    Save the script and refresh the map page.

    #1956811

    @GetMeOutdoors wrote:

    Replace the ScaleChange function with this code. (In Firefox, after you have the regular script installed, click the greasemonkey down arrow and select “Manage User Scripts”. Right click “Geocaching.com – Image map scale” entry and select Edit.)


    function ScaleChange() {
    var feetperpixel = 513592.6516 * Math.cos(MapSettings.Map.getCenter().lat*(Math.PI/180)) / Math.pow(2,MapSettings.Map._zoom);
    var milesperpixel = 97.27133 * Math.cos(MapSettings.Map.getCenter().lat*(Math.PI/180)) / Math.pow(2,MapSettings.Map._zoom);
    if (Aprox(feetperpixel) >= 5280) {
    document.getElementById('scaletext').innerHTML = Aprox(milesperpixel) + " mi" ;
    $("#scale").width(Math.round(Aprox(milesperpixel)/milesperpixel)+4);
    }
    else {
    document.getElementById('scaletext').innerHTML = Aprox(feetperpixel) + " ft";
    $("#scale").width(Math.round(Aprox(feetperpixel)/feetperpixel)+4);
    }
    }

    Optional: I wanted the scale to be wider. It seemed way to small to get a real idea of how far away something was. If you want a wider scale as well, change the line in the Approx() funciton that says :

    number = number*90;

    to

    number = number*200;

    or whatever multiplier you want.

    Save the script and refresh the map page.

    Awesome! Thank you very much, sir.

    #1956812
    raslas
    Participant

      GetMeOutdoors wrote:
      Replace the ScaleChange function with this code. (In Firefox, after you have the regular script installed, click the greasemonkey down arrow and select “Manage User Scripts”. Right click “Geocaching.com – Image map scale” entry and select Edit.)

      Code:

      function ScaleChange() {
      var feetperpixel = 513592.6516 * Math.cos(MapSettings.Map.getCenter().lat*(Math.PI/180)) / Math.pow(2,MapSettings.Map._zoom);
      var milesperpixel = 97.27133 * Math.cos(MapSettings.Map.getCenter().lat*(Math.PI/180)) / Math.pow(2,MapSettings.Map._zoom);
      if (Aprox(feetperpixel) >= 5280) {
      document.getElementById(‘scaletext’).innerHTML = Aprox(milesperpixel) + ” mi” ;
      $(“#scale”).width(Math.round(Aprox(milesperpixel)/milesperpixel)+4);
      }
      else {
      document.getElementById(‘scaletext’).innerHTML = Aprox(feetperpixel) + ” ft”;
      $(“#scale”).width(Math.round(Aprox(feetperpixel)/feetperpixel)+4);
      }
      }

      Optional: I wanted the scale to be wider. It seemed way to small to get a real idea of how far away something was. If you want a wider scale as well, change the line in the Approx() funciton that says :

      Code:
      number = number*90;

      to

      Code:
      number = number*200;

      or whatever multiplier you want.

      Save the script and refresh the map page.

      That is totally awesome. Thank you!!

      #1956813

      Many thanks to Team Deejay for the tip on using greasemonkey and a script to get Google maps back on gc.com. It worked. Yeah!

      Now as for your comment about GSAK. I realize most of you use it, that it’s wonderful, and I’m happy for you. But I’m on a Mac and don’t use it. Somehow I am still able to find caches! 😛

      #1956814

      With regard to doing mapping with GSAK, I have recently changed macros for this task, but this new one is fully supported and apparently used by a lot of people, so here is the link.

      http://gsak.net/board/index.php?showtopic=17505

      This macro is blazingly fast, and uses a Google feature (clusters) to make it fast. I ran it on my LCG database (17000+ caches) and it mapped it in about 3 seconds.) If you want to zoom in quickly to a clustered area, just click one of the “balls” and it will instantly zoom in. For maps, you have Google, OSM, My TOPO, Bing, Mapquest and some others. If you want to play with the small number of options, hold the shift key when you run the macro. Otherwise, it is self explanatory.

      I don’t have time to write a tutorial for running macros in GSAK right now, but if someone asks, I will do it later. I would attach a file of a screenshot, but apparently we don’t have that functionality anymore without uploading the picture to a server.

      #1956815

      I have not been able to figure out how to print off the V3 version.’:cry:’ Any ideas? I have found it much nicer to have the cache name attached to the marker instead of a cross reference to a list that takes up page space.’:D’

      #1956816

      I’m not sure I understand what you are asking about printing. The macro creates an HTML file and launches your browser. Then you just use the browser commands to print the view. (Don’t forget to select Landscape!) Note that you have to be zoomed in enough to not have clusters or else the clusters print as a white square with a number.

      I’m guessing you are actually asking me something completely different. I just don’t know what that something is.

    Viewing 15 posts - 16 through 30 (of 33 total)
    • You must be logged in to reply to this topic.