[Script] WME BeenThere

Discussion for the unofficial, community-developed addons, extensions and scripts built for the Waze Map Editor.

The official index of these tools is the Community Plugins, Extensions and Tools wiki page.

Moderators: Unholy, bextein, JustinS83, Glodenox

Forum rules
Discussion for the unofficial, community-developed addons, extensions and scripts built for the Waze Map Editor.

DO NOT START a new thread unless it is about a new idea. Keep discussion of existing tools within the main thread for that tool.

The official index of these tools is the Community Plugins, Extensions and Tools wiki page.

[Script] WME BeenThere

Postby JustinS83 » Mon Feb 06, 2017 4:46 pm

WME BeenThere

Version: 2019.04.10.01

Greasyfork: https://greasyfork.org/en/scripts/27035-wme-beenthere

Description: This is a fork of rickzabel's BeenHere.

Screenshot - 2_10_2017 , 4_54_07 PM.png
(4.34 KiB) Downloaded 995 times


This fork adds the following features
  • persistence of the drawn rectangles across page loads
  • ability to draw a rectangle (rather than only being able to add the current view) - ESC will cancel drawing mode
  • ability to choose the color
  • redo functionality



Changelog:
2019-04-10 - 2019.04.10.01 - Added support for groups
2017-07-09 - 0.5.2 - Added a check to make sure the tool wasn't move off the left or top of the screen
2017-02-13 - 0.5.0 - Shortcuts have been added for all actions (except configuration). They are empty by default but can be changed in the Keyboard shortcuts menu.
2017-02-10 - 0.4.0 - Settings panel added. Allows choosing to draw the shape border or fill the shape. Export & import functionality added.
2017-02-09 - 0.3.0 - Added the ability to draw circles - the first click will be the center point of the circle, moving the mouse will adjust the radius. Adjusted the layout.
2017-02-07 - 0.2.0 - Added 3 more color pickers and the ability to choose which one is currently being used. The set colors will also persist between page loads. Also made the control draggable and its location will persist between page loads (for the cases where it might overlap other scripts display).
2017-02-06 - 0.1.4 - Added a confirmation dialog when removing all boxes, small tweaks to the display.
Last edited by JustinS83 on Wed Apr 10, 2019 4:53 pm, edited 17 times in total.
Script Writing Community Coordinator
[ img ][ img ][ img ][ img ][ img ]
JustinS83
Waze Global Champs
Waze Global Champs
 
Posts: 1313
Joined: Wed Dec 03, 2014 4:33 am
Location: Franklin, OH
Has thanked: 335 times
Been thanked: 2332 times

Re: [Script] WME BeenThere

Postby ottonomy » Mon Feb 06, 2017 5:48 pm

Excellent work, sir! Some of these features were in my original wish list for Been Here, but rickzabel didn't have time back then to develop it in depth. This is awesome. Thank you!
Country Manager & Global Champ - United States
Regional Coordinator - Southwest USA
Area Manager - Southern California
ottonomy
Global Champ Mentor
Global Champ Mentor
 
Posts: 791
Joined: Thu Oct 11, 2012 6:31 am
Location: Los Angeles CA
Has thanked: 1584 times
Been thanked: 711 times

Re: [Script] WME BeenThere

Postby JustinS83 » Tue Feb 07, 2017 9:45 pm

Update released - 0.2.0

The control is now draggable and will remember its location (in case the default location overlaps other scripts).

You can set/save multiple colors and switch between them on the fly.
Script Writing Community Coordinator
[ img ][ img ][ img ][ img ][ img ]
JustinS83
Waze Global Champs
Waze Global Champs
 
Posts: 1313
Joined: Wed Dec 03, 2014 4:33 am
Location: Franklin, OH
Has thanked: 335 times
Been thanked: 2332 times

Re: [Script] WME BeenThere

Postby bures » Wed Feb 08, 2017 10:59 am

Functionality request:
  • Draw circle.
  • Move drawn rectangle/circle.
[ img ][ img ]
Jirka Bureš
bures
Waze Global Champs
Waze Global Champs
 
Posts: 987
Joined: Mon Jun 27, 2011 1:38 pm
Location: Holešov
Has thanked: 625 times
Been thanked: 430 times

Re: [Script] WME BeenThere

Postby JustinS83 » Wed Feb 08, 2017 1:23 pm

bures wrote:Functionality request:
  • Draw circle.
  • Move drawn rectangle/circle.


Will add functionality to draw a circle, will not make any of the shapes movable; that adds a huge layer of complexity, and this isn't photoshop :)
Script Writing Community Coordinator
[ img ][ img ][ img ][ img ][ img ]
JustinS83
Waze Global Champs
Waze Global Champs
 
Posts: 1313
Joined: Wed Dec 03, 2014 4:33 am
Location: Franklin, OH
Has thanked: 335 times
Been thanked: 2332 times

Re: [Script] WME BeenThere

Postby RichardPyne » Wed Feb 08, 2017 5:47 pm

Since the most recent update, I am no longer seeing persistence on reload. Both the box(es) and the chosen colors disappear on reload.
RichardPyne
Area Manager
Area Manager
 
Posts: 246
Joined: Sat Mar 12, 2016 6:05 pm
Location: Provo, Utah, USA
Has thanked: 272 times
Been thanked: 102 times

Re: [Script] WME BeenThere

Postby JustinS83 » Wed Feb 08, 2017 6:02 pm

Mapman44 wrote:
RichardPyne wrote:Since the most recent update, I am no longer seeing persistence on reload. Both the box(es) and the chosen colors disappear on reload.



Same with me.


Either of you have errors reporting from the script in your console?
Script Writing Community Coordinator
[ img ][ img ][ img ][ img ][ img ]
JustinS83
Waze Global Champs
Waze Global Champs
 
Posts: 1313
Joined: Wed Dec 03, 2014 4:33 am
Location: Franklin, OH
Has thanked: 335 times
Been thanked: 2332 times

Re: [Script] WME BeenThere

Postby dspille » Wed Feb 08, 2017 6:30 pm

RichardPyne wrote:Since the most recent update, I am no longer seeing persistence on reload. Both the box(es) and the chosen colors disappear on reload.


Can you confirm that the layer is enabled?
Thanks,
dspille
Country Manager, Multi-State Manager - South Central Region

SCR Wiki
[ img ][ img ][ img ][ img ][ img ][ img ]
dspille
Country Manager
Country Manager
 
Posts: 349
Joined: Sat Mar 12, 2016 11:05 pm
Location: Texas, USA
Has thanked: 499 times
Been thanked: 121 times

Re: [Script] WME BeenThere

Postby RichardPyne » Wed Feb 08, 2017 6:36 pm

JustinS83 wrote:Either of you have errors reporting from the script in your console?


I see this from WME Been There:

ERROR: Execution of script 'WME BeenThere' failed! $(...).draggable is not a function
(anonymous)
(unknown) TypeError: $(...).draggable is not a function
at InitMapRaidOverlay (eval at <anonymous> (:2:297), <anonymous>:2235:25)
at bootstrap (eval at <anonymous> (:2:297), <anonymous>:1902:13)
at eval (eval at <anonymous> (:2:297), <anonymous>:1908:5)
at Window.eval (eval at <anonymous> (:2:297), <anonymous>:2318:3)
at <anonymous>:2:297
at eval (eval at <anonymous> (:2:297), <anonymous>:2:1)
at eval (eval at <anonymous> (:2:297), <anonymous>:3:3)
at Object.eval (eval at <anonymous> (:2:297), <anonymous>:2319:6)
at eval (eval at <anonymous> (:2:297), <anonymous>:2319:50)
at eval (<anonymous>)

I also see this from WMETB, not sure if it matters:

Failed to load resource: net::ERR_FILE_NOT_FOUND OpenLayers.js
RichardPyne
Area Manager
Area Manager
 
Posts: 246
Joined: Sat Mar 12, 2016 6:05 pm
Location: Provo, Utah, USA
Has thanked: 272 times
Been thanked: 102 times

Re: [Script] WME BeenThere

Postby JustinS83 » Wed Feb 08, 2017 6:41 pm

Thanks Richard, that helps. I'll take a look in a few.
Script Writing Community Coordinator
[ img ][ img ][ img ][ img ][ img ]
JustinS83
Waze Global Champs
Waze Global Champs
 
Posts: 1313
Joined: Wed Dec 03, 2014 4:33 am
Location: Franklin, OH
Has thanked: 335 times
Been thanked: 2332 times

Next

Return to Addons, Extensions, and Scripts

Who is online

Users browsing this forum: bummerdude69, ramblinwreck_81, Rimo1986