How-to Create a Google Map
Introduction
How to set up google map that interacts with the data in your application:
Step 1 - Google API key
- You will require a Google API Key that is associated with your PhixFlow Server. To create this see: Create a Google Map API Key
Step 2 - Add a Map Tile
- From the Serene Grey palette, either
- For a map embedded in a tile: expand the Tiles section and drag Map on to your screen
- For a map only: expand the Map section and drag Map onto the screen
- Click on the map to open its properties
- Update the URL statement to:
- "https://www.google.com/maps/embed/v1/place?key=<<ENTER KEY HERE>>&q="+_form.Postcode
- Change, <<Enter Key Here>> to be your Google API Key
- Change,
_form.Postcode
to be the field you want to use to set your map's location- Example
"https://www.google.com/maps/embed/v1/place?key=qwerSyCDViINLcfabc5EQ4kHoyE9XOlWQSOdo&q="+_form.Postcode
- Save all your changes
- To view the map lock the screen or switch to app mode