Display google maps in my project?

Get help using Construct 3!

Post » Mon Oct 09, 2017 7:52 am

Hello everyone,

I'm new here, and I'm trying to understand how everything work.
I'm wondering how I could display google maps in my project, and allow user to interact with it. I'm familiar with the google maps api, so that part won't be a problem.
I've searched everywhere, all I could find was old plugins for Construct 2 that you can't even download anymore.
What I would need would be to be able to load google maps in an iframe, and be able to place the current position on the map using the lat and long vars that I have.
Then how would it be possible to get the updated url (that includes the updated information) if the user changed the landmark?

I just need directions, if anyone have a clue, it would be much appreciated.

PS: I'd rather not use a plugin (don't even know if you can use plugin with construct 3), I'd like to do everything myself if possible.
B
1
Posts: 2
Reputation: 129

Post » Tue Oct 10, 2017 3:49 pm

Anyone ? Am I asking for something impossible ? Could anyone tell me at least if I'm wrong thinking it's even possible with construct 3 ?

And sorry if my english is not that good.
B
1
Posts: 2
Reputation: 129

Post » Thu Oct 12, 2017 5:14 pm

@bobibrown You can use the browser plugin. With Execute JavaScript action you can add a div for the map and set the coords.

I have not tested with Google map but with Open Street map and Michelin it works.

https://www.scirra.com/forum/simple-offline-map-viewer-work-in-progress-win-amp-linux_t196487
B
22
S
9
G
13
Posts: 142
Reputation: 8,813


Return to How do I...?

Who is online

Users browsing this forum: No registered users and 0 guests