How do I do this Google map in the app? [SOLVED]

Get help using Construct 2

Post » Wed May 24, 2017 12:49 pm

With this plugin http://c2rexplugins.weebly.com/rex_googlemap_api.html
Can I create this google map in the app?
Image
If yes how?
B
20
S
10
G
10
Posts: 143
Reputation: 7,096

Post » Wed May 24, 2017 7:26 pm

Yes, that is possible.

  1. First of all, get your Google Maps API key here, put that API key in the Google Map API plugin properties.
  2. Add the Google Map plugin, set the settings to your liking.
  3. In your event sheet, add an event GoogleMapAPI: On loaded.
    Under that, put the action GoogleMap: Set center [latitude],[longitude].
Your basic map is set.

Now, if you want to set a marker or info window as well, add this or this plugin, create at least one instance and use the action Put on map to place the marker.
"We can't solve problems by using the same kind of thinking we used when we created them."
- Albert Einstein
B
27
S
11
G
8
Posts: 528
Reputation: 7,091


Return to How do I....?

Who is online

Users browsing this forum: Yahoo [Bot] and 9 guests