Page 9 of 23

[Script] WME Bookmarks

Posted: Thu Aug 28, 2014 5:52 pm
by GizmoGuy411
This script was originally discovered in the French forums in the following post:
viewtopic.php?f=68&t=106612&hilit=WME+Bookmarks#p878107

While my original post here about the script included my Google assisted French to English translation, an English translation is now available at the script's host site.

Please see the following site for the latest version and authors' English Description of the script:
https://greasyfork.org/en/scripts/4515-wme-bookmarks

The following is the author's description of version .71
Sebiseba wrote:This script will create bookmarks. It adds a new tab.

Simply click a button to add to your bookmark in your list.
You can rename your bookmark and add a comment (comment icon), relocate and share with yours friends
If there are a comment, the icon changes to blue. A simple mouseover allow to read the comment.
Languages available : french, english & german


• V0.64/0.65 Server change (IP seemed to be blacklisted in some countries)
• V0.66 Compatibility after WME update
• V0.67/0.68 Bug fix on the detection of permalinks pasted in the search bar / Design v2
• V0.69 MPs/URs are opened when paste a permalink. Bug fix about layers
• V0.71 Compatibility after WME update / Bug fix about synchro

Description :
• Bookmarks : This is the list of your saved locations.
• Sharing : Here comes bookmarks that editors have shared with you. You can rename, relocate, comment ans remove sharing. Sync automatically on all accounts
• History : List of previous locations. This lists show only permalinks you pasted in the search bar.
• Backup : List of your bookmarks (format : CSV)
• Parameters : Here you can choose to use the script online or not. To apply the zoom and layers contained in the bookmarks and delete the data contained in the localstorage and / or remote server
I would suggest postings comments only in the original French thread English and in then French as a courtesy.

Re: [Script] WME Bookmarks

Posted: Fri Aug 25, 2023 8:14 pm
by G_W1Z
g1220k wrote: Fri Aug 25, 2023 7:18 pm I'm sorry but I can't find any problems caused by WME Bookmarks.
Bookmarks works for me without any problems.
I didn't realize I was on v1.00.6. I updated to v1.00.8 and it works fine now. Thank you :D

Re: [Script] WME Bookmarks (English translation)

Posted: Thu Jul 05, 2018 5:57 pm
by GizmoGuy411
I have removed my English translations from the opening post of this thread to reflect the fact that an English description of the script is now available by the author at the script's host site instead.

Merci beaucoup, Sebiseba

Re: [Script] WME Bookmarks (English translation)

Posted: Thu Aug 30, 2018 4:03 pm
by Glodenox
Heads-up: this script will be affected by an upcoming change within the WME objects: W.location will no longer exist in the next (or one of the next) versions of the WME. This script seems to use W.location.code four times, see this sticky for more information.

Re: [Script] WME Bookmarks (English translation)

Posted: Wed Jun 15, 2016 8:26 pm
by herrchin
After the latest update, the Chrome console is showing an error of "Uncaught TypeError: Cannot read property '0' of undefined" any time the map is moved around, or if you use a bookmark to jump locations. Something may have changed with one of the event handlers being hooked into?

I noticed because one of my scripts was behaving oddly after the update, and after testing I found it would only error if WME Bookmarks was also loaded. My script hooks into moveend, afteraction, afterundoaction, and noActions.

Re: [Script] WME Bookmarks (English translation)

Posted: Wed May 22, 2019 7:52 pm
by iainhouse
KuniaKid wrote:Bookmarks and FU are conflicting with the pin for adding a bookmark. Anything you can do to alleviate issue?
It's wasn't me! :lol:

The WME Bookmarks PIN and the WMEFU Zoom bar are not conflicting. In fact, the very opposite is the case. I use WME Bookmarks myself, so I position the zoom bar low enough not to interfere with the pin.

In this case, another script is causing the problem: I'm guessing it's the script that has added a button with a red power symbol that is just visible in the top RH corner of your screenshot. I estimate that the Bookmarks PIN has been pushed downwards by the height of that button, so it's likely that that script is interfering with WME Bookmarks. ;)

Re: [Script] WME Bookmarks (English translation)

Posted: Fri Jul 17, 2020 11:52 am
by iainhouse
WME Map Nav Historic is still showing a serious bug/behaviour that I reported some months ago - on the French language topic, I think.

When zooming in/out, MNH will re-select segments/places that were previously selected, even if those items are invisible off-screen. This can cause these items to be accidentally included in a delete action. This has caught me out many times in the past. I've zoomed in to select & delete some segments, only to find I've also deleted a segment I was looking at 5 minutes previously and some distance away. After accidentally deleting several segments of a major highway, I had to stop using MNH.

Could you please either:
  • Fix the bug that allows MNH to reselect segments/places when you haven't clicked it's buttons
  • Disable completely the re-selection of map items by MNH (Bookmarks reselection is OK)
  • Add an option to disable MNH as part of Bookmarks
I had a look through the code to see if I could disable the MNH part for now - because I'm very dependent on Bookmarks, but cannot afford the danger of MNH. I couldn't see any easy way - but on the plus side I learned something new about mouse events that may help me with my own script. :mrgreen:

[EDIT] It's not just zooming that triggers it. I have nothing selected in WME - but every time I pan WME, MNH is reselecting the complex Scottish Loch I just spend 15 minutes re-drawing. I definitely don't want to delete that by accident!

Re: [Script] WME Bookmarks

Posted: Tue Jul 28, 2020 11:59 pm
by iainhouse
Hi Seb

I'm afraid the Browsing History function is still selecting/de-selecting segments when panning/zooming the map, even when "Allow objects selection from history" is not ticked.

As soon as I untick "Activate browsing history", the unwanted changes in selection stop happening immediately.

Re: [Script] WME Bookmarks

Posted: Thu Aug 13, 2020 8:31 pm
by iainhouse
Sebiseba wrote:
iainhouse wrote:Hi Seb

I'm afraid the Browsing History function is still selecting/de-selecting segments when panning/zooming the map, even when "Allow objects selection from history" is not ticked.

As soon as I untick "Activate browsing history", the unwanted changes in selection stop happening immediately.
Hey Iain,
Items are selected only if only if both are checked : 'Activate browsing history' and 'Allow objects selection from history'.
Currently, with each movement, I do a "W.selectionManager.unselectAll();". Maybe I must unselect only if 'Allow objects selection from history' is unchecked, not every time.
I actually went through the script and commented out every single select/unselect call and that did seem to resolve my problem. Now you've done an update, those comments will be nuked, so I'll try and see - if it still happens - if I can reproduce the problem properly. But having items deselect when panning definitely sounds like a bad thing to do. ;)

Re: [Script] WME Bookmarks

Posted: Sat Feb 20, 2021 3:57 pm
by iainhouse
WazeWrap is a library of common functions used by many other scripts. Nobody actually uses it directly, but if you use several scripts, there's a good chance one of them is using WazeWrap.