Get Direction not works and fire a JS error.

More
05 Jan 2017 14:24 #3602 by Daniel
Not at all, It is pleasure to assist our customers to let them use our products as per their needs :)

Can you please do us a favour by leaving a full score review on JED? It would be highly appreciable. Here is the link:

extensions.joomla.org/extensions/extensi...beverage/vrestaurant

Thanks
Daniel

Please Log in to join the conversation.

  • Quantility s.r.l.
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
05 Jan 2017 14:18 #3601 by Quantility s.r.l.
Replied by Quantility s.r.l. on topic Get Direction not works and fire a JS error.
:woohoo: it works!

Hope i wasn't too much annoying :)

Thank you Daniel

Please Log in to join the conversation.

More
05 Jan 2017 14:13 #3600 by Daniel
Hello,
Please check now.

Thanks
Daniel

Please Log in to join the conversation.

  • Quantility s.r.l.
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
05 Jan 2017 09:02 #3597 by Quantility s.r.l.
Replied by Quantility s.r.l. on topic Get Direction not works and fire a JS error.
Thank you Daniel. The button works and it does something.

I have some location and i receive a "Unable to find route".

I think the system can't find my actual position, the marker appear but it can't get the "near" street.

Please Log in to join the conversation.

More
05 Jan 2017 07:30 #3596 by Daniel
Hello,
There was some javascript conflict which has now been resolved, but as you know Google has now disabled directions on non ssl servers. Though It's still working on Firefox.

Thanks
Daniel

Please Log in to join the conversation.

  • Quantility s.r.l.
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
04 Jan 2017 17:45 #3594 by Quantility s.r.l.
Replied by Quantility s.r.l. on topic Get Direction not works and fire a JS error.
I have solved for the map inside a restaurant page. But the "get direction" function on google maps module is not working at all. I have read the mail, i don't read a solution.

For me, when i click to Get Directions, i think i could see something like this developers.google.com/maps/documentation...uide#directions_mode

Please Log in to join the conversation.

  • Quantility s.r.l.
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
30 Dec 2016 11:25 #3578 by Quantility s.r.l.
Replied by Quantility s.r.l. on topic Get Direction not works and fire a JS error.
Thank, but Get Direction is not working, "a" button contain a javascript:void(0).

Now I see some new JS errors in console and when i open Restaurant list and restaurant pages.

Map inside restaurant pages is working random: here goo.gl/gFM5WG works well, instead here goo.gl/hMT7St is not working (tab "trova indirizzo").

Please Log in to join the conversation.

More
30 Dec 2016 10:55 #3576 by Daniel
Hello,
Replied to your email, Please check....

Thanks
Daniel

Please Log in to join the conversation.

  • Quantility s.r.l.
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
29 Dec 2016 14:08 #3575 by Quantility s.r.l.
Replied by Quantility s.r.l. on topic Get Direction not works and fire a JS error.
I have send a mail to you.

But same problem is in your demo!
www.demo.wdmtech.com/restaurants-map-layout

Get Direction is not working...

Please Log in to join the conversation.

More
29 Dec 2016 12:57 #3574 by Daniel
Please share your backend & FTP login credentials via Contact us form, We'll look into it.

Thanks
Daniel

Please Log in to join the conversation.

  • Quantility s.r.l.
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
28 Dec 2016 14:45 #3567 by Quantility s.r.l.
Replied by Quantility s.r.l. on topic Get Direction not works and fire a JS error.
I have tried to comment these rows. I receive this console warning:
"getCurrentPosition() and watchPosition() no longer work on insecure origins. To use this feature, you should consider switching your application to a secure origin, such as HTTPS. See goo.gl/rStTGz for more details."
Maybe we need an HTTPS site to have this function working?

Please Log in to join the conversation.

  • Quantility s.r.l.
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
28 Dec 2016 14:41 #3566 by Quantility s.r.l.
Get Direction not works and fire a JS error. was created by Quantility s.r.l.
The Get Direction function is not working. When i click on this link, i don't see nothing, but Google Chrome console show me this error:
"Uncaught ReferenceError: handleNoGeolocation is not defined"

The row is:
Code:
.... directionsService.route(request, function(result, status) { if (status == google.maps.DirectionsStatus.OK) { directionsDisplay.setDirections(result); // ERROR! document.getElementById('directions-panel').style.overflow="auto"; document.getElementById('map_dir').style.display="block"; } else { console.log("Unable to retrieve your route<br />"); } }); var myinfowindow = new google.maps.InfoWindow({ ....

I have check some of the code of module, i don't see any "handleNoGeolocation" function declared inside the code: is it normal?

I see that "handleNoGeolocation" is called in modules/mod_vrestaurant_restaurant_map/tmpl/default.php at rows 196 and 202.

Thank you!


Simone

Please Log in to join the conversation.

Cron Job Starts