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.
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
Hello Google Cloud Pubsub
Just by curiosity,
what type do you want to add a “window.addEventListener”
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.
Uhmmm not an ace!
I think it’s possible to callback events (like mouse) but the YC column doesn’t update automatically (well for now!), So you won’t get the result.
But normally mouse events are more associated with a DOM element rather than Windows.
I love this game, I spent hours playing instead of going to class
But before you can do it under Glide, uhmm it’s more of a dream.
It’s all @Uzo 's guilt! because in one of his posts I read that he wanted to retrieve the coordinates of the mouse.
I agree @Manu.n
Thanks, I’ll definitely check it out because it’s very interesting.
Fantastic woow. Is there a way to place a map of google maps and that the pointer can be moved and where to take that direction?
Something like how applications like Uber work.
Hello @Francisco_Maldonado here is already an integration of a Google Map in glide.
To be clear, the game has no connection with a YC column. It’s just for fun.
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.
Not to my knowledge, sorry.
Quiet, thank you very much, I understand.
I have done something close to that in a recent app. I hope I will have time to do a how-to post this weekend.
I had inputs as starting point and ending point, then I can show the journey of the user in Map view/Street view. Is that what you want?
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 see it very hard …