Skip to main content

Add a third map view for 'Outdoors'

Comments

30 comments

  • Holger Danielsson

    If you have changed the file 'MapViewMain.html' (or not), you can also make another change for the default location of map view. When you have a photo without GPS info, map view will always show Portland, Oregon. To change this, look for the two lines

    center: [-122.74753, 45.409199],

    and change this to the default location, which you prefer:

    center: [longitude, latitude],

    That's all.

     

    1
  • Subias Gilles

    As you are code fellow, I'll be so grateful if you should  add "display map for all the photos from a folder" ;-)))

    I'm bored ON1 team never improve this basic feature you can enjoy on 80% of the photo softwares I've tested.

    0
  • Brian Lawson Community moderator

    Thanks Holger. I'm looking through your changes right now.

    On the Mac side of things there are 2 html files, one specifically for Mac. Apparently there are some timing issues with the API that it accounts for. I need to do a compare with it against the Windows version to see if there are any other mods.

    I will add your changes to the Mac side and do some testing then post a new zip for it.

    0
  • Brian Lawson Community moderator

    That isn't something that can be done with a simple HTML change Subias. The web page doesn't have access to that information. It requires code changes to the Photo RAW program to call the proper MapBox libraries and MapBox may not have provided that ability.

    0
  • Volker Gottwald

    Simply works! Thanks for this one.

    0
  • Volker Gottwald

    Also adding the GPS via the map works. I'm using Windows 10.

     

    0
  • Holger Danielsson

    Thanks! I offered this ON1, but they were not interested.

     

    0
  • Brian Lawson Community moderator

    The javascript code differences between the Mac and Windows html files are more extensive than I first thought and I'm not sure my javascript skills are up to reconciling the differences between the 3 files I'm looking at.

    Subias, would you be willing to take a look at the Mac version?

    0
  • Brian Lawson Community moderator

    To whom did you offer it? I can get around tech support. 😉

    0
  • Holger Danielsson

    @Brian: I have adapted the HTML file for Mac, but I can't test it. Is it like your version?

    https://www.magic-squares.info/pr/outdoors-mac.zip  

    Your question: Some weeks or months ago I opened a ticket for this and it got status 'solved'. But it didn't find its way into PR 2022.

    So I wrote today that I have changed the HTML file to add the 'outdoor' view . But they only replied that I can publish it in this forum if I want.

     

      

    0
  • Brian Lawson Community moderator

    The link is not working. Did you start with the MapViewMainMac.html file? It is significantly different than the Windows version.

    0
  • Holger Danielsson

    Okay, there was an unvisible space in this link. Take this one

    https://www.magic-squares.info/pr/outdoors-mac.zip

     

    0
  • Holger Danielsson

    ... and I took the MapViewMainMac.html file, which is found with the windows installer.

    0
  • Brian Lawson Community moderator

    That works great, thanks again Holger.

    0
  • Holger Danielsson

    What do you mean: the download or the outdoors map view for Mac?

    0
  • Brian Lawson Community moderator

    I'm just going to throw this out there, you know because…

    DON'T FORGET TO MAKE A BACKUP COPY OF THE MAPVIEW FOLDER BEFORE YOU START.

    Also, any future updates will most likely overwrite these changes so keep copies to put back in place after an update.

    0
  • Brian Lawson Community moderator

    Both the download and the map view. Great job.

    0
  • Albert Troost

    Thanks, I've replaced the file and everything works fine.

    0
  • Barry Combes

    Thanks Holger
    The instruction on how to change the default from Portland is especially useful as I live in the UK and are unlikely to visit the USA anytime soon

    0
  • Henry Wede

    Thank you all for the time and effort to make this available.

    I hope that one day the developers are able to spend some time with the map module and add some feature.

    0
  • Caroline Picking

    Wow, thank you so much for this!

    0
  • Subias Gilles

    Hello, for testing it, I used PR 2021 and last link for Mac, but no map is displayed, only a white blank window; if I keep the original MapViewMain.html and MaViewMainMac.html, only the map from ON1 displays it, but no option to "outdoor". What's wrong from me ? Because I used 2021 instead of 2022 ? 

    0
  • Holger Danielsson

    Yes, my extension for a Mac only works with PR 2022. But be careful, already the original version from On1 is buggy, although my extension works.

    For Windows, it should work wit PR 2021 and 2022, although I couldn't test it with 2021 any more.

     

    0
  • Subias Gilles

    Thanks, I'll try later with PR 2022.

    0
  • Donald Atkinson

    I've just tried the Mac version with RAW 2022 and although the 'outdoors' option shows, there is no change to the map. If 'street' is showing, it stays as 'street' and if 'satellite' is showing it stays as 'satellite' even when' outdoors' is selected.

    I've tried it with the original MapViewMain.html as well as the newer version provided by Holger at the beginning of this thread and get the same results described above.

    0
  • Brian Lawson Community moderator

    Have you quit and relaunched Photo RAW? I saw the same thing when I made the change. Relaunching the program fixed it for me.

    0
  • Donald Atkinson

    Just tried relaunching but still getting the same result as before. Which version of MapViewMain.html are you using Brian?

    0
  • Brian Lawson Community moderator

    I'm on a Mac so I'm using MapViewMainMac.html but I have both of them installed.

    0
  • Holger Danielsson

    Did you really use the MAC version of my file?

    https://on1help.zendesk.com/hc/en-us/community/posts/4410439072013/comments/4410442373389

    I think that you use the wrong (Windows) version of my file.

    0
  • Donald Atkinson

    No I haven’t used the Windows version. I’ve installed the Mac version. Like Brian I have both installed.

    0

Please sign in to leave a comment.