Is it possible to add more event listener in function.js?
Or, looking in driver.js, the event to listen is limited to ‘message’ ?
I didn’t succeed by trying, I assume it is not possible for security/integrity reasons or other reasons I can’t imagine now.
If someone confirms to me that it cannot be done, I will not waste any more time on this topic.
Thanks!
I have had a dev guy build a service for me in Google PubSub (took him a couple of days to get his head round things). I will implement is across my app this week
As far as I have seen, you are an ace at javascript, so if it were possible to inject some more code
you know that countless things could be done, limited only by imagination.
Se we can make a Super Invader of course!
Jokes aside. For example, if it were possible to handle mouse events, I believe that a further very interesting level of interactivity could be achieved in Glide.
Thanks, I’ll definitely check it out because it’s very interesting.
However, I was currently only researching the javascript capabilities of the experimental code column.
Yes, I have it applied. But that integration detects coordinates when one autocompletes a written address. What I am looking to know is if it is possible with the new Experimental Code to interact with the map and obtain the address of a specific point, without having to write anything.
Hi @ThinhDinh . I currently have an app that works exactly that way. But the point of departure and arrival is written in a text entry or I use the current location of the user and show the route on an embedded map of google maps, distance etc.
What I am looking for right now is to be able to show a Google Maps map embedded in Glide and that the pointer is manipulable, so when the user selects a point on the map to be able to take that coordinate. So the user can select the starting and ending point faster without typing.
This is how a transport app like Uber works. I do not know if I explained well.
If so, do you think that with the new Experimental Code it is possible?
As far as I know there is no outsourced service in Google Maps that allows you to detect the coordinates with a click of the mouse.
I mean “outsourced”, in the sense that you can recover that data with javascript.
If it existed then there would be the problem of injecting the right javascript code to do it in Glide and interacting outside the embedded object in the page.
I see it very hard …