Is there an issue with this newest WME version? I'm clicking the button and no river is drawn
https://storage.googleapis.com/wazeoped ... anager.pnghttps://storage.googleapis.com/wazeoped ... 281%29.pnghttps://storage.googleapis.com/wazeoped ... itor_6.pnghttps://storage.googleapis.com/wazeoped ... tester.pnghttps://storage.googleapis.com/wazeoped ... er_new.pnghttps://storage.googleapis.com/wazeoped ... s_500k.png
today this script isn't working
only on beta
only on beta
I just tried it myself and it works perfectly. Thanks!jm6087 wrote:If you edit the script in TamperMonkey and look forAnd change "Insert" to "INSERT"Code: Select all
sel.state == "Insert"
It might fix the script for you
ㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤ
WME Beta Community Coordinator
Area Manager | SE & N Queensland, Australia
Join me and other Australian editors on the Australian Discord Server
Hello,
In old time , Street to River show me the way to create some script for Waze.
Perhaps, it's time to me to help
In the new version of WME, create landmark have change (perhaps due to place)
I have found a workaround for the add landmark problem.
In the old manner, we do this
//var landmark = new Waze.Feature.Vector.Landmark(polygon,{categories:typeLandmak, name: nameLandmak});
In new WME, this manner work for me
I pretty sure it will work for StreetToRiver
In old time , Street to River show me the way to create some script for Waze.
Perhaps, it's time to me to help
In the new version of WME, create landmark have change (perhaps due to place)
I have found a workaround for the add landmark problem.
In the old manner, we do this
//var landmark = new Waze.Feature.Vector.Landmark(polygon,{categories:typeLandmak, name: nameLandmak});
In new WME, this manner work for me
Code: Select all
var landmark = new WazeFeatureVectorLandmark() ;
landmark.geometry = polygon;
landmark.attributes.name = nameLandmak;
landmark.attributes.categories = typeLandmak;
Waze Global Champs - Country Manager France - Area Manager Touraine
2M edits - 5000UR - Iphone 6- Waze 4.0.1.1
Scripts :WME Select Same Type Roads | WME Check Road Name | PM
2M edits - 5000UR - Iphone 6- Waze 4.0.1.1
Scripts :WME Select Same Type Roads | WME Check Road Name | PM
To be clear:EduardoCarvajal wrote: Thanks... You put me on the right direction!!!
- I learnt to draw landmark with the first version of Street to river
- I learnt to use the require function with Street to River Plus
It's just a little feedback.
Waze Global Champs - Country Manager France - Area Manager Touraine
2M edits - 5000UR - Iphone 6- Waze 4.0.1.1
Scripts :WME Select Same Type Roads | WME Check Road Name | PM
2M edits - 5000UR - Iphone 6- Waze 4.0.1.1
Scripts :WME Select Same Type Roads | WME Check Road Name | PM
Hello EduardoCarvajal
I have a similar script to create lansdmark and I have the same problem.
I pretty sure that problem is linked to the change about Openlayer explain here
I found a solution for my script
I replace the line :
var landmark = new WazeFeatureVectorLandmark();
by :
var ldk = {};
ldk.geoJSONGeometry = W.userscripts.toGeoJSONGeometry (polygon);
var landmark = new WazeFeatureVectorLandmark(ldk);
The W.userscripts.toGeoJSONGeometry create the new geometry object
All seems correct for me.
I think it will do the same for "Street to River Plus"
Perhaps, it a first step to a big change if openLayer disappers
I have a similar script to create lansdmark and I have the same problem.
I pretty sure that problem is linked to the change about Openlayer explain here
I found a solution for my script
I replace the line :
var landmark = new WazeFeatureVectorLandmark();
by :
var ldk = {};
ldk.geoJSONGeometry = W.userscripts.toGeoJSONGeometry (polygon);
var landmark = new WazeFeatureVectorLandmark(ldk);
The W.userscripts.toGeoJSONGeometry create the new geometry object
All seems correct for me.
I think it will do the same for "Street to River Plus"
Perhaps, it a first step to a big change if openLayer disappers
Waze Global Champs - Country Manager France - Area Manager Touraine
2M edits - 5000UR - Iphone 6- Waze 4.0.1.1
Scripts :WME Select Same Type Roads | WME Check Road Name | PM
2M edits - 5000UR - Iphone 6- Waze 4.0.1.1
Scripts :WME Select Same Type Roads | WME Check Road Name | PM
Is there any way, how to merge existing rivers?
Hi, two days ago started with an error too upon clicking the button. Message is ”No unsaved and selected new street found!” Thank you.
jangliss wrote:On line 172 in the script, it is looking for the state to be "Insert", it should be "INSERT". Just installed it, and on line 172 I have:
Change it to:Code: Select all
if (sel.type == "segment" && sel.state == "Insert") {
Refresh WME, and you should be good to go.Code: Select all
if (sel.type == "segment" && sel.state == "INSERT") {
Thanks
https://wazeopedia.waze.com/wiki/Common ... wazehn.png https://wazeopedia.waze.com/wiki/Common ... editor.jpg
jangliss wrote:On line 172 in the script, it is looking for the state to be "Insert", it should be "INSERT". Just installed it, and on line 172 I have:
Change it to:Code: Select all
if (sel.type == "segment" && sel.state == "Insert") {
Refresh WME, and you should be good to go.Code: Select all
if (sel.type == "segment" && sel.state == "INSERT") {
Thanks
https://wazeopedia.waze.com/wiki/Common ... wazehn.png https://wazeopedia.waze.com/wiki/Common ... editor.jpg
Re: [Script] Street to River Plus