ivosturm / GoogleMapsRoutePlanner

A simple route planner using the Directions and Distance Matrix API from Google
0 stars 0 forks source link

Can't appear From Address and To Address and the screen retrieve null value #1

Open Fuad-Odeh opened 5 years ago

Fuad-Odeh commented 5 years ago

Dears,

Kindly note that after apply all steps in documentation i found the module couldn't work correctly and it's not retrieve the value from entity like Address from and Address to .

2019-02-26_13-14-11 2019-02-26_13-15-18 2019-02-26_13-15-33

ivosturm commented 5 years ago

Hi Fuad,

I tried in Mendix 7.23.1 and everything seems to work as expected. Please check my example and let me know if it helps:

I have a page with a Data Source Microflow:

[cid:image001.png@01D4D27F.970F0310]

This Data Source Microflow creates a Route object: [cid:image003.png@01D4D27F.970F0310] That is fed to the widget like: [cid:image004.png@01D4D27F.970F0310] Since the XPath Constraint is empty, it will retrieve the object from the DataView it is in.

The result: [cid:image005.png@01D4D27F.970F0310] The button ‘Determine Route’ actually just refreshes the page, so the newly selected address + travel mode are picked up by the widget again. See what happens when I change to Public Transport and press ‘Determine Route’ (be aware that Public Transport mode can’t be used with waypoints):

[cid:image006.png@01D4D27F.970F0310]

Kind regards,

[https://ci4.googleusercontent.com/proxy/b6H2Qrm1JGcc6CgLaih3t9NeNtXchgVOsB-5-Y24ENWc19rh-Whj_ljTb80IRk3W3FCcRruxxezsaCPBZSymHJcCTsl9HEma7c7RRo3DgH3Gn6W9ybQ67A=s0-d-e1-ft#http://www.firstconsulting.nl/first_signature_2014_mt100_first.jpg]http://www.firstconsulting.nl/ [http://www.firstconsulting.nl/first_signature_2015_youtube.png] https://www.firstconsulting.nl/first_signature_youtube.php Ivo Sturm +31 6 41075552 ivo.sturm@firstconsulting.nlmailto:ivo.sturm@firstconsulting.nl

Van: Fuad-Odeh notifications@github.com Verzonden: dinsdag 26 februari 2019 12:18 Aan: ivosturm/GoogleMapsRoutePlanner GoogleMapsRoutePlanner@noreply.github.com CC: Subscribed subscribed@noreply.github.com Onderwerp: [ivosturm/GoogleMapsRoutePlanner] Can't appear From Address and To Address and the screen retrieve null value (#1)

Dears,

Kindly note that after apply all steps in documentation i found the module couldn't work correctly and it's not retrieve the value from entity like Address from and Address to .

[2019-02-26_13-14-11]https://user-images.githubusercontent.com/48015752/53409095-cbfb5780-39c8-11e9-98b4-4fa333db6aae.png [2019-02-26_13-15-18]https://user-images.githubusercontent.com/48015752/53409137-e5040880-39c8-11e9-973c-c51fc892b1bd.png [2019-02-26_13-15-33]https://user-images.githubusercontent.com/48015752/53409144-e9302600-39c8-11e9-948d-fc80d567bede.png

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/ivosturm/GoogleMapsRoutePlanner/issues/1, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ANZk2hvSsYhlroFnLHM2LPApINfxKUr9ks5vRRflgaJpZM4bR8Mw.