Open URL problem with comma
Posted: 04 Aug 2014 04:41
http://maps.google.com/maps?f=d&hl=se&s ... lobal_dest}
Hi, I have a flow where I get a request response from Google maps with the driving distance between two location variables (places format lat long ).I also want to be able to show the last driven route on Google maps automatically . I cannot use apps with driving journals since even if I have GPS on it will place our home on another road that 400 m drive to even if it's just 10 meters away flight distance. So I have a work around for that.
I haven't been able to figure out what to write as Uri when trying to use start activity ; Google maps app ;class driveabout.
So I tried by using Open URL in browser instead.
This is the address I have put in (see above, it will not paste down here). This would work, if it was not for the dots in the global variables turning into commas in maps. (if I change the commas to dots, the route is shown. I have tried to make the location into a string to keep the dots in place. When trying creatively
by scripting startstring ="{global_origin} " the URL returns null in the field" from" in maps. When making another global Variable pointing /putting global_origin in it but making sure it is a string in Manage global variables to be able to keep the format, The dots will still turn into commas in the latt long address in maps (three commas, instead of one). I cannot use the replace function, since they are correct until shown in maps. I understand that it has to do with the United. States using the dot as we use comma, but I don't know how to handle it. Hope Martin or someone else can help me.
Edit I couldn't find a function toString as there is one toNumber
Hi, I have a flow where I get a request response from Google maps with the driving distance between two location variables (places format lat long ).I also want to be able to show the last driven route on Google maps automatically . I cannot use apps with driving journals since even if I have GPS on it will place our home on another road that 400 m drive to even if it's just 10 meters away flight distance. So I have a work around for that.
I haven't been able to figure out what to write as Uri when trying to use start activity ; Google maps app ;class driveabout.
So I tried by using Open URL in browser instead.
This is the address I have put in (see above, it will not paste down here). This would work, if it was not for the dots in the global variables turning into commas in maps. (if I change the commas to dots, the route is shown. I have tried to make the location into a string to keep the dots in place. When trying creatively

Edit I couldn't find a function toString as there is one toNumber